neutron/neutron/services
Brian Haley b019821abd 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)
2020-05-04 13:59:34 +00:00
..
auto_allocate Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
conntrack_helper Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
externaldns Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
flavors use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
l3_router Implement extension: extraroute-atomic 2019-09-11 13:58:47 +02:00
logapi use logapi constants from neutron-lib 2019-05-22 14:49:21 -06:00
loki use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
metering Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
network_ip_availability use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
network_segment_range Use segment range exceptions from neutron-lib 2019-05-02 07:03:30 +08:00
placement_report Locate RP-tree parent by hypervisor name 2019-12-20 13:25:13 +01:00
portforwarding Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
qos Improve "QoSPlugin._validate_create_port_callback" 2019-07-09 16:54:03 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions use api def ALIAS in supported_extension_aliases 2019-04-08 08:30:20 -06:00
segments Use dict .get() to avoid a KeyError in the segment plugin 2020-05-04 13:59:34 +00:00
tag Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04: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:16 +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