neutron/neutron/agent/l3
Slawek Kaplonski 13b894288e Fix deletion of subnet_id from pd_subnets
In the RouterInfo._process_internal_ports() method when it process
old ports and port belongs to the subnet with CIDR assigned by
Prefix Delegation it will try to remove subnet_id key from the
pd_subnets dict.
However it seems that in some case it may happen that such subnet_id key
is not added to the pd_subnets dict and processing of ports fails.

We shouldn't fail in such case, if there is no subnet_id key in this
dict we should be good as we want to delete it simply. So this patch
changes that to not raise KeyError in such case.

Change-Id: I6e6d890c196716c0ef4bcc2922f1ec4c142a6e79
Closes-Bug: #1892364
2020-08-20 22:10:21 -04:00
..
extensions Provide correct fip cidr when deleting port forwarding 2020-04-21 08:39:49 +08:00
__init__.py Move classes out of l3_agent.py 2014-12-10 15:19:28 -07:00
agent.py Set process name for agents 2020-07-01 12:28:29 +02:00
dvr.py Move arp device check out of loop 2020-01-04 15:48:11 +08:00
dvr_edge_ha_router.py Do not link up HA router gateway in backup node 2020-03-25 16:09:42 +08:00
dvr_edge_router.py Merge "Implement "RouterInfo.update_routing_table" with Pyroute2" 2020-07-02 13:16:27 +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 Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -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-03-25 16:09:42 +08:00
ha_router.py Support gateway which is not in subnet CIDR in ha_router 2020-07-09 09:11:28 +00:00
item_allocator.py Fix flake8 N534 untranslated exception message 2018-10-19 15:46:04 -04:00
keepalived_state_change.py Remove "six" library 2020-07-28 16:55:52 +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 Fix deletion of subnet_id from pd_subnets 2020-08-20 22:10:21 -04:00