neutron/neutron/services
Brian Haley 97f6e2569e Use dict .get() to avoid a KeyError in the segment plugin
On subnet delete, the supplied subnet in the post hook
could contain a subnet without certain items, leading to
a KeyError in the segment plugin.  Fix a number of these
occurences so this cannot happen.

Also fixed similar code in the segment tests.

Change-Id: I645610febde446b78ed6edd868e699673648a4de
Closes-bug: #1868724
(cherry picked from commit 07b015d789)
(cherry picked from commit b019821abd)
2020-09-04 13:09:13 +00:00
..
auto_allocate Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
externaldns Optionally use admin powers when deleting DNS records 2020-07-13 11:32:03 +00:00
flavors Implement filter validation 2018-07-19 04:13:43 +00:00
l3_router use api def ALIAS in _supported_extension_aliases 2019-02-15 11:26:28 -07:00
logapi remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
loki use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
metering Retry creating iptables managers and adding metering rules 2019-11-06 14:11:38 +00:00
network_ip_availability Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
network_segment_range Fix error 500 during segment range creation 2019-04-09 06:48:54 +00:00
placement_report Locate RP-tree parent by hypervisor name 2019-12-23 12:11:14 +01:00
portforwarding port_forwarding: validate args before invoking db update 2020-08-20 14:36:34 +00:00
qos Refactor qos_plugin._extend_port_resource_request 2019-07-05 16:39:11 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Merge "Fix _find_related_obj() RuntimeError output" 2019-03-02 06:41:04 +00:00
segments Use dict .get() to avoid a KeyError in the segment plugin 2020-09-04 13:09:13 +00:00
tag Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
timestamp remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
trunk Wait before deleting trunk bridges for DPDK vhu 2020-04-03 21:11:37 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Merge "Select service_provider on the basis of service_module" 2018-11-15 12:47:09 +00:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00