fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-bsc/+/32171 )
Change subject: tests: add more tests for GPRS NSVC parameters
......................................................................
tests: add more tests for GPRS NSVC parameters
Change-Id: I13d6ac887ddb1c9bc5d1e4122f20405a28f135d4
Related: OS#5979
---
M tests/gprs_params.vty
1 file changed, 66 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/71/32171/1
diff --git a/tests/gprs_params.vty b/tests/gprs_params.vty
index 3edc540..048420b 100644
--- a/tests/gprs_params.vty
+++ b/tests/gprs_params.vty
@@ -46,3 +46,59 @@
gprs nsvc 1 nsvci 0
gprs nsvc 1 local udp port 23101
...
+
+
+OsmoBSC(config-net-bts)# ### NSVC sub-command syntax
+OsmoBSC(config-net-bts)# gprs nsvc?
+ nsvc Network Service Virtual Connection (NS-VC)
+OsmoBSC(config-net-bts)# gprs nsvc ?
+ <0-1> NSVC Logical Number
+OsmoBSC(config-net-bts)# gprs nsvc 0 ?
+ nsvci NS Virtual Connection Identifier
+ local GPRS NS Local UDP Port
+ remote GPRS NS Remote UDP Port
+OsmoBSC(config-net-bts)# gprs nsvc 0 nsvci ?
+ <0-65535> GPRS NS VC Identifier
+OsmoBSC(config-net-bts)# gprs nsvc 0 local ?
+ udp GPRS NS Local UDP Port
+OsmoBSC(config-net-bts)# gprs nsvc 0 local udp ?
+ port GPRS NS Local UDP Port
+OsmoBSC(config-net-bts)# gprs nsvc 0 local udp port ?
+ <0-65535> GPRS NS Local UDP Port Number
+OsmoBSC(config-net-bts)# gprs nsvc 0 remote ?
+ udp GPRS NS Remote UDP Port
+ ip GPRS NS Remote IP Address
+OsmoBSC(config-net-bts)# gprs nsvc 0 remote udp ?
+ port GPRS NS Remote UDP Port
+OsmoBSC(config-net-bts)# gprs nsvc 0 remote udp port ?
+ <0-65535> GPRS NS Remote UDP Port Number
+OsmoBSC(config-net-bts)# gprs nsvc 0 remote ip ?
+ A.B.C.D GPRS NS Remote IPv4 Address
+ X:X::X:X GPRS NS Remote IPv6 Address
+
+OsmoBSC(config-net-bts)# ### NSVC sub-command params
+OsmoBSC(config-net-bts)# gprs nsvc 0 nsvci 4242
+OsmoBSC(config-net-bts)# gprs nsvc 1 nsvci 2424
+OsmoBSC(config-net-bts)# show running-config
+...
+ bts 0
+...
+ gprs nsvc 0 nsvci 4242
+ gprs nsvc 0 local udp port 23100
+ gprs nsvc 1 nsvci 2424
+ gprs nsvc 1 local udp port 23101
+...
+OsmoBSC(config-net-bts)# gprs nsvc 1 local udp port 23023
+OsmoBSC(config-net-bts)# gprs nsvc 1 remote udp port 23032
+OsmoBSC(config-net-bts)# gprs nsvc 1 remote ip 1.2.3.4
+OsmoBSC(config-net-bts)# show running-config
+...
+ bts 0
+...
+ gprs nsvc 0 nsvci 4242
+ gprs nsvc 0 local udp port 23100
+ gprs nsvc 1 nsvci 2424
+ gprs nsvc 1 local udp port 23023
+ gprs nsvc 1 remote ip 1.2.3.4
+ gprs nsvc 1 remote udp port 23032
+...
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/32171
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I13d6ac887ddb1c9bc5d1e4122f20405a28f135d4
Gerrit-Change-Number: 32171
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange