aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-10-10 19:01:00 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-10-15 05:39:09 +0200
commit88660605cba8d631631e4fd93de38df201024ad6 (patch)
treeb5eabe089d9dbc3ddf313493aad912abf9e1e2f9
parent3779494d4bcdd9ff93e42d72e83a0159d6e4e87b (diff)
add smlc.vty test
-rw-r--r--tests/smlc.vty73
1 files changed, 73 insertions, 0 deletions
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
+...