neutron/neutron/tests/unit/plugins/ml2
Eugene Nikanorov aebd27f3b7 Resync L3, DHCP and OVS/LB agents upon revival
In big and busy clusters there could be a condition when
rabbitmq clustering mechanism synchronizes queues and during
this period agents connected to that instance of rabbitmq
can't communicate with the server and server considers them
dead moving resources away. After agent become active again,
it needs to cleanup state entries and synchronize its state
with neutron-server.
The solution is to make agents aware of their state from
neutron-server point of view. This is done by changing state
reports from cast to call that would return agent's status.
When agent was dead and becomes alive, it would receive special
AGENT_REVIVED status indicating that it should refresh its
local data which it would not do otherwise.

Conflicts:
	neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py
	neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
	neutron/tests/unit/agent/dhcp/test_agent.py
	neutron/tests/unit/plugins/ml2/drivers/linuxbridge/agent/test_linuxbridge_neutron_agent.py
	neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

Closes-Bug: #1505166
Change-Id: Id28248f4f75821fbacf46e2c44e40f27f59172a9
(cherry picked from commit 3b6bd917e4)
2016-01-24 19:38:22 +00:00
..
db Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
drivers Resync L3, DHCP and OVS/LB agents upon revival 2016-01-24 19:38:22 +00:00
extensions Remove get_namespace from API extensions 2015-06-15 09:17:32 -04:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Merge "Refactor mlnx mechanism driver to support infiniband only" 2015-06-07 18:47:57 +00:00
base.py Add high-level functional/integration DVR tests 2015-08-19 18:01:16 -04:00
test_agent_scheduler.py Move db agent schedulers test to a more appropriate place 2015-08-24 15:14:13 +03:00
test_db.py Batch db segment retrieval 2015-12-16 15:18:53 +00:00
test_driver_context.py Revert "Defer segment lookup in NetworkContext object" 2015-06-10 07:04:38 +00:00
test_ext_portsecurity.py populate port security default into network 2015-06-29 09:31:43 +08:00
test_extension_driver_api.py Pass the extension driver exception to plugin 2015-08-12 09:36:04 +00:00
test_plugin.py Batch db segment retrieval 2015-12-16 15:18:53 +00:00
test_port_binding.py Add unit tests for ML2 DVR port binding and fix PortContext inconsistencies 2015-05-11 17:03:31 -04:00
test_rpc.py No network devices on network attached qos policies 2015-09-16 15:11:04 +02:00
test_security_group.py Python 3: Wrap map() in a list call 2015-07-17 13:21:31 +09:00
test_tracked_resources.py ML2: Add tests to validate quota usage tracking 2015-12-18 19:06:13 +01:00