diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index b86b5256e1..0cefe823eb 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -2601,18 +2601,6 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, if floatingip['floatingip']['port_id'] else const.FLOATINGIP_STATUS_DOWN)) - def get_floatingips(self, context, filters=None, fields=None, - sorts=None, limit=None, marker=None, - page_reverse=False): - #NOTE(abhiraut): Although this method does not do anything fancy - # we have defined it here so that TaaS driver - # can retrieve floating IP for a particular port ID - # using filters. - return super(NsxV3Plugin, self).get_floatingips( - context, filters=filters, fields=fields, - sorts=sorts, limit=limit, marker=marker, - page_reverse=page_reverse) - def create_floatingip(self, context, floatingip): new_fip = self._create_floating_ip_wrapper(context, floatingip) router_id = new_fip['router_id'] diff --git a/vmware_nsx/services/neutron_taas/nsx_v3/driver.py b/vmware_nsx/services/neutron_taas/nsx_v3/driver.py index 724170b149..3b9a2dac5b 100644 --- a/vmware_nsx/services/neutron_taas/nsx_v3/driver.py +++ b/vmware_nsx/services/neutron_taas/nsx_v3/driver.py @@ -198,7 +198,7 @@ class NsxV3Driver(base_driver.TaasBaseDriver, # Verify whether destination port is L3 reachable. i.e. destination # port has a floating IP address. fips = self._nsx_plugin.get_floatingips( - context._plugin_context, filters={'port_id': dest_port_id}) + context._plugin_context, filters={'port_id': [dest_port_id]}) if not fips: msg = (_("Destination port %s must have a floating IP for " "L3 SPAN") % dest_port_id)