Exemple #1
0
def return_security_group_non_existing(context, project_id, group_name):
    raise exception.SecurityGroupNotFoundForProject(project_id=project_id,
                                                 security_group_id=group_name)
Exemple #2
0
 def sec_group_get(ctx, proj, name):
     if name == group:
         return True
     else:
         raise exception.SecurityGroupNotFoundForProject(
             project_id=proj, security_group_id=name)