From bbfa69e54bbfac96c60f4e0a537107ceda6d2366 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Wed, 21 Oct 2020 11:43:41 +0200 Subject: [PATCH] DVS Plugin: Fix port creation Change-Id: I9d7ab4a0e0646ccaebf8e69533839b2575da9ffa --- vmware_nsx/plugins/dvs/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmware_nsx/plugins/dvs/plugin.py b/vmware_nsx/plugins/dvs/plugin.py index 7457b2c2bc..09149ea212 100644 --- a/vmware_nsx/plugins/dvs/plugin.py +++ b/vmware_nsx/plugins/dvs/plugin.py @@ -455,6 +455,7 @@ class NsxDvsV2(addr_pair_db.AllowedAddressPairsMixin, if network_type and network_type == 'vlan': # Not allowed to enable port security on vlan DVS ports port_data[psec.PORTSECURITY] = False + port_security = False else: port_security = self._get_network_security_binding( context, neutron_db['network_id'])