Explicitly remove nsgroup form the nsgroup container on secgroup delete
Closes-Bug: #1517911 Change-Id: I91820eed4417ee1b741ac6c28ea7f9ae71e61a75
This commit is contained in:
parent
452b7aac7f
commit
3fdd6dd507
|
@ -1404,6 +1404,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