NS_Emulation: Respect data_weight==0 or signalling_weight==0
* allow configuration of signalling + data weight for each NS-VC
* advertise per-NSVC signalling/data weight in SNS-CONFIG
* keep track of unblocked NS-VCS separately for data / signalling
* transmit BVCI=0 traffic only over signalling NS-VC
* transmit BVCI>0 traffic only over data NS-VC
* accept incoming BVCI=0 traffic only if signalling_weight > 0
* accept incoming BVCI>0 traffic only if data_weight > 0
Related: OS#4953
Change-Id: I9798e639b4bc8658482945970775b012b5840779
diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index 9fa9c4f..e1d2e59 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -67,11 +67,14 @@
local_udp_port := 7777,
local_ip := "127.0.0.10",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 101
}
+
}
}, {
nsei := 102,
@@ -85,7 +88,9 @@
local_udp_port := 8888,
local_ip := "127.0.0.11",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 102
@@ -109,7 +114,9 @@
local_udp_port := 21010,
local_ip := "127.0.1.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 2101
@@ -128,7 +135,9 @@
local_udp_port := 21020,
local_ip := "127.0.2.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 2102
@@ -147,7 +156,9 @@
local_udp_port := 21030,
local_ip := "127.0.3.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 2103