From 88660605cba8d631631e4fd93de38df201024ad6 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 10 Oct 2020 19:01:00 +0200 Subject: add smlc.vty test Change-Id: Icebc668205157758f693d0b6d026531a5d21192e --- tests/smlc.vty | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 tests/smlc.vty diff --git a/tests/smlc.vty b/tests/smlc.vty new file mode 100644 index 000000000..559728985 --- /dev/null +++ b/tests/smlc.vty @@ -0,0 +1,73 @@ +OsmoBSC> enable +OsmoBSC# configure terminal +OsmoBSC(config)# smlc +OsmoBSC(config-smlc)# list +... + enable + no enable + bsc-addr NAME + smlc-addr NAME + +OsmoBSC(config-smlc)# enable? + enable Start up Lb interface connection to the remote SMLC + +OsmoBSC(config-smlc)# no? + no Negate a command or set its defaults +OsmoBSC(config-smlc)# no ? + enable Stop Lb interface connection to the remote SMLC + +OsmoBSC(config-smlc)# bsc-addr? + bsc-addr Local SCCP address of this BSC towards the SMLC +OsmoBSC(config-smlc)# bsc-addr ? + NAME Name of cs7 addressbook entry + +OsmoBSC(config-smlc)# smlc-addr? + smlc-addr Remote SCCP address of the SMLC +OsmoBSC(config-smlc)# smlc-addr ? + NAME Name of cs7 addressbook entry + +OsmoBSC(config-smlc)# show running-config +... !smlc + +OsmoBSC(config-smlc)# enable +OsmoBSC(config-smlc)# show running-config +... +smlc + enable +... + +OsmoBSC(config-smlc)# no enable +OsmoBSC(config-smlc)# show running-config +... !smlc + +OsmoBSC(config-smlc)# exit +OsmoBSC(config)# cs7 instance 0 +OsmoBSC(config-cs7)# sccp-addr test-addr +OsmoBSC(config-cs7-sccpaddr)# point-code 1.23.4 +OsmoBSC(config-cs7-sccpaddr)# exit +OsmoBSC(config-cs7)# sccp-addr test-addr2 +OsmoBSC(config-cs7-sccpaddr)# point-code 1.23.5 +OsmoBSC(config-cs7-sccpaddr)# exit +OsmoBSC(config-cs7)# exit +OsmoBSC(config)# smlc + +OsmoBSC(config-smlc)# bsc-addr nonsense +Error: No such SCCP addressbook entry: 'nonsense' +% Command incomplete. +OsmoBSC(config-smlc)# show running-config +... !smlc + +OsmoBSC(config-smlc)# bsc-addr test-addr +OsmoBSC(config-smlc)# show running-config +... +smlc + bsc-addr test-addr +... + +OsmoBSC(config-smlc)# smlc-addr test-addr2 +OsmoBSC(config-smlc)# show running-config +... +smlc + bsc-addr test-addr + smlc-addr test-addr2 +... -- cgit v1.2.3