Merge "NSX|V3 update port binding for callbacks notifications"

This commit is contained in:
Zuul 2018-08-19 06:18:27 +00:00 committed by Gerrit Code Review
commit 2e8c80eb0f

View File

@ -3394,7 +3394,10 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
break
with db_api.context_manager.writer.using(context):
# get the original port, and keep it honest as it is later used
# for notifications
original_port = super(NsxV3Plugin, self).get_port(context, id)
self._extend_get_port_dict_qos_and_binding(context, original_port)
self._remove_provider_security_groups_from_list(original_port)
port_data = port['port']
nsx_lswitch_id, nsx_lport_id = nsx_db.get_nsx_switch_and_port_id(