From 337104e066f2b8be9dcd66cce784c74ca2421c38 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Thu, 10 Jan 2019 10:29:42 +0200 Subject: [PATCH] NSX|V3: remove redundent ens check Change-Id: If0c11bce0a1bbbd4116ba37f40609efcd3513056 --- vmware_nsx/plugins/nsx_v3/plugin.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index e9f27cb67c..8331014083 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -2070,13 +2070,6 @@ class NsxV3Plugin(nsx_plugin_common.NsxPluginV3Base, if is_ens_tz_port: self._disable_ens_portsec(port_data) - if (cfg.CONF.nsx_v3.disable_port_security_for_ens and - not self._ens_psec_supported()): - LOG.warning("Disabling port security for network %s", - port_data['network_id']) - port_data[psec.PORTSECURITY] = False - port_data['security_groups'] = [] - is_external_net = self._network_is_external( context, port_data['network_id'])