neutron/neutron/services
Brian Haley ce8d891c79 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:49 +00:00
..
auto_allocate Implement filter validation 2018-07-19 04:13:43 +00:00
externaldns Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
flavors Implement filter validation 2018-07-19 04:13:43 +00:00
l3_router Merge "Implement filter validation" 2018-07-24 15:11:07 +00:00
logapi Merge "ovs fw: apply the NORMAL action on egress traffic in a single table" into stable/rocky 2018-09-07 18:40:00 +00: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-04 21:40:22 +00:00
network_ip_availability Implement filter validation 2018-07-19 04:13:43 +00:00
portforwarding port_forwarding: validate args before invoking db update 2020-08-06 14:38:29 -04:00
qos Fix QoS rule update 2019-03-28 08:51:38 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Run revision bump operations en masse 2019-11-25 13:55:43 -05:00
segments Use dict .get() to avoid a KeyError in the segment plugin 2020-09-04 13:09:49 +00:00
tag Implement filter validation 2018-07-19 04:13:43 +00:00
timestamp Merge "use sqla functions from neutron-lib" 2018-07-26 07:52:42 +00:00
trunk Wait before deleting trunk bridges for DPDK vhu 2020-04-03 21:11:57 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py use db utils from lib 2018-07-02 08:24:36 -06:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00