neutron/neutron
Swaminathan Vasudevan 5212c9c563 DVR: _get_floatingips_bound_to_host throws KeyError
_get_floatingips_bound_to_host function was introduced
recently in dvr_local_router to retrieve the external
interface name for centralizing the floatingip.

This function was throwing a 'KeyError' on fip['host'] and
not required for centralized floatingips anymore.

The get_external_device_interface_name in dvr_local_router
will try to get the 'fg' interface that is required for
the bound floating-ips to clear up some of the rules.
In the case of the centralized unbound floating-ips, the
'qg' external interface is retreived from
get_snat_external_device_interface_name that is defined
in 'dvr_edge_router' and based on the namespace.

So _get_floatingips_bound_to_host can be removed from
get_external_device_inteface_name.

Closes-Bug: 1712412

Change-Id: I94c0a071df32f572745a2c29942956c3da9f309b
(cherry picked from commit 47fbc6157a)
2017-08-25 18:05:55 +00:00
..
agent DVR: _get_floatingips_bound_to_host throws KeyError 2017-08-25 18:05:55 +00:00
api Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
callbacks Merge "service: add callback AFTER_SPAWN" 2017-05-20 09:09:12 +00:00
cmd Make code follow log translation guideline 2017-08-14 10:53:33 -07: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 Add "default" behaviour to QoS policies 2017-05-26 23:31:36 +00:00
db Merge "DVR: Provide options for DVR North/South routing centralized" into stable/pike 2017-08-19 03:59:10 +00:00
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 Make code follow log translation guideline 2017-08-14 10:53:33 -07: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: _get_floatingips_bound_to_host throws KeyError 2017-08-25 18:05:55 +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 Make code follow log translation guideline 2017-08-14 10:53:33 -07: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