The change I81806a43ecc6f0a7b293ce3e70d09d1e266b9f02
effectively removed _delete_port from NeutronDbPluginV2.
Unfortunately, it's still used directly by l3_dvr_db.
Closes-Bug: #
1474639
Change-Id: I6ffb1d2d6f072ac1669637943eacad182244ca5c
filters=device_filter)
for p in ports:
if self._get_vm_port_hostid(context, p['id'], p) == host_id:
- self._core_plugin._delete_port(context, p['id'])
+ self._core_plugin.ipam.delete_port(context, p['id'])
return
def create_fip_agent_gw_port_if_not_exists(
plugin.get_ports.assert_called_with(self.ctx, filters={
'network_id': ['network_id'],
'device_owner': [l3_const.DEVICE_OWNER_AGENT_GW]})
- plugin._delete_port.assert_called_with(self.ctx, 'my_port_id')
+ plugin.ipam.delete_port.assert_called_with(self.ctx, 'my_port_id')
def _delete_floatingip_test_setup(self, floatingip):
fip_id = floatingip['id']