def tenant_create(name, description=None, enabled=True, profile=None, **connection_args):
 kstone = auth(profile, **connection_args)
 new = getattr(kstone, _TENANTS, None).create(name, description, enabled)
 return tenant_get(new.id, profile=profile, **connection_args)

def tenant_create ( name , description = None , enabled = True , profile = None , ** connection_args ) : kstone = auth ( profile , ** connection_args ) new = getattr ( kstone , _TENANTS , None ) . create ( name , description , enabled ) return tenant_get ( new . id , profile = profile , ** connection_args )
create a keystone tenant cli examples: .