

def delete(self, req, id):
    'Delete a security group.'
    context = req.environ['nova.context']
    security_group = id._get_security_group(context, id)
    LOG.audit(_('Delete security group %s'), id, context=context)
    db.security_group_destroy(context, security_group.id)
    return exc.HTTPAccepted()

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/contrib/security_groups.py SecurityGroupController.delete/VarMisuse@27/43 `self`->`id`