From 5eec591ce2cb3a8043e1d0c9c721a8224399cdb4 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Thu, 20 Dec 2018 11:35:32 +0200 Subject: [PATCH] NSX|P: Fix segment port vif type Change-Id: I8c9f6a5b9385a3cfb50505cc26cd0d51cd2e55ab --- vmware_nsx/plugins/nsx_p/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/plugins/nsx_p/plugin.py b/vmware_nsx/plugins/nsx_p/plugin.py index cb20a06647..7561cd9226 100644 --- a/vmware_nsx/plugins/nsx_p/plugin.py +++ b/vmware_nsx/plugins/nsx_p/plugin.py @@ -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)