def flavor_get_by_name(context, name):
    return IMPL.flavor_get_by_name(context, name)
Get instance type by name.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/flavor_get_by_name