From 1ad8da59859f72c97321c9cf8a4f048fc57addd1 Mon Sep 17 00:00:00 2001 From: John O Loughlin Date: Fri, 23 Nov 2018 11:38:14 +0000 Subject: 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 Signed-off-by: Oleksandr Naumets --- yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yardstick/network_services/vnf_generic') 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() -- cgit 1.2.3-korg