![Chris Yeoh](/assets/img/avatar_default.png)
Ports v2 image-size extension and adapts it to the v2.1/v3 API framework. API behaviour is identical with the exception that there is no support for XML. Also - unittest code modified to share testing with both v2/v2.1 - Adds expected error decorators for API methods Partially implements blueprint v2-on-v3-api Change-Id: I44f3d35b3d888e2f4429ca0788d74b9b0cce9494
35 lines
1.1 KiB
JSON
35 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/v3/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/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"
|
|
}
|
|
}
|