neutron/neutron/agent
Hemanth Nakkina ab2e93ffd4 Fix deletion of rfp interfaces when router is re-enabled
1. When dvr router is disabled and enabled back, the rfp
interfaces are deleted on the nodes without snat-* namespace.
This is due to creation of snat namespace during router
initialization stage on all the nodes. At later stages, since
the gw_port_host is not bounded on this node, external gateway
is removed which triggers removal of rfp interfaces and snat
namespace.
Create snat namespace only on the nodes where gw_port_host is
bounded.

2. In case of DVR SNAT, when the l3 agent is rescheduled to
another node, the rfp interfaces on qrouter-* namespace are
removed. Instead of calling external_gateway_removed() which
further deletes the rfp interfaces, the qg-, sg- interfaces
need to be unplugged and snat namespace need to be deleted.

To resolve unit test errors after clean cherrypick, the bridge is
added to the unplug function call in external_gateway_updated.

Closes-Bug: #1894843
Change-Id: Ic35c2f9bceacec8eeba67a2b1ea0cd0b0ffc72fe
(cherry picked from commit 393d484e07)
2021-03-16 17:04:13 +05:30
..
common Fix wrong packet_type set for IPv6 GRE tunnels in OVS 2021-03-03 11:22:08 +01:00
dhcp Improve DHCP agent's debug messages 2021-01-24 09:58:49 +00:00
l2 Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
l3 Fix deletion of rfp interfaces when router is re-enabled 2021-03-16 17:04:13 +05:30
linux Merge "[OVS FW] Clean conntrack entries with mark == CT_MARK_INVALID" into stable/rocky 2021-03-10 18:20:03 +00:00
metadata Remove extra header fields in proxied metadata requests 2020-03-03 20:11:38 +00:00
ovsdb Make OVSDB debug logging optional 2018-04-18 15:57:18 -05:00
windows windows: fix terminating processes 2020-11-10 07:57:02 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
_topics.py Add binding_deactivate method to Linux bridge agent 2018-07-14 16:46:01 -05:00
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
resource_cache.py Ignore first local port update notification 2019-07-10 18:15:24 +00:00
rpc.py Ignore first local port update notification 2019-07-10 18:15:24 +00:00
securitygroups_rpc.py Add accepted egress direct flow 2020-03-26 08:23:32 +00:00