From: Ondrej Lichtner <olichtne(a)redhat.com>
There are no bonds in this test, and the hosts only have a single eth
interface with id 'eth'.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
recipes/regression_tests/phase3/vxlan_test.py | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/recipes/regression_tests/phase3/vxlan_test.py
b/recipes/regression_tests/phase3/vxlan_test.py
index f96fc46..ed14276 100644
--- a/recipes/regression_tests/phase3/vxlan_test.py
+++ b/recipes/regression_tests/phase3/vxlan_test.py
@@ -56,16 +56,9 @@ if nperf_cpupin:
m1.run("service irqbalance stop")
m2.run("service irqbalance stop")
- m1_phy1 = m1.get_interface("eth1")
- m1_phy2 = m1.get_interface("eth2")
- dev_list = [(m1, m1_phy1), (m1, m1_phy2)]
-
- if test_if2.get_type() == "bond":
- m2_phy1 = m2.get_interface("eth1")
- m2_phy2 = m2.get_interface("eth2")
- dev_list.extend([(m2, m2_phy1), (m2, m2_phy2)])
- else:
- dev_list.append((m2, test_if2))
+ m1_phy1 = m1.get_interface("eth")
+ m2_phy1 = m2.get_interface("eth")
+ dev_list = [(m1, m1_phy1), (m2, m2_phy1)]
# this will pin devices irqs to cpu #0
for m, d in dev_list:
--
2.8.2