Fix QnQ issue 41/64641/18
authorJohn O Loughlin <john.oloughlin@intel.com>
Fri, 23 Nov 2018 11:38:14 +0000 (11:38 +0000)
committerAbhijit Sinha <abhijit.sinha@intel.com>
Tue, 5 Feb 2019 13:35:11 +0000 (13:35 +0000)
commit1ad8da59859f72c97321c9cf8a4f048fc57addd1
tree8e6898a29b2be7a8b57d044e3185389e28a16b3c
parent0e79473ddc9d5185185f555303d40fdc075c9920
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>
yardstick/network_services/libs/ixia_libs/ixnet/ixnet_api.py
yardstick/network_services/vnf_generic/vnf/tg_rfc2544_ixia.py
yardstick/tests/unit/network_services/libs/ixia_libs/test_ixnet_api.py
yardstick/tests/unit/network_services/vnf_generic/vnf/test_tg_rfc2544_ixia.py