a94176e15b
Add samples and templates to api samples for volumes extensions Fixes: bug 1071338 Implements: blueprint nova-api-samples Change-Id: Ia021cc4d6c29ccaa3e81f4c5fdbb7e88d9f02dc6
22 lines
687 B
JSON
22 lines
687 B
JSON
{
|
|
"volume": {
|
|
"attachments": [
|
|
{
|
|
"device": "/",
|
|
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
|
|
"serverId": "3912f2b4-c5ba-4aec-9165-872876fe202e",
|
|
"volumeId": "a26887c6-c47b-4654-abb5-dfadf7d3f803"
|
|
}
|
|
],
|
|
"availabilityZone": "zone1:host1",
|
|
"createdAt": "2013-02-18T14:51:18.528085",
|
|
"displayDescription": "Volume Description",
|
|
"displayName": "Volume Name",
|
|
"id": "a26887c6-c47b-4654-abb5-dfadf7d3f803",
|
|
"metadata": {},
|
|
"size": 100,
|
|
"snapshotId": null,
|
|
"status": "in-use",
|
|
"volumeType": "Backup"
|
|
}
|
|
} |