@base.remotable_classmethod
def get_by_host(cls, context, host):
    db_services = db.service_get_all_by_host(context, host)
    return base.obj_make_list(context, cls(context), objects.Service, db_services)
@base.remotable_classmethod
def get_by_host(cls, context, host):
    db_services = db.service_get_all_by_host(context, host)
    return base.obj_make_list(context, cls(context), objects.Service, db_services)