
'replication_targets' is always returned in Response of GET/v2/ {tenant_id}/capabilities/{hostname} API, but it is not written in either Response parameters table or JSON example. 'display_name' is listed in JSON example but not described in Response parameter table. This patch adds the above two missing information. Change-Id: Ib3bf54df7c5c400cfec64dd9c7df136c87cd6376 Closes-Bug: #1603306
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"namespace": "OS::Storage::Capabilities::fake",
|
|
"vendor_name": "OpenStack",
|
|
"volume_backend_name": "lvm",
|
|
"pool_name": "pool",
|
|
"driver_version": "2.0.0",
|
|
"storage_protocol": "iSCSI",
|
|
"display_name": "Capabilities of Cinder LVM driver",
|
|
"description": "These are volume type options provided by Cinder LVM driver, blah, blah.",
|
|
"visibility": "public",
|
|
"replication_targets": [],
|
|
"properties": {
|
|
"compression": {
|
|
"title": "Compression",
|
|
"description": "Enables compression.",
|
|
"type": "boolean"
|
|
},
|
|
"qos": {
|
|
"title": "QoS",
|
|
"description": "Enables QoS.",
|
|
"type": "boolean"
|
|
},
|
|
"replication": {
|
|
"title": "Replication",
|
|
"description": "Enables replication.",
|
|
"type": "boolean"
|
|
},
|
|
"thin_provisioning": {
|
|
"title": "Thin Provisioning",
|
|
"description": "Sets thin provisioning.",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|