tests: add more tests for GPRS NSVC parameters

Change-Id: I13d6ac887ddb1c9bc5d1e4122f20405a28f135d4
Related: OS#5979
This commit is contained in:
Vadim Yanitskiy 2023-03-31 08:06:52 +07:00 committed by laforge
parent ed5080adb3
commit a9b4849e49
1 changed files with 68 additions and 0 deletions

View File

@ -46,3 +46,71 @@ OsmoBSC(config-net-bts)# show running-config
gprs nsvc 1 nsvci 0
gprs nsvc 1 local udp port 0
...
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 0
gprs nsvc 1 nsvci 2424
gprs nsvc 1 local udp port 0
...
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 0
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
...
OsmoBSC(config-net-bts)# ### Disable secondary NSVC
OsmoBSC(config-net-bts)# gprs nsvc 1 remote udp port 0
OsmoBSC(config-net-bts)# show running-config
...
bts 0
...
gprs nsvc 0 nsvci 4242
gprs nsvc 0 local udp port 0
gprs nsvc 1 nsvci 2424
gprs nsvc 1 local udp port 23023
...