@profiler.trace
def add_tenant_to_flavor(request, flavor, tenant):
 return novaclient(request).flavor_access.add_tenant_access(flavor=flavor, tenant=tenant)

@ profiler . trace def add_tenant_to_flavor ( request , flavor , tenant ) : return novaclient ( request ) . flavor_access . add_tenant_access ( flavor = flavor , tenant = tenant )
add a tenant to the given flavor access list .