aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-10-30 17:25:18 +0700
committerlaforge <laforge@osmocom.org>2020-11-02 09:47:14 +0000
commitc6f38a40bcec9636816c5717fae4994aea9f7ff8 (patch)
treed9d2682fb780f02a6a0d5c7a09ffd95d8cf83da5 /src
parenteca6a57692cc8d9a7e5995ec0d8c7e3a71f1d1bb (diff)
vty: add reminder messages about the radio link timeout
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/bsc_vty.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index e91e01cc7..c3d6658c9 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -5445,6 +5445,12 @@ DEFUN_HIDDEN(lchan_act_bts, lchan_act_all_cmd,
}
}
+ vty_out(vty, "%% All channels have been %s on all BTS/TRX, please "
+ "make sure that the radio link timeout is set to %s%s",
+ activate ? "activated" : "deactivated",
+ activate ? "'infinite'" : "its old value (e.g. 'oml')",
+ VTY_NEWLINE);
+
return CMD_SUCCESS;
}
@@ -5479,6 +5485,12 @@ DEFUN_HIDDEN(lchan_act_all_bts, lchan_act_all_bts_cmd,
lchan_act_trx(vty, trx, activate);
}
+ vty_out(vty, "%% All channels have been %s on all TRX of BTS%d, please "
+ "make sure that the radio link timeout is set to %s%s",
+ activate ? "activated" : "deactivated", bts_nr,
+ activate ? "'infinite'" : "its old value (e.g. 'oml')",
+ VTY_NEWLINE);
+
return CMD_SUCCESS;
}
@@ -5517,6 +5529,12 @@ DEFUN_HIDDEN(lchan_act_all_trx, lchan_act_all_trx_cmd,
lchan_act_trx(vty, trx, activate);
+ vty_out(vty, "%% All channels have been %s on BTS%d/TRX%d, please "
+ "make sure that the radio link timeout is set to %s%s",
+ activate ? "activated" : "deactivated", bts_nr, trx_nr,
+ activate ? "'infinite'" : "its old value (e.g. 'oml')",
+ VTY_NEWLINE);
+
return CMD_SUCCESS;
}