Merge "Remove Floating IP DNS record upon associated port deletion" into stable/queens

This commit is contained in:
Zuul 2020-04-10 04:23:53 +00:00 committed by Gerrit Code Review
commit c3f2340751
2 changed files with 8 additions and 0 deletions

View File

@ -1638,6 +1638,9 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase,
'context': context,
'router_ids': router_ids,
}
# Process DNS record removal after committing the transaction
if self._is_dns_integration_supported:
self._process_dns_floatingip_delete(context, fip.to_dict())
registry.notify(resources.FLOATING_IP, events.AFTER_UPDATE, self,
**assoc_result)
return router_ids

View File

@ -0,0 +1,5 @@
---
fixes:
- |
[`bug 1812168 <https://bugs.launchpad.net/neutron/+bug/1812168>`_]
Remove Floating IP DNS record upon associated port deletion.