neutron/neutron/tests/functional/agent/linux
Kevin Benton 7afbd3a6b8 Check tap bridge timestamps to detect local changes
During a quick instance rebuild on Nova, it may remove a tap
interface and then plug it in within the agent polling window.
In this scenario the agent will not realize a device has changed
and will therefore not ask the server for info an subsequently
update its status. This will prevent the notification from being
sent back to Nova that the vif plugging has finished so the
VM will never resume state.

This adds a new timestamp collection method to the common agent
manager interface for devices that is used by the common agent
loop to determine if a device has locally changed.

The linux bridge implementation of it checks the timestamps on the
tap interface's 'bridge' directory, which will change whenever
the tap is added to bridge.

Closes-Bug: #1531862
Change-Id: If172470e907848556b6a8aff13520f94245919bb
2016-03-10 03:04:11 -08:00
..
bin Add a functional test for iptables_manager.binary_name 2015-03-02 16:19:50 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
helpers.py Adds base in-tree functional testing of the dhcp agent (OVS) 2015-10-22 18:14:14 +03:00
simple_daemon.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
test_async_process.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
test_bridge_lib.py Check tap bridge timestamps to detect local changes 2016-03-10 03:04:11 -08:00
test_dhcp.py Fix module's import order 2016-01-22 06:38:42 -08:00
test_interface.py Switch to oslo_utils.uuidutils 2015-06-22 11:06:18 +00:00
test_ip_lib.py Merge "get_device_by_ip: don't fail if device was deleted" 2015-10-23 17:54:29 +00:00
test_ip_monitor.py Change linux/ip_lib code to better handle address families 2015-03-10 00:17:24 -04:00
test_ipset.py Execute ipset command using check_exit_code 2015-09-21 09:13:22 +00:00
test_iptables.py Fix establishing UDP connection 2015-09-16 09:35:25 +02:00
test_keepalived.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
test_linuxbridge_arp_protect.py Use DEVICE_OWNER_* for 'network:*' constants 2015-11-16 20:45:36 -08:00
test_ovsdb_monitor.py Adopt oslotest BaseTestCase as a base class for DietTestCase 2016-01-07 15:08:54 +01:00
test_process_monitor.py tests: disable process monitor before managers 2015-09-08 11:23:14 +02:00
test_tc_lib.py Add support for QoS for LinuxBridge agent 2016-03-01 10:45:02 +00:00
test_utils.py Introduce ip address monitor 2015-03-03 20:06:14 -05:00