2016-09-17 01:12:40 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
Capabilities for storage back ends (capabilities)
|
|
|
|
=================================================
|
|
|
|
|
|
|
|
Shows capabilities for a storage back end.
|
|
|
|
|
|
|
|
|
|
|
|
Show all back-end capabilities
|
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}/capabilities/{hostname}
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2016-12-13 17:49:51 -05:00
|
|
|
Shows capabilities for a storage back end on the host.
|
2017-01-24 10:10:13 +08:00
|
|
|
The ``hostname`` takes the form of ``hostname@volume_backend_name``.
|
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
|
|
|
--------------
|
2018-03-01 09:11:44 -06:00
|
|
|
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 200
|
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
|
|
|
- hostname: hostname
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- pool_name: pool_name
|
2018-10-30 11:03:09 +05:30
|
|
|
- description: description_cap
|
2016-09-17 01:12:40 -04:00
|
|
|
- volume_backend_name: volume_backend_name
|
2018-10-30 11:03:09 +05:30
|
|
|
- namespace: namespace_storage
|
2016-09-17 01:12:40 -04:00
|
|
|
- visibility: visibility
|
|
|
|
- driver_version: driver_version
|
|
|
|
- vendor_name: vendor_name
|
|
|
|
- properties: properties
|
|
|
|
- storage_protocol: storage_protocol
|
2017-03-20 15:06:12 +08:00
|
|
|
- replication_targets: replication_targets
|
|
|
|
- display_name: display_name
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/backend-capabilities-response.json
|
|
|
|
:language: javascript
|