NSX|P: Fix segment port vif type

Change-Id: I8c9f6a5b9385a3cfb50505cc26cd0d51cd2e55ab
This commit is contained in:
Adit Sarfaty 2018-12-20 11:35:32 +02:00
parent 3a5fe8043b
commit 5eec591ce2
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ class NsxPolicyPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
attachment_type = vif_id = None
if device_owner and device_owner != l3_db.DEVICE_OWNER_ROUTER_INTF:
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(
context.tenant_name)