commit c5be259a990c0cb82bbb6b8c84ed58051d300d50
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Tue Mar 10 14:37:55 2015 +0100
recipes: fix ipv6 address retrieval
Bunch of recipes was using ipv4 address of the interface instead of ipv6
address for Icmp6Ping test module. This made these recipes failing.
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
recipes/regression_tests/phase1/3_vlans.py | 2 +-
.../regression_tests/phase1/3_vlans_over_bond.py | 2 +-
recipes/regression_tests/phase1/simple_ping.py | 2 +-
.../phase1/virtual_bridge_vlan_in_guest.py | 2 +-
.../phase1/virtual_bridge_vlan_in_host.py | 2 +-
.../regression_tests/phase2/3_vlans_over_team.py | 2 +-
recipes/regression_tests/phase2/team_test.py | 2 +-
.../phase2/virtual_ovs_bridge_vlan_in_guest.py | 2 +-
.../phase2/virtual_ovs_bridge_vlan_in_host.py | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/recipes/regression_tests/phase1/3_vlans.py b/recipes/regression_tests/phase1/3_vlans.py
index f59e941..1625b97 100644
--- a/recipes/regression_tests/phase1/3_vlans.py
+++ b/recipes/regression_tests/phase1/3_vlans.py
@@ -33,7 +33,7 @@ for vlan1 in vlans:
options={
"addr" : m2.get_ip(vlan2, 1),
"count" : 100,
- "iface" : m1.get_ip(vlan1),
+ "iface" : m1.get_ip(vlan1, 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase1/3_vlans_over_bond.py b/recipes/regression_tests/phase1/3_vlans_over_bond.py
index 0ea489b..f511bad 100644
--- a/recipes/regression_tests/phase1/3_vlans_over_bond.py
+++ b/recipes/regression_tests/phase1/3_vlans_over_bond.py
@@ -33,7 +33,7 @@ for vlan1 in vlans:
options={
"addr" : m2.get_ip(vlan2, 1),
"count" : 100,
- "iface" : m1.get_ip(vlan1),
+ "iface" : m1.get_ip(vlan1, 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase1/simple_ping.py b/recipes/regression_tests/phase1/simple_ping.py
index 74fd026..2fd48d1 100644
--- a/recipes/regression_tests/phase1/simple_ping.py
+++ b/recipes/regression_tests/phase1/simple_ping.py
@@ -19,7 +19,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
"addr": hostB.get_ip("testiface", 1),
"count": 100,
"interval": 0.2,
- "iface" : hostA.get_ip("testiface"),
+ "iface" : hostA.get_ip("testiface", 1),
"limit_rate": 90})
if ctl.get_alias('ipv') == 'ipv6':
diff --git a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
index 8334d6e..4782389 100644
--- a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
+++ b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_guest.py
@@ -32,7 +32,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
options={
"addr" : h2.get_ip("vlan10", 1),
"count" : 100,
- "iface" : g1.get_ip("vlan10"),
+ "iface" : g1.get_ip("vlan10", 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
index e4d3810..bc50b18 100644
--- a/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
+++ b/recipes/regression_tests/phase1/virtual_bridge_vlan_in_host.py
@@ -32,7 +32,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
options={
"addr" : h2.get_ip("vlan10", 1),
"count" : 100,
- "iface" : g1.get_ip("guestnic"),
+ "iface" : g1.get_ip("guestnic", 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase2/3_vlans_over_team.py b/recipes/regression_tests/phase2/3_vlans_over_team.py
index 3deb7f4..a6ef2a2 100644
--- a/recipes/regression_tests/phase2/3_vlans_over_team.py
+++ b/recipes/regression_tests/phase2/3_vlans_over_team.py
@@ -33,7 +33,7 @@ for vlan1 in vlans:
options={
"addr" : m2.get_ip(vlan2, 1),
"count" : 100,
- "iface" : m1.get_ip(vlan1),
+ "iface" : m1.get_ip(vlan1, 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase2/team_test.py b/recipes/regression_tests/phase2/team_test.py
index ae6e164..64047de 100644
--- a/recipes/regression_tests/phase2/team_test.py
+++ b/recipes/regression_tests/phase2/team_test.py
@@ -30,7 +30,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
options={
"addr" : m2.get_ip("test_if", 1),
"count" : 100,
- "iface" : m1.get_ip("test_if"),
+ "iface" : m1.get_ip("test_if, 1"),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
index 63b5ed4..eae14db 100644
--- a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
+++ b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py
@@ -32,7 +32,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
options={
"addr" : h2.get_ip("vlan10", 1),
"count" : 100,
- "iface" : g1.get_ip("vlan10"),
+ "iface" : g1.get_ip("vlan10", 1),
"interval" : 0.1
})
diff --git a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
index e4d3810..bc50b18 100644
--- a/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
+++ b/recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py
@@ -32,7 +32,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping",
options={
"addr" : h2.get_ip("vlan10", 1),
"count" : 100,
- "iface" : g1.get_ip("guestnic"),
+ "iface" : g1.get_ip("guestnic", 1),
"interval" : 0.1
})