
We had a mix of formatting for our API response codes. This makes it so all have a leading space, no trailing comma, and no empty Error response labels. This also addresses a formatting issue with due to the spacing between the Normal and Error lines that was causing the two to run together in the formatted HTML, making it harder to read. Change-Id: Ic411ee9f671c48ce60bda21984dafe55135685ba
49 lines
989 B
ReStructuredText
49 lines
989 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
Back-end storage pools
|
|
======================
|
|
|
|
Administrator only. Lists all back-end storage pools that are known
|
|
to the scheduler service.
|
|
|
|
|
|
List back-end storage pools
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /v2/{tenant_id}/scheduler-stats/get_pools
|
|
|
|
Lists all back-end storage pools.
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- tenant_id: tenant_id
|
|
- detail: detail
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- 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
|