Merge "NSXv3: Avoid AttributeError in create_security_group exception handling"

This commit is contained in:
Jenkins 2016-03-12 07:47:45 +00:00 committed by Gerrit Code Review
commit 8323a40b6e

View File

@ -1688,8 +1688,8 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
secgroup, resource_type='os-neutron-secgr-id',
project_name=context.tenant_name)
name = security.get_nsgroup_name(secgroup)
ns_group = None
firewall_section = None
ns_group = {}
firewall_section = {}
if not default_sg:
tenant_id = secgroup['tenant_id']