Project

General

Profile

Actions

Feature #3145

closed

osmo-bsc vty "show bts" doesn't show IP addr of BTS

Added by pespin almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
04/06/2018
Due date:
% Done:

100%

Spec Reference:

Description

I was expecting "show bts" in osmo-bsc to tell me the remote IP of the BTS, but it seems it doesn't.

It's handy if you want to quickly know which IP a BTS is using, then ssh into it.

If the BTS doesn't use ip.access but E1, we probably want to show other information.

Actions #1

Updated by laforge over 5 years ago

  • Assignee changed from pespin to osmith
  • Priority changed from Normal to High
please note that there must be
  • one IP address for the OML connection per BTS
  • one IP address for the RSL connection per TRX

both should be shown, but of course only for IP based BTSs

Actions #2

Updated by osmith over 5 years ago

  • Status changed from New to In Progress
Actions #3

Updated by osmith over 5 years ago

  • % Done changed from 0 to 90
Actions #4

Updated by osmith over 5 years ago

If the BTS doesn't use ip.access but E1, we probably want to show other information.

"show bts" and "show trx" already output additional E1 information in case the BTS is not connected via ipaccess. From bts_dump_vty():

...
    if (is_ipaccess_bts(bts)) {
        vty_out(vty, "  OML Link state: %s", get_model_oml_status(bts));
        sec = bts_uptime(bts);
        if (sec)
            vty_out(vty, " %llu days %llu hours %llu min. %llu sec.",
                OSMO_SEC2DAY(sec), OSMO_SEC2HRS(sec), OSMO_SEC2MIN(sec), sec % 60);
        vty_out(vty, "%s", VTY_NEWLINE);
        e1isl_dump_vty_tcp(vty, bts->oml_link); // new function from the patch
    } else {
        vty_out(vty, "  E1 Signalling Link:%s", VTY_NEWLINE);
        e1isl_dump_vty(vty, bts->oml_link);
    }
...
Actions #5

Updated by osmith over 5 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)