neutron/neutron
LIU Yulong 647b24288e Do not link up HA router gateway in backup node
L3 router will set its devices link up by default.
For HA routers, the gateway device will be pluged
in all scheduled hosts. When the gateway deivce is
up in backup node, it will send out IPv6 related
packets (MLDv2) according to some kernal config.
This will cause the physical fabric think that the
gateway MAC is now working in the backup node. And
finally the master node L3 traffic will be broken.

This patch sets the backup gateway device link down
by default. When the VRRP sets the master state in
one host, the L3 agent state change procedure will
do link up action for the gateway device.

Conflicts:
    neutron/agent/l3/router_info.py
    neutron/agent/linux/interface.py

Closes-Bug: #1859832
Change-Id: I8dca2c1a2f8cb467cfb44420f0eea54ca0932b05
(cherry picked from commit c52029c39a)
(cherry picked from commit b9a2968100)
(cherry picked from commit 41e8689234)
2020-04-23 21:45:06 +00:00
..
agent Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
api Optimize DVR related port DB query 2020-03-31 14:14:48 +00:00
cmd Secure dnsmasq process against external abuse 2019-01-25 13:58:19 +00:00
common Add trunk subports to be one of dvr serviced device owners 2020-04-06 11:38:08 +00:00
conf Add accepted egress direct flow 2020-02-25 07:32:29 +08:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Merge "Handle ports assigned to routers without routerports" into stable/queens 2020-04-16 17:11:29 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Improve invalid port ranges error message 2019-03-21 10:18:01 -04:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Add bulk IP address assignment to ipam driver 2020-03-26 12:31:05 +00:00
locale Imported Translations from Zanata 2018-03-14 06:20:49 +00:00
notifiers Refactor the L3 agent batch notifier 2020-04-20 11:45:35 +00:00
objects Handle ports assigned to routers without routerports 2020-04-07 20:22:50 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-16 11:16:23 +00:00
plugins Add accepted egress direct flow 2020-02-25 07:32:29 +08:00
privileged Don't raise error when removing not existing IP address 2020-04-21 15:29:55 +02:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-16 11:16:23 +00:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-20 09:39:20 +00:00
services Wait before deleting trunk bridges for DPDK vhu 2020-04-03 21:12:10 +00:00
tests Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Treat networks shared by RBAC in same way as shared with all tenants 2019-06-28 06:05:44 +00:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-20 09:39:20 +00:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-20 09:39:20 +00:00