Delete disassociated floating ips on external network deletion
Also remove redundant check for network in use in bigswitch plugin Closes-Bug: #1238439 Closes-Bug: #1259144 Change-Id: I7586f43c2e99be9df491c68bf1e8658994ffd263
This commit is contained in:
@@ -526,6 +526,7 @@ class OVSNeutronPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
|
||||
session = context.session
|
||||
with session.begin(subtransactions=True):
|
||||
binding = ovs_db_v2.get_network_binding(session, id)
|
||||
self._process_l3_delete(context, id)
|
||||
super(OVSNeutronPluginV2, self).delete_network(context, id)
|
||||
if binding.network_type in constants.TUNNEL_NETWORK_TYPES:
|
||||
ovs_db_v2.release_tunnel(session, binding.segmentation_id,
|
||||
|
||||
Reference in New Issue
Block a user