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
|
|
|
|
|
|
|
|
|
|
|
Normal response codes: 200
|
2017-08-29 16:07:03 -05:00
|
|
|
|
2017-05-15 11:25:38 +08:00
|
|
|
Error response codes: badRequest(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
|
|
|
|
- name: name
|
|
|
|
- total_capacity: total_capacity
|
|
|
|
- volume_backend_name: volume_backend_name
|
|
|
|
- capabilities: capabilities
|
|
|
|
- free_capacity: free_capacity
|
|
|
|
- driver_version: driver_version
|
|
|
|
- reserved_percentage: reserved_percentage
|
|
|
|
- storage_protocol: storage_protocol
|
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/pools-list-detailed-response.json
|
|
|
|
:language: javascript
|