neutron/neutron/agent/l3
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
..
extensions Agent - Conntrack Helper 2019-08-29 10:41:13 +02:00
__init__.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
agent.py Merge "Remove get_external_network_id for router" 2019-09-25 19:30:14 +00:00
dvr.py Revert "DVR: Fix allowed_address_pair IP, ARP table update by neutron agent" 2018-06-07 15:32:20 +00:00
dvr_edge_ha_router.py Do not link up HA router gateway in backup node 2020-04-06 11:45:18 +00:00
dvr_edge_router.py Do not initialize snat-ns twice 2020-02-25 01:53:25 +00:00
dvr_fip_ns.py Merge "DVR: Correctly change MTU in fip namespace" 2019-04-12 05:48:09 +00:00
dvr_local_router.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
dvr_router_base.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00
dvr_snat_ns.py Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +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-06 11:45:18 +00:00
ha_router.py Do not link up HA router gateway in backup node 2020-04-06 11:45:18 +00:00
item_allocator.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
keepalived_state_change.py Set neutron-keepalived-state-change proctitle 2019-05-23 15:22:35 +08:00
l3_agent_extension_api.py Add router_factory to l3-agent and L3 extension API 2019-04-26 10:22:50 +09:00
l3_agent_extensions_manager.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00: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 Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
router_info.py Do not link up HA router gateway in backup node 2020-04-06 11:45:18 +00:00