neutron/neutron/tests/functional/cmd
John Schwarz f3dece785e get_device_by_ip: don't fail if device was deleted
The function gets a list of all the devices that exists on the machine,
and then iterates on them one at a time in order to find the correct
device which holds the ip specified. However, if one of the devices was
in the mean time deleted, the code will raise an Exception. In the ovs
agent's case, this will cause it to not run at all (requiring a
restart).

Also, changes to a few tests of LinuxBridge were made because
linuxbridge doesn't check that cfg.CONF.VXLAN.local_ip is not empty
before using it (a bug, surely). Since it's out of scope of this patch
to fix this, workarounds were implemented to make sure the tests ignore
the option instead.

Closes-Bug: #1506503
Change-Id: Iad285d7c763b0e8e8f877c6892aadb0043e9a186
2015-10-22 19:27:10 +03:00
..
__init__.py Add a netns-cleanup functional test 2015-03-13 17:14:37 +00:00
test_linuxbridge_cleanup.py get_device_by_ip: don't fail if device was deleted 2015-10-22 19:27:10 +03:00
test_netns_cleanup.py Remove unnecessary executable permission 2015-08-01 05:16:32 +00:00