aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-12-14 02:36:53 +0100
committerAlexander Couzens <lynxis@fe80.eu>2021-01-01 22:46:57 +0100
commitc0d02cc16341198ac8c3b4813f1403a856ac047e (patch)
treebb1326239a87221d86582472a39b98521fa564b6 /tests/gb
parentf73753543266917e1b96e81d65ebedc5e9d8792f (diff)
utils: add osmo-ns-dummy
A dummy client to do integration tests of the ns2 layer. It drop all unit data. But allows vty tests. Change-Id: I127c178426bc1a3da8de251740eda93853030d6d
Diffstat (limited to 'tests/gb')
-rw-r--r--tests/gb/gprs_ns2_vty.vty33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/gb/gprs_ns2_vty.vty b/tests/gb/gprs_ns2_vty.vty
new file mode 100644
index 00000000..397ec26d
--- /dev/null
+++ b/tests/gb/gprs_ns2_vty.vty
@@ -0,0 +1,33 @@
+OsmoNSdummy> list
+...
+ show ns binds [stats]
+ show ns entities [stats]
+ show ns persistent
+ show ns (nsei|nsvc) <0-65535> [stats]
+...
+ logging filter nse nsei <0-65535>
+ logging filter nsvc nsvci <0-65535>
+...
+OsmoNSdummy> enable
+OsmoNSdummy# configure terminal
+OsmoNSdummy(config)# list
+...
+ ns
+...
+OsmoNSdummy(config)# ns
+OsmoNSdummy(config-ns)# list
+...
+ timer (tns-block|tns-block-retries|tns-reset|tns-reset-retries|tns-test|tns-alive|tns-alive-retries|tsns-prov|tsns-size-retries|tsns-config-retries) <0-65535>
+ nse <0-65535>
+ no nse <0-65535>
+ bind (fr|udp) ID
+ no bind ID
+...
+OsmoNSdummy(config-ns)# bind udp abc
+OsmoNSdummy(config-ns-bind)# fr eta0 frnet
+fr can be only used with frame relay bind
+OsmoNSdummy(config-ns-bind)# listen 127.0.0.14 42999
+OsmoNSdummy(config-ns-bind)# end
+OsmoNSdummy# show ns
+UDP bind: 127.0.0.14:42999 DSCP: 0
+ 0 NS-VC: