On host2 machine are VLANs configured on one ethernet devices, therefore second ethernet interface is not used
Signed-off-by: Jiri Prochazka jprochaz@redhat.com --- recipes/regression_tests/phase1/3_vlans_over_active_backup_bond.xml | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/recipes/regression_tests/phase1/3_vlans_over_active_backup_bond.xml b/recipes/regression_tests/phase1/3_vlans_over_active_backup_bond.xml index 1b8d0c9..a4ce2a6 100644 --- a/recipes/regression_tests/phase1/3_vlans_over_active_backup_bond.xml +++ b/recipes/regression_tests/phase1/3_vlans_over_active_backup_bond.xml @@ -61,11 +61,6 @@ <host id="testmachine2"> <interfaces> <eth id="eth1" label="tnet" /> - <eth id="eth2" label="tnet"> - <addresses> - <address value="2002::2/64" /> - </addresses> - </eth> <vlan id="vlan10"> <options> <option name="vlan_tci" value="10" />
Due to problems with UDP netperf, we decided to set MTU on all devices in all tests to 8000. This patch updates only baremetal tests, as there are some unresolved issues in virtual tests, which need to be resolved first.
Signed-off-by: Jiri Prochazka jprochaz@redhat.com --- recipes/regression_tests/phase1/3_vlans.py | 6 ++++++ recipes/regression_tests/phase1/3_vlans_over_bond.py | 7 +++++++ recipes/regression_tests/phase1/bonding_test.py | 6 ++++++ recipes/regression_tests/phase1/simple_ping.py | 6 ++++++ recipes/regression_tests/phase2/3_vlans_over_team.py | 6 ++++++ recipes/regression_tests/phase2/team_test.py | 6 ++++++ 6 files changed, 37 insertions(+)
diff --git a/recipes/regression_tests/phase1/3_vlans.py b/recipes/regression_tests/phase1/3_vlans.py index 0f1749d..3e9d96d 100644 --- a/recipes/regression_tests/phase1/3_vlans.py +++ b/recipes/regression_tests/phase1/3_vlans.py @@ -19,6 +19,12 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias('ipv')
+# ------ +# MTU set +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("eth1")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("eth1")) + for vlan1 in vlans: for vlan2 in vlans: ping_mod = ctl.get_module("IcmpPing", diff --git a/recipes/regression_tests/phase1/3_vlans_over_bond.py b/recipes/regression_tests/phase1/3_vlans_over_bond.py index 865e2cc..47670c0 100644 --- a/recipes/regression_tests/phase1/3_vlans_over_bond.py +++ b/recipes/regression_tests/phase1/3_vlans_over_bond.py @@ -19,6 +19,13 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias('ipv')
+ +# ------ +# MTU set +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("test_bond")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("eth1")) + for vlan1 in vlans: for vlan2 in vlans: ping_mod = ctl.get_module("IcmpPing", diff --git a/recipes/regression_tests/phase1/bonding_test.py b/recipes/regression_tests/phase1/bonding_test.py index 165978b..60f18c3 100644 --- a/recipes/regression_tests/phase1/bonding_test.py +++ b/recipes/regression_tests/phase1/bonding_test.py @@ -19,6 +19,12 @@ offloads = ["tso", "gro", "gso"]
ipv = ctl.get_alias('ipv')
+# ------ +# MTU set +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("test_if")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("test_if")) + ping_mod = ctl.get_module("IcmpPing", options={ "addr" : m2.get_ip("test_if", 0), diff --git a/recipes/regression_tests/phase1/simple_ping.py b/recipes/regression_tests/phase1/simple_ping.py index 2fd48d1..3042bd9 100644 --- a/recipes/regression_tests/phase1/simple_ping.py +++ b/recipes/regression_tests/phase1/simple_ping.py @@ -6,6 +6,12 @@ hostB = ctl.get_host("machine2") hostA.sync_resources(modules=["Icmp6Ping", "IcmpPing"]) hostB.sync_resources(modules=["Icmp6Ping", "IcmpPing"])
+# ------ +# MTU set +# ------ +hostA.run("ip link set dev %s mtu 8000" % hostA.get_devname("testiface")) +hostB.run("ip link set dev %s mtu 8000" % hostB.get_devname("testiface")) + ping_mod = ctl.get_module("IcmpPing", options={ "addr": hostB.get_ip("testiface", 0), diff --git a/recipes/regression_tests/phase2/3_vlans_over_team.py b/recipes/regression_tests/phase2/3_vlans_over_team.py index e8d6281..c905b73 100644 --- a/recipes/regression_tests/phase2/3_vlans_over_team.py +++ b/recipes/regression_tests/phase2/3_vlans_over_team.py @@ -11,6 +11,12 @@ m1.sync_resources(modules=["IcmpPing", "Icmp6Ping", "Netperf"]) m2.sync_resources(modules=["IcmpPing", "Icmp6Ping", "Netperf"])
# ------ +# MTU +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("test_if")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("eth1")) + +# ------ # TESTS # ------
diff --git a/recipes/regression_tests/phase2/team_test.py b/recipes/regression_tests/phase2/team_test.py index ba9941d..99e8a91 100644 --- a/recipes/regression_tests/phase2/team_test.py +++ b/recipes/regression_tests/phase2/team_test.py @@ -11,6 +11,12 @@ m1.sync_resources(modules=["IcmpPing", "Icmp6Ping", "Netperf"]) m2.sync_resources(modules=["IcmpPing", "Icmp6Ping", "Netperf"])
# ------ +# MTU +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("test_if")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("test_if")) + +# ------ # TESTS # ------
Mon, Apr 20, 2015 at 01:47:43PM CEST, jprochaz@redhat.com wrote:
Due to problems with UDP netperf, we decided to set MTU on all devices in all tests to 8000. This patch updates only baremetal tests, as there are some unresolved issues in virtual tests, which need to be resolved first.
Signed-off-by: Jiri Prochazka jprochaz@redhat.com
recipes/regression_tests/phase1/3_vlans.py | 6 ++++++ recipes/regression_tests/phase1/3_vlans_over_bond.py | 7 +++++++ recipes/regression_tests/phase1/bonding_test.py | 6 ++++++ recipes/regression_tests/phase1/simple_ping.py | 6 ++++++ recipes/regression_tests/phase2/3_vlans_over_team.py | 6 ++++++ recipes/regression_tests/phase2/team_test.py | 6 ++++++ 6 files changed, 37 insertions(+)
diff --git a/recipes/regression_tests/phase1/3_vlans.py b/recipes/regression_tests/phase1/3_vlans.py index 0f1749d..3e9d96d 100644 --- a/recipes/regression_tests/phase1/3_vlans.py +++ b/recipes/regression_tests/phase1/3_vlans.py @@ -19,6 +19,12 @@ offloads = ["gso", "gro", "tso"]
ipv = ctl.get_alias('ipv')
+# ------ +# MTU set +# ------ +m1.run("ip link set dev %s mtu 8000" % m1.get_devname("eth1")) +m2.run("ip link set dev %s mtu 8000" % m2.get_devname("eth1"))
how about to rather do: "m1.set_mtu(8000)" ?
Mon, Apr 20, 2015 at 01:47:42PM CEST, jprochaz@redhat.com wrote:
On host2 machine are VLANs configured on one ethernet devices, therefore second ethernet interface is not used
Signed-off-by: Jiri Prochazka jprochaz@redhat.com
applied
lnst-developers@lists.fedorahosted.org