Merge "Explicitly remove nsgroup form the nsgroup container on secgroup delete"
This commit is contained in:
commit
bca69ea4e3
|
@ -1435,6 +1435,7 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
|||
nsgroup_id, section_id = security.get_sg_mappings(context.session, id)
|
||||
super(NsxV3Plugin, self).delete_security_group(context, id)
|
||||
firewall.delete_section(section_id)
|
||||
firewall.remove_nsgroup_member(self.nsgroup_container, nsgroup_id)
|
||||
firewall.delete_nsgroup(nsgroup_id)
|
||||
|
||||
def create_security_group_rule(self, context, security_group_rule):
|
||||
|
|
Loading…
Reference in New Issue