@classmethod
def create_security_group(cls, name=None, description=None):
    if (name is None):
        name = data_utils.rand_name((cls.__name__ + '-securitygroup'))
    if (description is None):
        description = data_utils.rand_name('description')
    body = cls.security_groups_client.create_security_group(name=name, description=description)['security_group']
    cls.addClassResourceCleanup(test_utils.call_and_ignore_notfound_exc, cls.security_groups_client.delete_security_group, body['id'])
    return body
@classmethod
def create_security_group(cls, name=None, description=None):
    if (name is None):
        name = data_utils.rand_name((cls.__name__ + '-securitygroup'))
    if (description is None):
        description = data_utils.rand_name('description')
    body = cls.security_groups_client.create_security_group(name=name, description=description)['security_group']
    cls.addClassResourceCleanup(test_utils.call_and_ignore_notfound_exc, cls.security_groups_client.delete_security_group, body['id'])
    return body