DVS Plugin: Fix port creation

Change-Id: I9d7ab4a0e0646ccaebf8e69533839b2575da9ffa
This commit is contained in:
asarfaty 2020-10-21 11:43:41 +02:00 committed by Adit Sarfaty
parent 9a0061b8ab
commit 9bfb6ff1b2
1 changed files with 1 additions and 0 deletions

View File

@ -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'])