summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2020-08-06 14:11:05 +0200
committerLuc Provoost <luc.provoost@intel.com>2020-08-06 14:54:01 +0200
commitea2c5d5168e56bb45a8839ee2cab890cbdbd873a (patch)
tree74c78df409bda7a6703f682a96bd2548bac7c192 /VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
parent7c31f36447aa16122ff4b6d1706f7f134d61c1f5 (diff)
fix: IPV6 packet generation, packet loss reporting
UDP and IP packet length and source UDP port and destination UDP port were wrongly set for IPv6 packets. In the *.test files, there is now an optional boolean field (ipv6) in the [TestParameters] section. When set to true, the generator will use the IPv6 packet layout to place the right values at the proper offset in the packet. If not present or set to false, the IPv4 layout will be used. Note also that packet size needs to be at least 84 bytes for IPV6 traffic since we need space for latency and other information in each packet. Packet loss ratio is now printed as a percentage of the total packets sent. Change-Id: I2136e87f3032348ae95b69052be7da8461c6303c Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test')
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test10
1 files changed, 7 insertions, 3 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test b/VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
index 966c073a..b9f00f71 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
@@ -19,6 +19,7 @@ name = BasicSwapTesting
number_of_tests = 2
total_number_of_test_machines = 2
lat_percentile = 99
+ipv6 = True
[TestM1]
name = Generator
@@ -38,7 +39,7 @@ cores = [1]
[test1]
test=warmuptest
flowsize=512
-imix=[64]
+imix=[84]
warmupspeed=1
warmuptime=2
@@ -49,8 +50,11 @@ test=flowsizetest
# all combinations must be meeting the same threshold
# The threshold is expressed in Mpps
pass_threshold=0.1
-imixs=[[64], [128]]
-# the number of flows in the list need to be powers of 2, max 2^30
+# DO NOT USE IMIX FOR IPV6 TESTING
+# PACKET SIZE NEEDS TO BE AT LEAST 84 (66 + 18) FOR IPV6
+# 18 bytes needed for UDP LATENCY AND COUNTER CONTENT
+imixs=[[84],[250]]
+# Number of flows in the list need to be powers of 2, max 2^30
# If not a power of 2, we will use the lowest power of 2 that is larger than
# the requested number of flows. e.g. 9 will result in 16 flows
flows=[64,500000]