NSX|P: Fix segment port vif type
Change-Id: I8c9f6a5b9385a3cfb50505cc26cd0d51cd2e55ab
This commit is contained in:
parent
3a5fe8043b
commit
5eec591ce2
@ -624,7 +624,7 @@ class NsxPolicyPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||||||
attachment_type = vif_id = None
|
attachment_type = vif_id = None
|
||||||
if device_owner and device_owner != l3_db.DEVICE_OWNER_ROUTER_INTF:
|
if device_owner and device_owner != l3_db.DEVICE_OWNER_ROUTER_INTF:
|
||||||
vif_id = port_data['id']
|
vif_id = port_data['id']
|
||||||
attachment_type = nsxlib_consts.ATTACHMENT_VIF
|
attachment_type = policy_constants.ATTACHMENT_INDEPENDENT
|
||||||
tags = self.nsxpolicy.build_v3_api_version_project_tag(
|
tags = self.nsxpolicy.build_v3_api_version_project_tag(
|
||||||
context.tenant_name)
|
context.tenant_name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user