2016-09-17 01:12:40 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
Back-end storage pools
|
|
|
|
======================
|
|
|
|
|
|
|
|
Administrator only. Lists all back-end storage pools that are known
|
|
|
|
to the scheduler service.
|
|
|
|
|
|
|
|
|
|
|
|
List all back-end storage pools
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: GET /v3/{project_id}/scheduler-stats/get_pools
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
Lists all back-end storage pools. Since v3.31 if non-admin users
|
2017-05-15 11:25:38 +08:00
|
|
|
specify invalid filters in the url, API will return bad request.
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2017-08-29 16:07:03 -05:00
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 200
|
|
|
|
|
|
|
|
.. rest_status_code:: error ../status.yaml
|
|
|
|
|
|
|
|
- 400
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2016-09-17 01:12:40 -04:00
|
|
|
- detail: detail
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
- pools: pools
|
2016-09-17 01:12:40 -04:00
|
|
|
- updated: updated
|
|
|
|
- QoS_support: QoS_support
|
2018-10-30 11:03:09 +05:30
|
|
|
- name: name_backend_pool
|
2018-09-28 10:32:08 +08:00
|
|
|
- total_capacity_gb: total_capacity
|
2016-09-17 01:12:40 -04:00
|
|
|
- volume_backend_name: volume_backend_name
|
|
|
|
- capabilities: capabilities
|
2018-09-28 10:32:08 +08:00
|
|
|
- free_capacity_gb: free_capacity
|
2016-09-17 01:12:40 -04:00
|
|
|
- driver_version: driver_version
|
|
|
|
- reserved_percentage: reserved_percentage
|
|
|
|
- storage_protocol: storage_protocol
|
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/pools-list-detailed-response.json
|
|
|
|
:language: javascript
|