neutron/neutron/agent/l3
Hemanth Nakkina c689ac5a66 Update arp entry of snat port on qrouter ns
In some cases, the arp entry of snat port is not updated
in qrouter namespace. l3-agent calls get_ports_by_subnet()
while setting arps for the subnet. And the snat port is
not returned if it is still unbound. One of the scenario
this is observed is when router is created, external
gateway set and internal subnet attached to router in
quick succession.

This patch retrieves snat port details from router info
as well and updates arp entry for snat port.

Conflicts:
    neutron/agent/l3/dvr_local_router.py

Closes-Bug: #1933092
Change-Id: I7ee797b4b930306cf6360922d855f8b24f1b813d
(cherry picked from commit be7d0bb6ab)
(cherry picked from commit f1a9f4ed62)
2021-09-03 09:34:36 +02:00
..
extensions Clean port forwarding cache when router is DOWN 2021-03-10 14:37:01 +00:00
__init__.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
agent.py Add extra logs to the network update callback in L3 agent 2021-08-05 12:38:28 +02: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 Fix deletion of rfp interfaces when router is re-enabled 2021-02-24 10:43:15 +00:00
dvr_fip_ns.py Ensure fip ip rules deleted when fip removed 2020-09-08 16:02:28 +01:00
dvr_local_router.py Update arp entry of snat port on qrouter ns 2021-09-03 09:34:36 +02: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 Merge "Remove update_initial_state() method from the HA router" into stable/train 2021-03-11 18:26:23 +00:00
item_allocator.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
keepalived_state_change.py Force to close http connection after notify about HA router status 2021-06-22 14:37:53 +00: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 Add locks for methods which sets nat rules in router 2020-12-04 11:46:56 +00:00