code: def add_tenant_to_flavor(request, flavor, tenant):
      
      return _nova.novaclient(request).flavor_access.add_tenant_access(
          flavor=flavor, tenant=tenant)
docs: Add a tenant to the given flavor access list.