neutron/neutron
Jakub Libosvar 188f5c29a9 dvr: Don't raise KeyError in _get_floatingips_bound_to_host
We thought _get_floatingips_bound_to_host is not needed but removing the
method caused sending garps for fip that doesn't belong to node during
the full-sync.

This patch just replaces dict lookup with get() method, so fips are
filtered based on presence on the host and if host is not set on fip, it
won't raise a KeyError.

Note: This patch hasn't been merged in master yet because of KeyError happening in grenade job now.

Co-Authored-By: Swaminathan Vasudevan <SVasudevan@suse.com>

Related-bug: #1712412
Related-bug: #1713927

Change-Id: I0fbc772d757fb13b788f9df8d6d7d28d288d054a
2017-09-01 14:40:09 +00:00
..
agent dvr: Don't raise KeyError in _get_floatingips_bound_to_host 2017-09-01 14:40:09 +00:00
api Stop logging versions on every agent update 2017-08-25 17:37:32 +00:00
callbacks Merge "service: add callback AFTER_SPAWN" 2017-05-20 09:09:12 +00:00
cmd Fix test_keepalived_ipv6_support for Keepalived v1.2.20 2017-08-24 09:02:42 +00:00
common Merge "DVR: Provide options for DVR North/South routing centralized" into stable/pike 2017-08-19 03:59:10 +00:00
conf DVR: Provide options for DVR North/South routing centralized 2017-08-18 22:09:37 +00:00
core_extensions Fix default qos policy when creating network 2017-08-24 14:35:38 +00:00
db Remove code to debug auto address allocation error 2017-08-31 14:54:34 +05:30
debug Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
extensions Merge "Make code follow log translation guideline" into stable/pike 2017-08-18 23:56:26 +00:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
locale Imported Translations from Zanata 2017-07-18 08:36:04 +00:00
notifiers Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
objects Allow to set/modify network mtu 2017-08-11 00:57:34 +00:00
pecan_wsgi Log policy filters in one line 2017-08-23 21:23:01 +00:00
plugins Add port dns_domain processing logic 2017-08-18 19:44:54 -07:00
privileged Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
quota Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
scheduler Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
server Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
services Treat Filter as Dict in get_policies 2017-08-21 15:23:21 +00:00
tests dvr: Don't raise KeyError in _get_floatingips_bound_to_host 2017-09-01 14:40:09 +00:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
neutron_plugin_base_v2.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
opts.py Remove deprecated support for QoS notification_drivers 2017-04-17 06:32:01 -07:00
policy.py Log policy filters in one line 2017-08-23 21:23:01 +00:00
service.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00