https://blueprints.launchpad.net/cinder/+spec/add-pagination-to-other-resource
This spec aims to continue the work that we did in Liberty, adding pagination support to other cinder resources.
In Liberty release, we have added pagination to backups and snapshots according bp[1]. There are still some work that hasn’t been done yet. In Mitaka, we intend to add pagination support to CG, Volume Type and Qos specs.
In large scale cloud systems, end users and manage system that’s on top of Cinder could make quick querying by using pagination, filter and sort functions to improve performance of querying.
None
None
According the API-wg guideline about pagination, filter and sort[2]:
GET /v2/{project_id}/{resource}?limit=xxx&marker=xxx&sort=xxx&{filter}=xxx
RESP BODY: {"resource_links": [{xxx}],
"resource": [{xxx}, {xxx}, ..., {xxx}]
}
None
None
None
None
None
None
None
Both unit and Tempest tests are needed to be created to cover the code change.
The cinder API documention will need to be updated to reflect the REST API changes.
[1]https://blueprints.launchpad.net/cinder/+spec/extend-limit-implementations [2]https://github.com/openstack/api-wg/blob/master/guidelines/pagination_filter_sort.rst
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.