@objects.objectify(objects.alarm)
def alarm_get_list(self, limit=None, marker=None, sort_key=None, sort_dir=None, include_suppress=False):
    query = model_query(models.Alarm)
    query = add_alarm_filter_by_event_suppression(query, include_suppress)
    query = add_alarm_mgmt_affecting_by_event_suppression(query)
    query = add_alarm_degrade_affecting_by_event_suppression(query)
    return _paginate_query(models.Alarm, limit, marker, sort_key, sort_dir, query)
@objects.objectify(objects.alarm)
def alarm_get_list(self, limit=None, marker=None, sort_key=None, sort_dir=None, include_suppress=False):
    query = model_query(models.Alarm)
    query = add_alarm_filter_by_event_suppression(query, include_suppress)
    query = add_alarm_mgmt_affecting_by_event_suppression(query)
    query = add_alarm_degrade_affecting_by_event_suppression(query)
    return _paginate_query(models.Alarm, limit, marker, sort_key, sort_dir, query)