Merge "Policy plugin: fix port creation parameters"

This commit is contained in:
Zuul 2018-10-25 05:58:15 +00:00 committed by Gerrit Code Review
commit a3bc1e4f98

View File

@ -435,9 +435,9 @@ class NsxPolicyPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
vif_id = port_data['id'] vif_id = port_data['id']
self.nsxpolicy.segment_port.create_or_overwrite( self.nsxpolicy.segment_port.create_or_overwrite(
port_data['network_id'],
port_data['id'],
name, name,
port_data['network_id'],
port_id=port_data['id'],
description=port_data.get('description'), description=port_data.get('description'),
address_bindings=address_bindings, address_bindings=address_bindings,
vif_id=vif_id) vif_id=vif_id)