diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index cddca52110..0b83205c08 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -1237,7 +1237,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin, context.session, new_using_port_id) self._router_port_client.update_by_lswitch_id( nsx_router_id, nsx_net_id, - linked_logical_switch_port_id=new_nsx_port_id, + linked_logical_switch_port_id={ + 'target_id': new_nsx_port_id}, subnets=address_groups) else: self._router_port_client.delete_by_lswitch_id(nsx_net_id)