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/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index fe31ffc..7d47a1f 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -80,7 +80,9 @@
local_udp_port := 21010,
local_ip := "127.0.0.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 97
@@ -99,7 +101,9 @@
local_udp_port := 21011,
local_ip := "127.0.0.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 98
@@ -118,7 +122,9 @@
local_udp_port := 21012,
local_ip := "127.0.0.1",
remote_udp_port := 23000,
- remote_ip := "127.0.0.1"
+ remote_ip := "127.0.0.1",
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 99