neutron/neutron/agent/l3
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
..
extensions [QoS] Clear rate limits when default null values are used 2018-07-24 15:52:26 +02:00
__init__.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
agent.py Delay HA router transition from "backup" to "master" 2020-04-21 15:30:25 +02:00
dvr.py Revert "DVR: Fix allowed_address_pair IP, ARP table update by neutron agent" 2018-06-18 22:29:42 +00:00
dvr_edge_ha_router.py Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
dvr_edge_router.py Do not initialize snat-ns twice 2020-02-24 04:47:01 +00:00
dvr_fip_ns.py DVR: Correctly change MTU in fip namespace 2019-04-12 06:27:36 +00:00
dvr_local_router.py Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
dvr_router_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dvr_snat_ns.py Switch isolated metadata proxy to bind to 169.254.169.254 2019-02-12 10:30:47 +00:00
fip_rule_priority_allocator.py Fix two spelling mistakes 2016-05-30 01:58:04 +00:00
ha.py Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
ha_router.py Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00
item_allocator.py DVR: Check for item_allocator key before releasing 2018-04-06 02:37:48 +00:00
keepalived_state_change.py Remove rootwrap configuration from neutron-keepalived-state-change 2019-05-21 20:30:46 +00:00
l3_agent_extension.py Add a new method ha_state_change to L3 agent extension 2017-10-18 09:41:38 +07:00
l3_agent_extension_api.py Merge "Add a new method get_router_info to L3 agent extension API" 2017-10-22 17:00:22 +00:00
l3_agent_extensions_manager.py Add a new method ha_state_change to L3 agent extension 2017-10-18 09:41:38 +07:00
legacy_router.py Remove deprecated send_arp_for_ha option 2017-04-18 13:38:35 -04:00
link_local_allocator.py spelling error: 2016-06-30 10:17:18 +08:00
namespace_manager.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
namespaces.py Disable IPv6 forwarding by default on HA routers 2018-06-03 19:10:40 +00:00
router_info.py Do not link up HA router gateway in backup node 2020-04-23 21:45:06 +00:00