summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-15 04:58:50 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-10-17 00:59:00 +0200
commit86d09ec2663872664a348f987b87e4302c2aa22b (patch)
tree993b2ca7c8721c9b9344e9e8f0d952e0247eff0a
parent183e7009afc8577f0d89c99f92a5720697040494 (diff)
add test_nodes.vty
Automatically picked up by the vty-test target, by file name extension. Change-Id: I8dba373cee1be954504f79c3305b0111071757e7
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test_nodes.vty117
2 files changed, 118 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8f1826d..cddea0b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,6 +26,7 @@ EXTRA_DIST = \
testsuite.at \
$(srcdir)/package.m4 \
$(TESTSUITE) \
+ test_nodes.vty \
test_subscriber.vty \
ctrl_test_runner.py \
$(NULL)
diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty
new file mode 100644
index 0000000..0de4ff4
--- /dev/null
+++ b/tests/test_nodes.vty
@@ -0,0 +1,117 @@
+OsmoHLR> list
+ show version
+ show online-help
+ list
+ exit
+ help
+ enable
+ terminal length <0-512>
+ terminal no length
+ who
+ show history
+ logging enable
+...
+ show logging vty
+ show alarms
+ subscriber (imsi|msisdn|id) IDENT show
+
+OsmoHLR> enable
+OsmoHLR# list
+ help
+ list
+ write terminal
+ write file
+ write memory
+ write
+ show running-config
+ exit
+ disable
+ configure terminal
+ copy running-config startup-config
+ show startup-config
+ show version
+ show online-help
+ terminal length <0-512>
+ terminal no length
+ who
+ show history
+ terminal monitor
+ terminal no monitor
+ logging enable
+...
+
+OsmoHLR# configure terminal
+OsmoHLR(config)# list
+ help
+ list
+ write terminal
+ write file
+ write memory
+ write
+ show running-config
+ exit
+ end
+...
+ hlr
+
+OsmoHLR(config)# hlr
+OsmoHLR(config-hlr)# list
+ help
+ list
+ write terminal
+ write file
+ write memory
+ write
+ show running-config
+ exit
+ end
+ gsup
+
+OsmoHLR(config-hlr)# gsup
+OsmoHLR(config-hlr-gsup)# list
+ help
+ list
+ write terminal
+ write file
+ write memory
+ write
+ show running-config
+ exit
+ end
+ bind ip A.B.C.D
+
+OsmoHLR(config-hlr-gsup)# exit
+OsmoHLR(config-hlr)# exit
+OsmoHLR(config)# exit
+OsmoHLR# configure terminal
+OsmoHLR(config)# hlr
+OsmoHLR(config-hlr)# gsup
+OsmoHLR(config-hlr-gsup)# end
+OsmoHLR# disable
+OsmoHLR> enable
+
+OsmoHLR# show running-config
+
+Current configuration:
+!
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging print extended-timestamp 1
+ logging level all debug
+ logging level main debug
+ logging level db debug
+ logging level auc debug
+...
+!
+line vty
+ no login
+!
+ctrl
+ bind 127.0.0.1
+hlr
+ gsup
+ bind ip 127.0.0.1
+end