d2b553030e
Adds image size data that is returned from Glance into the API response. This becomes really useful for users when they take a snapshot and want to track the storage used by it. Since this information is already being pulled by Nova we should display it. DocImpact Change-Id: I8a2d4001c21bcc54cac1a2992034dfc9fbe39d7e
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"image": {
|
|
"OS-EXT-IMG-SIZE:size": "74185822",
|
|
"created": "2011-01-01T01:02:03Z",
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"architecture": "x86_64",
|
|
"auto_disk_config": "True",
|
|
"kernel_id": "nokernel",
|
|
"ramdisk_id": "nokernel"
|
|
},
|
|
"minDisk": 0,
|
|
"minRam": 0,
|
|
"name": "fakeimage7",
|
|
"progress": 100,
|
|
"status": "ACTIVE",
|
|
"updated": "2011-01-01T01:02:03Z"
|
|
}
|
|
} |