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/pcu/PCU_Tests.cfg b/pcu/PCU_Tests.cfg
index 13bedec..dfebb40 100644
--- a/pcu/PCU_Tests.cfg
+++ b/pcu/PCU_Tests.cfg
@@ -18,7 +18,9 @@
local_ip := "127.0.0.1",
local_udp_port := 23000,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 1234
@@ -30,7 +32,10 @@
local_ip := "127.0.0.1",
local_udp_port := 23001,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
+ }
}
},
nsvci := 1234
@@ -42,7 +47,10 @@
local_ip := "127.0.0.1",
local_udp_port := 23002,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
+ }
}
},
nsvci := 1234
diff --git a/pcu/PCU_Tests_SNS.cfg b/pcu/PCU_Tests_SNS.cfg
index ab589c5..c36edac 100644
--- a/pcu/PCU_Tests_SNS.cfg
+++ b/pcu/PCU_Tests_SNS.cfg
@@ -17,7 +17,9 @@
local_ip := "127.0.0.1",
local_udp_port := 23000,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 1234
@@ -29,7 +31,9 @@
local_ip := "127.0.0.1",
local_udp_port := 23001,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 1234
@@ -41,7 +45,9 @@
local_ip := "127.0.0.1",
local_udp_port := 23002,
remote_ip := "127.0.0.1",
- remote_udp_port := 22000
+ remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 1234
diff --git a/pcu/PCU_Tests_SNSv6.cfg b/pcu/PCU_Tests_SNSv6.cfg
index cae9a75..3747f0a 100644
--- a/pcu/PCU_Tests_SNSv6.cfg
+++ b/pcu/PCU_Tests_SNSv6.cfg
@@ -18,6 +18,8 @@
local_udp_port := 23000,
remote_ip := "::1",
remote_udp_port := 22000,
+ data_weight := 1,
+ signalling_weight := 1
}
},
nsvci := 1234