a34764ecac
This patch adds a new API to glance ``GET /v2/info/stores/detail`` to expose the stores specific details about the store like store type and other specific store properties.This operation will be admin only and validated by the new policy rule ``stores_info_detail`` which defaults to admin only Implements: blueprint expose-store-specific-info Change-Id: I6882fd2381e6ae245fd8c61bf9f4d52df2b216f5
20 lines
455 B
JSON
20 lines
455 B
JSON
{
|
|
"stores": [
|
|
{
|
|
"id":"reliable",
|
|
"type": "rbd",
|
|
"description": "More expensive store with data redundancy",
|
|
"default": true,
|
|
"properties": {
|
|
"pool": "pool1"
|
|
}
|
|
},
|
|
{
|
|
"id":"cheap",
|
|
"type": "file",
|
|
"description": "Less expensive store for seldom-used images",
|
|
"properties": {}
|
|
}
|
|
]
|
|
}
|