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
This commit is contained in:
parent
994253704b
commit
695dc47176
|
@ -80,8 +80,8 @@ class CheckOVSFirewall(TestBasic):
|
|||
server = os_conn.create_server_for_migration(label=net_name)
|
||||
current_ifaces = self.get_ifaces(compute_ip)
|
||||
current_flows = self.get_flows(compute_ip)
|
||||
assert_equal(len(set(current_ifaces.stdout) - set(ifaces.stdout)), 1,
|
||||
"Check is failed. Passed data is not equal:"
|
||||
assert_equal(len(current_ifaces.stdout) - len(ifaces.stdout), 1,
|
||||
"Check is failed:"
|
||||
" {}\n\n{}".format(ifaces, current_ifaces))
|
||||
assert_not_equal(set(flows.stdout), set(current_flows.stdout),
|
||||
"Check is failed. Passed data is equal:"
|
||||
|
|
Loading…
Reference in New Issue