summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-06-22 10:56:14 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-22 10:56:14 +0000
commit4342a6d75ba508c90952cd9210cdd7f68022f5bc (patch)
tree81f3103d8a5c332006b70f97cbcdfbcaddd7583d /testcases
parent63dfbce4cdd5396dbabf3ab81d00997868b892bb (diff)
parent7e2853b78a4475946f3d366066b3359dfc79d7ac (diff)
Merge "linux_bridge_guest: Modify packet structure for linux bridge tests"
Diffstat (limited to 'testcases')
-rw-r--r--testcases/testcase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index d76858d5..9441632b 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -152,8 +152,8 @@ class TestCase(object):
# OVS Vanilla requires guest VM MAC address and IPs to work
if 'linux_bridge' in self.guest_loopback:
- self._traffic['l2'].update({'srcmac': S.getValue('GUEST_NET2_MAC')[0],
- 'dstmac': S.getValue('GUEST_NET1_MAC')[0]})
+ self._traffic['l2'].update({'srcmac': S.getValue('VANILLA_TGEN_PORT1_MAC'),
+ 'dstmac': S.getValue('VANILLA_TGEN_PORT2_MAC')})
self._traffic['l3'].update({'srcip': S.getValue('VANILLA_TGEN_PORT1_IP'),
'dstip': S.getValue('VANILLA_TGEN_PORT2_IP')})