
This patch extends the functionality of the API ``GET /v2/info/stores/detail`` to expose store details of other stores. Currently the ``stores-detail`` API exposes store details of RBD backend. Implements: blueprint expanding-stores-detail Change-Id: I0c7bbc315b56dc0e40397b4ed8a68d1668203c44
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"stores": [
|
|
{
|
|
"id":"reliable",
|
|
"type": "rbd",
|
|
"description": "More expensive store with data redundancy",
|
|
"default": true,
|
|
"properties": {
|
|
"pool": "pool1",
|
|
"chunk_size": 65536,
|
|
"thin_provisioning": false
|
|
}
|
|
},
|
|
{
|
|
"id":"cheap",
|
|
"type": "file",
|
|
"description": "Less expensive store for seldom-used images",
|
|
"properties": {
|
|
"datadir": "fdir",
|
|
"chunk_size": 65536,
|
|
"thin_provisioning": false
|
|
}
|
|
},
|
|
{
|
|
"id":"fast",
|
|
"type": "cinder",
|
|
"description": "Reasonably-priced fast store",
|
|
"properties": {
|
|
"volume_type": "volume1",
|
|
"use_multipath": false
|
|
}
|
|
},
|
|
{
|
|
"id":"slow",
|
|
"type": "swift",
|
|
"description": "Entry-level store balancing price and speed",
|
|
"properties": {
|
|
"container": "container1",
|
|
"large_object_size": 52428,
|
|
"large_object_chunk_size": 204800
|
|
}
|
|
}
|
|
|
|
|
|
]
|
|
}
|