diff options
author | liyingjun <yingjun.li@kylin-cloud.com> | 2016-06-03 13:16:36 +0800 |
---|---|---|
committer | liyingjun <yingjun.li@kylin-cloud.com> | 2016-07-01 08:47:50 +0800 |
commit | ec53c6c0ec283a4c179bd2845cf0356c27fa5301 (patch) | |
tree | 67b9e94b02ee101710f664c059139aede5c22558 /api-ref/source/os-hypervisors.inc | |
parent | 06fcb4799585bddca6c1e9216164d7a644992b2f (diff) | |
download | nova-ec53c6c0ec283a4c179bd2845cf0356c27fa5301.tar.gz |
Microversion 2.33 adds pagination support for hypervisors
When there are thousands of compute nodes, it would be slow to get the
whole hypervisor list, and it is bad for user experience to display
thousands of items in a table in horizon. This patch is proposed to
support pagination for hypervisor by adding `limit` and `marker` to
the list api.
Implements blueprint: pagination-for-hypervisor
Change-Id: Ie7f8b5c733b383f3e69fa23188e56257e503b5f7
Diffstat (limited to 'api-ref/source/os-hypervisors.inc')
-rw-r--r-- | api-ref/source/os-hypervisors.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/api-ref/source/os-hypervisors.inc b/api-ref/source/os-hypervisors.inc index 602d66b938..acf4b1216c 100644 --- a/api-ref/source/os-hypervisors.inc +++ b/api-ref/source/os-hypervisors.inc @@ -23,6 +23,14 @@ Normal response codes: 200 Error response codes: unauthorized(401), forbidden(403) +Request +------- + +.. rest_parameters:: parameters.yaml + + - limit: hypervisor_limit + - marker: hypervisor_marker + Response -------- @@ -52,6 +60,14 @@ Normal response codes: 200 Error response codes: unauthorized(401), forbidden(403) +Request +------- + +.. rest_parameters:: parameters.yaml + + - limit: hypervisor_limit + - marker: hypervisor_marker + Response -------- |