neutron/neutron/agent/linux
LIU Yulong fe62f4db26 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.

Closes-Bug: #1859832
Change-Id: I8dca2c1a2f8cb467cfb44420f0eea54ca0932b05
(cherry picked from commit c52029c39a)
2020-04-06 11:45:18 +00:00
..
openvswitch_firewall Check SG members instead of ports to skip flow update 2020-02-18 18:45:44 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
bridge_lib.py Add namespace support for "bridge" commands 2019-04-29 07:52:18 +00:00
daemon.py Set neutron-keepalived-state-change proctitle 2019-05-23 15:22:35 +08:00
dhcp.py DHCPv6 - Use addr6_list in dnsmasq 2020-03-16 21:03:43 +01:00
dibbler.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
external_process.py Check dnsmasq process is active when spawned 2019-10-30 12:23:56 +00:00
interface.py Do not link up HA router gateway in backup node 2020-04-06 11:45:18 +00:00
ip_conntrack.py Merge "Use '-p ip' instead of '-p 0' with conntrack" 2019-04-12 13:02:24 +00:00
ip_lib.py Use "via" in gateway dictionary in Linux Bridge agent 2019-12-19 19:38:37 +00:00
ip_link_support.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
ip_monitor.py Trivial: Move platform independent modules to common dir 2018-08-14 09:54:01 +03:00
ipset_manager.py Parametrize ipset locking with network namespace 2019-04-24 20:05:28 +00:00
iptables_comments.py Iptables firewall driver adds forward rules for trusted ports 2018-03-06 10:13:44 +01:00
iptables_firewall.py Canonicalize IPv6 ICMP protocol name in security groups 2019-05-24 20:05:48 -05:00
iptables_manager.py Merge "Do not initialize the iptables nat table in the dhcp-agent" 2019-04-26 06:42:34 +00:00
keepalived.py Do not link up HA router gateway in backup node 2020-04-06 11:45:18 +00:00
l3_tc_lib.py Use Pyroute2 "add_tc_qdisc" function in l3_tc_lib 2019-07-05 08:13:07 +00:00
pd.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00
pd_driver.py use PROVISIONAL_IPV6_PD_PREFIX from neutron-lib 2017-11-14 12:26:43 -07:00
ra.py Add radvd_user config option 2019-10-25 08:14:45 +00:00
tc_lib.py Use Pyroute2 "list_tc_qdiscs" function in l3_tc_lib 2019-07-05 08:11:00 +00:00
utils.py Fix race condition when getting cmdline 2019-09-18 21:32:33 -04:00
xenapi_root_helper.py Fix bandit warning 2019-05-10 08:38:34 -04:00