Pass context in disassociate_floatingip notification
With L3 flavors, disassociate_ports to fip is handled by
floatingip_precommit_update and it does not have separate
callback like L3 service plugin for disassociating ports from
fips, precommit_update needs context information to process
an update on a floating ip.
Change-Id: Ia31b9e1d9f31265da84b865a776da99358ca9b75
(cherry picked from commit d9aecfaa9d
)
This commit is contained in:
parent
27c53ebc97
commit
44e73de280
|
@ -1615,7 +1615,7 @@ class L3_NAT_dbonly_mixin(l3.RouterPluginBase,
|
|||
context, values, fixed_port_id=port_id)
|
||||
for fip in floating_ip_objs:
|
||||
registry.notify(resources.FLOATING_IP, events.PRECOMMIT_UPDATE,
|
||||
self,
|
||||
self, context=context,
|
||||
floatingip={l3_apidef.FLOATINGIP: values},
|
||||
floatingip_db=fip,
|
||||
old_floatingip=old_fips[fip.id],
|
||||
|
|
Loading…
Reference in New Issue