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',
|
secgroup, resource_type='os-neutron-secgr-id',
|
||||||
project_name=context.tenant_name)
|
project_name=context.tenant_name)
|
||||||
name = security.get_nsgroup_name(secgroup)
|
name = security.get_nsgroup_name(secgroup)
|
||||||
ns_group = None
|
ns_group = {}
|
||||||
firewall_section = None
|
firewall_section = {}
|
||||||
|
|
||||||
if not default_sg:
|
if not default_sg:
|
||||||
tenant_id = secgroup['tenant_id']
|
tenant_id = secgroup['tenant_id']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user