Partially implements blueprint nova-api-samples Modifies fakes to produce a real timestamp Fixes bug 1126211 Change-Id: I8973d50fa67abbf6f96684ff8a0b898912f09caf
33 lines
979 B
Smarty
33 lines
979 B
Smarty
{
|
|
"snapshot": {
|
|
"createdAt": "%(timestamp)s",
|
|
"displayDescription": "%(description)s",
|
|
"displayName": "%(snapshot_name)s",
|
|
"id": 100,
|
|
"size": 100,
|
|
"status": "available",
|
|
"volumeId": {
|
|
"attach_status": "attached",
|
|
"availability_zone": "fakeaz",
|
|
"created_at": "%(timestamp)s",
|
|
"display_description": "displaydesc",
|
|
"display_name": "displayname",
|
|
"host": "fakehost",
|
|
"id": "%(uuid)s",
|
|
"instance_uuid": "fakeuuid",
|
|
"mountpoint": "/",
|
|
"name": "vol name",
|
|
"project_id": "fakeproject",
|
|
"size": 1,
|
|
"snapshot_id": null,
|
|
"status": "fakestatus",
|
|
"user_id": "fakeuser",
|
|
"volume_metadata": [],
|
|
"volume_type": {
|
|
"name": "vol_type_name"
|
|
},
|
|
"volume_type_id": "fakevoltype"
|
|
}
|
|
}
|
|
}
|