From 86d09ec2663872664a348f987b87e4302c2aa22b Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sun, 15 Oct 2017 04:58:50 +0200 Subject: add test_nodes.vty Automatically picked up by the vty-test target, by file name extension. Change-Id: I8dba373cee1be954504f79c3305b0111071757e7 --- tests/Makefile.am | 1 + tests/test_nodes.vty | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 tests/test_nodes.vty 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 -- cgit v1.2.3