diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-05-01 14:59:07 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-05-01 14:59:07 +0000 |
commit | edb377854282e0efe1acd5c6ad400bf7817efc8b (patch) | |
tree | 2023491043615f0cbf94dba64c43e22e59a44215 /src/vty_interface.c | |
parent | 4593ff3ace523272acd62e1ccac946b634438390 (diff) |
* Add support for multiple ip.access nanoBTS at one BSC
* keep track of site_id/bts_id in struct gsm_bts
* dynamically match incoming OML/RSL over TCP connections by BTS Unit ID
* introduce new debug category DINP (separate from DMI for hexdumps)
* remove ia_config() as it is no longer needed
*
* ensure that signalling links / E1 line information is correctly printed
* when bootstrapping RSL or OML, tell us for which BTS it is being doen
* separate bootstrap_bts() out from bootstrap_network()
* statically configure two ip.access BTS, one with unit id's 1800/0/0 and 1801/0/0
Diffstat (limited to 'src/vty_interface.c')
-rw-r--r-- | src/vty_interface.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/vty_interface.c b/src/vty_interface.c index 34743bea1..e08a5e2c0 100644 --- a/src/vty_interface.c +++ b/src/vty_interface.c @@ -87,10 +87,19 @@ DEFUN(show_net, show_net_cmd, "show network", static void e1isl_dump_vty(struct vty *vty, struct e1inp_sign_link *e1l) { - vty_out(vty, " E1 Line %u, Timeslot %u, Type %s%s", - e1l->ts->line->num, e1l->ts->num, + struct e1inp_line *line; + + if (!e1l) { + vty_out(vty, " None%s", VTY_NEWLINE); + return; + } + + line = e1l->ts->line; + + vty_out(vty, " E1 Line %u, Type %s: Timeslot %u, Mode %s%s", + line->num, line->driver->name, e1l->ts->num, e1inp_signtype_name(e1l->type), VTY_NEWLINE); - vty_out(vty, " E1 TEI %u, SAPI %u%s\n", + vty_out(vty, " E1 TEI %u, SAPI %u%s", e1l->tei, e1l->sapi, VTY_NEWLINE); } @@ -107,6 +116,10 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts) bts->paging.available_slots, VTY_NEWLINE); vty_out(vty, " E1 Signalling Link:%s", VTY_NEWLINE); e1isl_dump_vty(vty, bts->oml_link); + if (is_ipaccess_bts(bts)) + vty_out(vty, " Unit ID: %u/%u/0%s", + bts->ip_access.site_id, bts->ip_access.bts_id, + VTY_NEWLINE); /* FIXME: oml_link, chan_desc */ } |