neutron/neutron/tests/functional/agent
Rodolfo Alonso Hernandez 7682d2fa77 Delay HA router transition from "backup" to "master"
As described in the bug, when a HA router transitions from "master" to
"backup", "keepalived" processes will set the virtual IP in all other
HA routers. Each HA router will then advert it and "keepalived" will
decide, according to a trivial algorithm (higher interface IP), which
one should be "master". At this point, the other "keepalived" processes
running in the other servers, will remove the HA router virtual IP
assigned an instant before

To avoid transitioning some routers form "backup" to "master" and then
to "backup" in a very short period, this patch delays the "backup" to
"master" transition, waiting for a possible new "backup" state. If
during the waiting period (set to the HA VRRP advert time, 2 seconds
default) to set the HA state to "master", the L3 agent receives a new
"backup" HA state, the L3 agent does nothing.

Conflicts:
    neutron/agent/l3/agent.py

Closes-Bug: #1837635

Change-Id: I70037da9cdd0f8448e0af8dd96b4e3f5de5728ad
(cherry picked from commit 3f022a193f)
(cherry picked from commit adac5d9b7a)
2020-04-09 21:14:53 +02:00
..
l2 Ignore first local port update notification 2019-07-10 18:15:24 +00:00
l3 Delay HA router transition from "backup" to "master" 2020-04-09 21:14:53 +02:00
linux Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
windows Fix pep8 errors 2018-04-11 01:10:49 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_firewall.py Merge "ovs-fw: Fix firewall blink" 2018-03-23 12:11:10 +00:00
test_l2_lb_agent.py LB Trunk: Stop matching MAC of subport to port model 2017-03-01 14:10:00 +00:00
test_l2_ovs_agent.py Stop OVS agent before starting it again 2019-08-12 12:11:05 +00:00
test_ovs_flows.py of_interface: Implement bundled() method 2018-04-18 18:33:55 +09:00
test_ovs_lib.py [OVS] Add mac-table-size to be set on each ovs bridge 2018-06-08 16:26:35 +02:00