From c6f38a40bcec9636816c5717fae4994aea9f7ff8 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 30 Oct 2020 17:25:18 +0700 Subject: vty: add reminder messages about the radio link timeout Change-Id: Ief3af40cab1a62a276f9976fe1a1ca7aa2e13720 Related: SYS#4910 --- src/osmo-bsc/bsc_vty.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3