diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2018-11-23 11:38:14 +0000 |
---|---|---|
committer | Abhijit Sinha <abhijit.sinha@intel.com> | 2019-02-05 13:35:11 +0000 |
commit | 1ad8da59859f72c97321c9cf8a4f048fc57addd1 (patch) | |
tree | 8e6898a29b2be7a8b57d044e3185389e28a16b3c /yardstick/network_services/vnf_generic | |
parent | 0e79473ddc9d5185185f555303d40fdc075c9920 (diff) |
Fix QnQ issue
Currently if multiple tests are run with a QnQ section defined the QnQ
segment gets appended to the frame. This leads to invalid frames when
the test is run for more than 1 iteration. With this patch the QnQ is
updated if the QnQ segment has already been created.
JIRA: YARDSTICK-1513
Change-Id: I4ba6ef89380ccf1cb8a132ff5bf048935a87f0c9
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Signed-off-by: Oleksandr Naumets <oleksandrx.naumets@intel.com>
Diffstat (limited to 'yardstick/network_services/vnf_generic')
-rw-r--r-- | yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py b/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py index f8eec4f4c..7ecb57dd1 100644 --- a/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py +++ b/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py @@ -65,7 +65,7 @@ class IxiaBasicScenario(object): self._uplink_vports = vports[::2] self._downlink_vports = vports[1::2] self.client.create_traffic_model(self._uplink_vports, - self._downlink_vports) + self._downlink_vports, traffic_profile) def _get_stats(self): return self.client.get_statistics() |