Change in osmo-bsc[master]: add smlc.vty test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Mon Oct 12 23:13:23 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/20631 )


Change subject: add smlc.vty test
......................................................................

add smlc.vty test

Change-Id: Icebc668205157758f693d0b6d026531a5d21192e
---
A tests/smlc.vty
1 file changed, 73 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/31/20631/1

diff --git a/tests/smlc.vty b/tests/smlc.vty
new file mode 100644
index 0000000..5597289
--- /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
+...

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/20631
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Icebc668205157758f693d0b6d026531a5d21192e
Gerrit-Change-Number: 20631
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/06f8937a/attachment.htm>


More information about the gerrit-log mailing list