neutron/neutron/api
LIU Yulong 5b7d444b31 Not set the HA port down at regular l3-agent restart
If l3-agent was restarted by a regular action, such as config change,
package upgrade, manually service restart etc. We should not set the
HA port down during such scenarios. Unless the physical host was
rebooted, aka the VRRP processes were all terminated.

This patch adds a new RPC call during l3 agent init, it will try to
retrieve the HA router count first. And then compare the VRRP process
(keepalived) count and 'neutron-keepalived-state-change' count
with the hosting router count. If the count matches, then that
set HA port to 'DOWN' state action will not be triggered anymore.

Closes-Bug: #1798475
Change-Id: I5e2bb64df0aaab11a640a798963372c8d91a06a8
2019-02-14 16:58:22 +08:00
..
rpc Not set the HA port down at regular l3-agent restart 2019-02-14 16:58:22 +08:00
v2 remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
views Add a new configuration variable for api links. 2017-04-18 15:16:41 +00:00
__init__.py Added API extensions to detect sorting/pagination features 2016-08-01 22:57:15 +02:00
api_common.py Upgrade pylint to a version that works with python3 2018-10-04 18:03:25 +00:00
extensions.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00