* 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
diff --git a/src/vty_interface.c b/src/vty_interface.c
index 34743be..e08a5e2 100644
--- a/src/vty_interface.c
+++ b/src/vty_interface.c
@@ -87,10 +87,19 @@
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 @@
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 */
}