'Returns the list of qos_specs.'

def index(self, req):

    context = req.environ['cinder.context']
    authorize_get_all(context)
    params = req.params.copy()
    (marker, limit, offset) = common.get_pagination_params(params)
    (sort_keys, sort_dirs) = common.get_sort_params(params)
    filters = params
    allowed_search_options = ('id', 'name', 'consumer')
    utils.remove_invalid_filter_options(context, filters, allowed_search_options)
    specs = qos_specs.get_all_specs(context, filters=filters, marker=marker, limit=limit, offset=offset, sort_keys=sort_keys, sort_dirs=sort_dirs)
    return self._view_builder.summary_list(req, specs)
