From e2488eb2680c3e768dccc1616be83fe2d57f47d8 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 22 Jul 2021 01:32:19 +0200 Subject: vty: lchan deact: allow omitting the lchan type arg In the command bts <0-255> trx <0-255> timeslot <0-7> sub-slot <0-7> deactivate fr the final argument indicating the channel type does not make sense and is not actually used. Define a separate vty command for 'deactivate', so that it doesn't require arguments only used for 'activate'. Change-Id: Ibdeca3b1d75b9f6092f566544e9d5f4da67fffce --- tests/osmo-bsc.vty | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/osmo-bsc.vty b/tests/osmo-bsc.vty index 3bc27073a..7351056da 100644 --- a/tests/osmo-bsc.vty +++ b/tests/osmo-bsc.vty @@ -34,7 +34,8 @@ OsmoBSC# bts 0 trx 0 timeslot 0 sub-slot 0 modify vamos tsc 1 0 ? OsmoBSC# list ... - bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> (activate|activate-vamos|deactivate) (hr|fr|efr|amr|sig) [<0-7>] + bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> (activate|activate-vamos) (hr|fr|efr|amr|sig) [<0-7>] + bts <0-255> trx <0-255> timeslot <0-7> (sub-slot|vamos-sub-slot) <0-7> deactivate ... OsmoBSC# bts? -- cgit v1.2.3