diff options
Diffstat (limited to 'yardstick')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/vnf_generic.py | 2 | ||||
-rw-r--r-- | yardstick/network_services/traffic_profile/ixia_rfc2544.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/vnf_generic.py b/yardstick/benchmark/scenarios/networking/vnf_generic.py index aaf850c1d..f7b2915a2 100644 --- a/yardstick/benchmark/scenarios/networking/vnf_generic.py +++ b/yardstick/benchmark/scenarios/networking/vnf_generic.py @@ -177,6 +177,8 @@ class NetworkServiceTestCase(base.Scenario): for index, publicip in enumerate(fflow.get("publicip", [])): flow["public_ip{}".format(index)] = publicip + + flow["count"] = fflow["count"] except KeyError: flow = {} return {"flow": flow} diff --git a/yardstick/network_services/traffic_profile/ixia_rfc2544.py b/yardstick/network_services/traffic_profile/ixia_rfc2544.py index ba532b820..36a464e2f 100644 --- a/yardstick/network_services/traffic_profile/ixia_rfc2544.py +++ b/yardstick/network_services/traffic_profile/ixia_rfc2544.py @@ -61,6 +61,7 @@ class IXIARFC2544Profile(TrexProfile): traffic['outer_l3']['dstip4'] = dstip4.split("-")[0] traffic['outer_l3']['type'] = key + traffic['outer_l3']['count'] = value['outer_l3v4']['count'] # outer_l4 traffic['outer_l4'] = value['outer_l4'] index = index + 1 |