def aggregate_metadata_get_by_host(context, host, key=None):
    return IMPL.aggregate_metadata_get_by_host(context, host, key)
Get metadata for all aggregates that host belongs to.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/aggregate_metadata_get_by_host