summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-10 09:08:21 +0000
committerGerrit Code Review <review@openstack.org>2017-06-10 09:08:21 +0000
commita82b4c59441fc5e9b98e87505a9f87e602d25c47 (patch)
tree90919fb90cccb4255cfe00412257bc637629feb4
parent7030a99cc07efa709a3145bd044913b16982d59b (diff)
parentdcb11ee799033803e0644ed447ac416de900a897 (diff)
Merge "NSX|V3: ensure 'exclude' tag is correctly set" into stable/ocata
-rw-r--r--vmware_nsx/plugins/nsx_v3/plugin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py
index 075afdb..e2914cb 100644
--- a/vmware_nsx/plugins/nsx_v3/plugin.py
+++ b/vmware_nsx/plugins/nsx_v3/plugin.py
@@ -2280,6 +2280,10 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
2280 tags_update += self.nsxlib.ns_group.get_lport_tags( 2280 tags_update += self.nsxlib.ns_group.get_lport_tags(
2281 updated_port.get(ext_sg.SECURITYGROUPS, []) + 2281 updated_port.get(ext_sg.SECURITYGROUPS, []) +
2282 updated_port.get(provider_sg.PROVIDER_SECURITYGROUPS, [])) 2282 updated_port.get(provider_sg.PROVIDER_SECURITYGROUPS, []))
2283 if (updated_excluded and
2284 utils.is_nsx_version_2_0_0(self._nsx_version)):
2285 tags_update.append({'scope': security.PORT_SG_SCOPE,
2286 'tag': nsxlib_consts.EXCLUDE_PORT})
2283 else: 2287 else:
2284 self._update_lport_with_security_groups( 2288 self._update_lport_with_security_groups(
2285 context, lport_id, 2289 context, lport_id,