From c0d02cc16341198ac8c3b4813f1403a856ac047e Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 14 Dec 2020 02:36:53 +0100 Subject: 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 --- tests/gb/gprs_ns2_vty.vty | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/gb/gprs_ns2_vty.vty (limited to 'tests/gb') 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: -- cgit v1.2.3