neutron/neutron/tests/unit/agent
Slawek Kaplonski 512e5fa8ed Fix migration from the HA to non-HA routers
In case if during switching HA router to be down, there will be any
failure, router_info will be stored in L3 agent's cache as HaRouter.
In case when next update on the router is migration to non-HA router
this is wrong class and it causes other issues, e.g. with
remove_vip_by_ip_address() which is correct only for HA routers.

This patch fixes that issue by adding check of the router's ha and
distributed flags and update local cache with new router_info class
in case if at least one of those flags don't match.

Change-Id: Ib0d3a501f88c149baea7d715c7cfe5811bc85e4f
Closes-Bug: #1892846
(cherry picked from commit 489e0ead72)
2020-11-19 10:53:48 +00:00
..
common [OVS] Make QoS OVS agent deletion operations more resilient 2020-06-26 09:21:21 +00:00
dhcp Prioritize port create and update ready messages 2020-04-06 16:49:22 -04:00
l2 Add QoS minimum egress bandwidth rule into ovs-agent 2019-02-26 11:05:04 +00:00
l3 Fix migration from the HA to non-HA routers 2020-11-19 10:53:48 +00:00
linux Merge "Ensure fip ip rules deleted when fip removed" into stable/stein 2020-11-04 16:29:41 +00:00
metadata Remove extra header fields in proxied metadata requests 2020-03-03 20:11:30 +00:00
ovsdb Add native OVSDB implementation for bridge monitor 2018-12-03 16:09:06 +00:00
windows windows: fix terminating processes 2020-10-09 09:41:00 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00
test_resource_cache.py Merge "Fix race condition with enabling SG on many ports at once" 2018-01-27 10:36:37 +00:00
test_rpc.py remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
test_securitygroups_rpc.py [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 11:23:01 +00:00