From da33d374ef656da0648059439f2e28a0bfe2f13a Mon Sep 17 00:00:00 2001 From: Myron Sosyak Date: Thu, 2 Aug 2018 14:34:03 +0100 Subject: Add UDP ports configuration to IXIA traffic profile - Implemented handling of UDP source and destination ports from IXIA traffic profile. - UDP ports can be defined as a single value or as a random range. Ports range is configured with two parameters 'fixed_bits' and 'mask_bits'. - For example '8-48' range definition will create a repeatable pattern of four values that fall within the range of 8 and 56. JIRA: YARDSTICK-1363 Change-Id: I0ace722f6be843ea79c3d3f4de22cb8fa5669d4f Signed-off-by: Myron Sosyak Signed-off-by: Pshyk Serhiy Signed-off-by: Mytnyk, Volodymyr --- yardstick/benchmark/scenarios/networking/vnf_generic.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yardstick/benchmark') diff --git a/yardstick/benchmark/scenarios/networking/vnf_generic.py b/yardstick/benchmark/scenarios/networking/vnf_generic.py index a7557733b..10f10d4e6 100644 --- a/yardstick/benchmark/scenarios/networking/vnf_generic.py +++ b/yardstick/benchmark/scenarios/networking/vnf_generic.py @@ -118,6 +118,7 @@ class NetworkServiceTestCase(scenario_base.Scenario): flow["dst_port_{}".format(index)] = dst_port flow["count"] = fflow["count"] + flow["seed"] = fflow["seed"] except KeyError: flow = {} return {"flow": flow} -- cgit 1.2.3-korg