NSXv3: Avoid AttributeError in create_security_group exception handling
Change-Id: Iba1731e1fd4d3cd2bed9f79675636771e3189270
This commit is contained in:
parent
57aa0ffd5e
commit
1239cee9a0
@ -1690,8 +1690,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']
|
||||
|
Loading…
Reference in New Issue
Block a user