Merge "Explicitly remove nsgroup form the nsgroup container on secgroup delete"

This commit is contained in:
Jenkins 2015-11-11 16:54:35 +00:00 committed by Gerrit Code Review
commit bca69ea4e3
1 changed files with 1 additions and 0 deletions

View File

@ -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):