fix: IPV6 packet generation, packet loss reporting 83/70683/1
authorLuc Provoost <luc.provoost@intel.com>
Thu, 6 Aug 2020 12:11:05 +0000 (14:11 +0200)
committerLuc Provoost <luc.provoost@intel.com>
Thu, 6 Aug 2020 12:54:01 +0000 (14:54 +0200)
commitea2c5d5168e56bb45a8839ee2cab890cbdbd873a
tree74c78df409bda7a6703f682a96bd2548bac7c192
parent7c31f36447aa16122ff4b6d1706f7f134d61c1f5
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>
VNFs/DPPD-PROX/helper-scripts/rapid/TST009_Throughput.test
VNFs/DPPD-PROX/helper-scripts/rapid/format.yaml
VNFs/DPPD-PROX/helper-scripts/rapid/ipv6.test
VNFs/DPPD-PROX/helper-scripts/rapid/machine.map
VNFs/DPPD-PROX/helper-scripts/rapid/params_rapid.yaml
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_generator_machine.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_machine.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_parser.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_test.py
VNFs/DPPD-PROX/helper-scripts/rapid/runrapid.py