neutron/neutron/tests/unit/agent
Slawek Kaplonski 02ad1b7909 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:54:15 +00:00
..
common [OVS] Make QoS OVS agent deletion operations more resilient 2020-07-03 10:17:09 +00:00
dhcp Prioritize port create and update ready messages 2020-05-07 15:11:42 +00:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-24 06:43:01 +00:00
l3 Fix migration from the HA to non-HA routers 2020-11-19 10:54:15 +00:00
linux Merge "Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue"" into stable/queens 2020-11-18 01:39:28 +00:00
metadata Remove extra header fields in proxied metadata requests 2020-03-03 20:11:49 +00:00
ovsdb Fixes using SSL OVSDB connection 2018-02-09 04:50:10 +00:00
windows windows: fix terminating processes 2020-10-09 09:41:34 +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 Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_securitygroups_rpc.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2020-11-17 14:34:08 +00:00