Feature #3145
closed
osmo-bsc vty "show bts" doesn't show IP addr of BTS
Added by pespin about 6 years ago.
Updated over 5 years ago.
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.
- 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
- Status changed from New to In Progress
- % Done changed from 0 to 90
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);
}
...
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Also available in: Atom
PDF