summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Novikov <snovikov@mirantis.com>2017-03-22 15:59:29 +0400
committerSergey Novikov <snovikov@mirantis.com>2017-03-22 12:41:24 +0000
commitbe5872064d30d88b2331b7fa83235930b3527bbf (patch)
tree46d0fec6f69544fd00105202da07e9a118b0f4ce
parent8667ad5a924aecdeece9b37400f1f9074426bbb1 (diff)
Take into account that MTU isn't constant in case of VXLAN
MTU of ovs bridge "br-int" changes when virtual iface for instance is created. It behavior breaks the check that gets difference between network interfaces before and after vm booting Change-Id: I294bc309e8b13a912994a2cf20140e08120d5bbe Closes-Bug: 1674620
Notes
Notes (review): Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Code-Review+2: Nastya Urlapova <aurlapova@mirantis.com> Workflow+1: Vladimir Khlyunev <vkhlyunev@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 23 Mar 2017 10:53:40 +0000 Reviewed-on: https://review.openstack.org/448551 Project: openstack/fuel-qa Branch: refs/heads/master
-rw-r--r--fuelweb_test/tests/test_ovs_firewall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuelweb_test/tests/test_ovs_firewall.py b/fuelweb_test/tests/test_ovs_firewall.py
index 41c9e38..2b09d77 100644
--- a/fuelweb_test/tests/test_ovs_firewall.py
+++ b/fuelweb_test/tests/test_ovs_firewall.py
@@ -80,8 +80,8 @@ class CheckOVSFirewall(TestBasic):
80 server = os_conn.create_server_for_migration(label=net_name) 80 server = os_conn.create_server_for_migration(label=net_name)
81 current_ifaces = self.get_ifaces(compute_ip) 81 current_ifaces = self.get_ifaces(compute_ip)
82 current_flows = self.get_flows(compute_ip) 82 current_flows = self.get_flows(compute_ip)
83 assert_equal(len(set(current_ifaces.stdout) - set(ifaces.stdout)), 1, 83 assert_equal(len(current_ifaces.stdout) - len(ifaces.stdout), 1,
84 "Check is failed. Passed data is not equal:" 84 "Check is failed:"
85 " {}\n\n{}".format(ifaces, current_ifaces)) 85 " {}\n\n{}".format(ifaces, current_ifaces))
86 assert_not_equal(set(flows.stdout), set(current_flows.stdout), 86 assert_not_equal(set(flows.stdout), set(current_flows.stdout),
87 "Check is failed. Passed data is equal:" 87 "Check is failed. Passed data is equal:"