diff --git a/vmware_nsx/plugins/nsx_v/plugin.py b/vmware_nsx/plugins/nsx_v/plugin.py index 8a82b7b4c2..99bcff62d6 100644 --- a/vmware_nsx/plugins/nsx_v/plugin.py +++ b/vmware_nsx/plugins/nsx_v/plugin.py @@ -3156,11 +3156,20 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin, since the actual backend work was already done by the router driver, and it may cause a deadlock. """ + port_data = {'fixed_ips': ext_ips} updated_port = super(NsxVPluginV2, self).update_port( context, router.gw_port['id'], {'port': port_data}) self._extension_manager.process_update_port( context, port_data, updated_port) + registry.notify(resources.ROUTER_GATEWAY, + events.AFTER_UPDATE, + self._update_current_gw_port, + context=context, + router_id=router_id, + router=router, + network_id=router.gw_port.network_id, + updated_port=updated_port) context.session.expire(router.gw_port) def _update_router_gw_info(self, context, router_id, info,