From 75b6188974728f1f66a65726e1eb481f0d691e7c Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 21 Mar 2021 16:18:17 +0100 Subject: 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 --- tests/gb/gprs_ns2_vty.vty | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3