We should support to return a list of servers according to users' requirements.
In this patch, marker, limit, sort_key and sort_dir were added in server list
API.
- marker is used to display a list of servers after marker
- limit is used to determinate the maximum number of servers to display
- sort_key is used to sort the returned server list by specified key value
- sort_dir is used to select a sort direction
Reviewed: https:/ /review. openstack. org/514506 /git.openstack. org/cgit/ openstack/ mogan/commit/ ?id=05cc14d3999 7cf13f432988528 24fbca3c6a3ddf
Committed: https:/
Submitter: Zuul
Branch: master
commit 05cc14d39997cf1 3f43298852824fb ca3c6a3ddf
Author: Xinran <email address hidden>
Date: Tue Oct 24 10:13:48 2017 +0800
Pagination support for server list API
We should support to return a list of servers according to users' requirements.
In this patch, marker, limit, sort_key and sort_dir were added in server list
API.
- marker is used to display a list of servers after marker
- limit is used to determinate the maximum number of servers to display
- sort_key is used to sort the returned server list by specified key value
- sort_dir is used to select a sort direction
DocImpact
APIImpact
Change-Id: Id70e965794c82a 0a29e53d4364f65 b0f39042c7c
Closes-Bug: #1726665