aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-03-21 16:18:17 +0100
committerlynxis lazus <lynxis@fe80.eu>2021-03-24 15:42:45 +0000
commit75b6188974728f1f66a65726e1eb481f0d691e7c (patch)
tree8d8e9a4f688eb5cfa41cad3ff789933b8d07dc7f /tests
parent6cf65d9d81d4c4d8863d06876b292679513d1fc8 (diff)
gprs_ns2: always use the same method to print NSVCs
The binds also print a list of associated NSVC when dumping the bind. However the binds using their own representation of printing the NSVC which is different to `show ns entities`. Use the same function to print NS-VC. Before: NSVCI 00000: udp)[127.0.0.1]:23000<>[127.0.0.1]:22000 After: NSVCI none: UNCONFIGURED DYNAMIC data_weight=1 sig_weight=1 udp)[127.0.0.1]:23000<>[127.0.0.1]:22000 Change-Id: If31ec6c1c07dc134ab1ddeb915bc89747c7be048
Diffstat (limited to 'tests')
-rw-r--r--tests/gb/gprs_ns2_vty.vty8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gb/gprs_ns2_vty.vty b/tests/gb/gprs_ns2_vty.vty
index f344bf37..15e541d4 100644
--- a/tests/gb/gprs_ns2_vty.vty
+++ b/tests/gb/gprs_ns2_vty.vty
@@ -43,7 +43,7 @@ NSEI 01234: UDP, DEAD
UDP bind: 127.0.0.14:42999 DSCP: 0
IP-SNS signalling weight: 1 data weight: 1
1 NS-VC:
- NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
+ NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
OsmoNSdummy# configure terminal
OsmoNSdummy(config)# ns
OsmoNSdummy(config-ns)# nse 1234
@@ -58,9 +58,9 @@ NSEI 01234: UDP, DEAD
UDP bind: 127.0.0.14:42999 DSCP: 0
IP-SNS signalling weight: 1 data weight: 1
3 NS-VC:
- NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
- NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
- NSVCI 00000: udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
+ NSVCI none: RECOVERING PERSIST data_weight=0 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.17]:9496
+ NSVCI none: RECOVERING PERSIST data_weight=9 sig_weight=0 udp)[127.0.0.14]:42999<>[127.0.0.16]:9496
+ NSVCI none: RECOVERING PERSIST data_weight=1 sig_weight=1 udp)[127.0.0.14]:42999<>[127.0.0.15]:9496
OsmoNSdummy# configure terminal
OsmoNSdummy(config)# ns
OsmoNSdummy(config-ns)# nse 1234