2016-05-13 00:33:12 +05:30
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
Capabilities for storage back ends (capabilities)
|
|
|
|
=================================================
|
|
|
|
|
|
|
|
Shows capabilities for a storage back end.
|
|
|
|
|
|
|
|
|
|
|
|
Show back-end capabilities
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-05-13 00:33:12 +05:30
|
|
|
|
2017-09-27 14:51:10 +08:00
|
|
|
.. rest_method:: GET /v2/{project_id}/capabilities/{hostname}
|
2016-05-13 00:33:12 +05:30
|
|
|
|
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-05-13 00:33:12 +05:30
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
Response codes
|
2018-03-13 15:57:54 -05:00
|
|
|
--------------
|
2016-05-13 00:33:12 +05:30
|
|
|
|
2018-03-01 09:11:44 -06:00
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
|
|
|
|
- 200
|
2016-05-13 00:33:12 +05:30
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-09-27 14:51:10 +08:00
|
|
|
- project_id: project_id_path
|
2016-05-13 00:33:12 +05:30
|
|
|
- hostname: hostname
|
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- pool_name: pool_name
|
|
|
|
- description: description
|
|
|
|
- volume_backend_name: volume_backend_name
|
2018-10-06 00:28:09 -04:00
|
|
|
- namespace: namespace_1
|
2016-05-13 00:33:12 +05:30
|
|
|
- visibility: visibility
|
|
|
|
- driver_version: driver_version
|
|
|
|
- vendor_name: vendor_name
|
|
|
|
- properties: properties
|
|
|
|
- storage_protocol: storage_protocol
|
2016-09-28 11:15:05 +09:00
|
|
|
- replication_targets: replication_targets
|
|
|
|
- display_name: display_name
|
2016-05-13 00:33:12 +05:30
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/backend-capabilities-response.json
|
|
|
|
:language: javascript
|