Solution for weird behaviour, when ping6 chooses IP from different device.
Signed-off-by: Jiri Prochazka jprochaz@redhat.com --- recipes/regression_tests/phase2/3_vlans_over_team.py | 2 +- recipes/regression_tests/phase2/team_test.py | 4 ++-- .../phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py | 4 ++-- recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_guest.py | 2 +- recipes/regression_tests/phase2/virtual_ovs_bridge_vlan_in_host.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/recipes/regression_tests/phase2/3_vlans_over_team.py b/recipes/regression_tests/phase2/3_vlans_over_team.py index 2ede5d4..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_devname(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 78e9efe..d792ea3 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_devname("test_if"), + "iface" : m1.get_ip("test_if", 1), "interval" : 0.1 })
@@ -222,4 +222,4 @@ for offload in offloads: ctl.wait(2) m1.run(netperf_cli_tcp6, timeout=65) m1.run(netperf_cli_udp6, timeout=65) - server_proc.intr() \ No newline at end of file + server_proc.intr() diff --git a/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py b/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py index a4cfdd8..a4a383f 100644 --- a/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py +++ b/recipes/regression_tests/phase2/virtual_ovs_bridge_2_vlans_over_active_backup_bond.py @@ -46,7 +46,7 @@ ping_mod6 = ctl.get_module("Icmp6Ping", options={ "addr" : g3.get_ip("guestnic", 1), "count" : 100, - "iface" : g1.get_devname("guestnic"), + "iface" : g1.get_ip("guestnic", 1), "interval" : 0.1 })
@@ -54,7 +54,7 @@ ping_mod62 = ctl.get_module("Icmp6Ping", options={ "addr" : g2.get_ip("guestnic", 1), "count" : 100, - "iface" : g4.get_devname("guestnic"), + "iface" : g4.get_ip("guestnic", 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 0d6aba8..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_devname("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 3344d81..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_devname("guestnic"), + "iface" : g1.get_ip("guestnic", 1), "interval" : 0.1 })
lnst-developers@lists.fedorahosted.org