vty: Print the state of all GPRS OML objects in show bts
For debugging GB-proxy/IPA issues it is nice to see the state of the OML objects.
This commit is contained in:
parent
c75ed6d593
commit
846d8dca9f
|
@ -284,6 +284,14 @@ static void bts_dump_vty(struct vty *vty, struct gsm_bts *bts)
|
|||
net_dump_nmstate(vty, &bts->mo.nm_state);
|
||||
vty_out(vty, " Site Mgr NM State: ");
|
||||
net_dump_nmstate(vty, &bts->site_mgr.mo.nm_state);
|
||||
vty_out(vty, " GPRS NSE: ");
|
||||
net_dump_nmstate(vty, &bts->gprs.nse.mo.nm_state);
|
||||
vty_out(vty, " GPRS CELL: ");
|
||||
net_dump_nmstate(vty, &bts->gprs.cell.mo.nm_state);
|
||||
vty_out(vty, " GPRS NSVC0: ");
|
||||
net_dump_nmstate(vty, &bts->gprs.nsvc[0].mo.nm_state);
|
||||
vty_out(vty, " GPRS NSVC1: ");
|
||||
net_dump_nmstate(vty, &bts->gprs.nsvc[1].mo.nm_state);
|
||||
vty_out(vty, " Paging: %u pending requests, %u free slots%s",
|
||||
paging_pending_requests_nr(bts),
|
||||
bts->paging.available_slots, VTY_NEWLINE);
|
||||
|
|
Loading…
Reference in New Issue