vty: show mscs: add BSSMAP state
New output: OsmoBSC> show mscs MSC 0: RI=SSN_PC,PC=0.23.3,SSN=BSSAP <-> RI=SSN_PC,PC=0.23.1,SSN=BSSAP ASP protocol: m3ua BSSMAP state: CONNECTED Closes: OS#6741 Change-Id: I23ddba7d935e5cc5dae041458207c674ccb9d013
This commit is contained in:
parent
fb23879651
commit
dea9921e28
|
@ -3259,6 +3259,10 @@ DEFUN(show_mscs,
|
|||
vty_out(vty, " ASP protocol: %s%s",
|
||||
osmo_ss7_asp_protocol_name(msc->a.asp_proto),
|
||||
VTY_NEWLINE);
|
||||
vty_out(vty, " BSSMAP state: %s%s",
|
||||
msc->a.bssmap_reset ? osmo_fsm_inst_state_name(msc->a.bssmap_reset->fi) : "",
|
||||
VTY_NEWLINE);
|
||||
|
||||
}
|
||||
|
||||
return CMD_SUCCESS;
|
||||
|
|
|
@ -198,7 +198,7 @@ static int bssmap_reset_fsm_timer_cb(struct osmo_fsm_inst *fi)
|
|||
|
||||
static struct osmo_fsm_state bssmap_reset_fsm_states[] = {
|
||||
[BSSMAP_RESET_ST_DISC] = {
|
||||
.name = "DISC",
|
||||
.name = "DISCONNECTED",
|
||||
.in_event_mask = 0
|
||||
| S(BSSMAP_RESET_EV_RX_RESET)
|
||||
| S(BSSMAP_RESET_EV_RX_RESET_ACK)
|
||||
|
@ -213,7 +213,7 @@ static struct osmo_fsm_state bssmap_reset_fsm_states[] = {
|
|||
.action = bssmap_reset_disc_action,
|
||||
},
|
||||
[BSSMAP_RESET_ST_CONN] = {
|
||||
.name = "CONN",
|
||||
.name = "CONNECTED",
|
||||
.in_event_mask = 0
|
||||
| S(BSSMAP_RESET_EV_RX_RESET)
|
||||
| S(BSSMAP_RESET_EV_RX_RESET_ACK)
|
||||
|
|
Loading…
Reference in New Issue