Fix code samples

Closes-Bug: #1283713

Change-Id: Ie22f9a51ac0894ee545cfc23fe45c4e7bb092110
author: diane fleming
This commit is contained in:
Diane Fleming 2014-03-07 15:34:08 -06:00
parent 2e43a94059
commit 69c4d872d5
4 changed files with 35 additions and 27 deletions

View File

@ -1,6 +1,6 @@
{
"snapshot": {
"display_name": "snap-002",
"display_description": "This is yet, another snapshot."
}
"snapshot":{
"display_name":"snap-002",
"display_description":"This is yet, another snapshot."
}
}

View File

@ -1,7 +1,9 @@
{
"volume_type": {
"id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
"name": "SSD",
"extra_specs": {}
}
"volume_type":{
"id":"6685584b-1eac-4da6-b5c3-555430cf68ff",
"name":"SSD",
"extra_specs":{
}
}
}

View File

@ -1,7 +1,9 @@
{
"volume": {
"display_name": "vol-002",
"display_description": "This is yet, another volume.",
"metadata": {"contents": "junk"}
}
}
"volume":{
"display_name":"vol-002",
"display_description":"This is yet, another volume.",
"metadata":{
"contents":"junk"
}
}
}

View File

@ -1,14 +1,18 @@
{
"volume_types": [
{
"extra_specs": {'capabilities': 'gpu'},
"id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
"name": "SSD"
},
{
"extra_specs": {},
"id": "8eb69a46-df97-4e41-9586-9a40a7533803",
"name": "SATA"
}
]
"volume_types":[
{
"extra_specs":{
"capabilities":"gpu"
},
"id":"6685584b-1eac-4da6-b5c3-555430cf68ff",
"name":"SSD"
},
{
"extra_specs":{
},
"id":"8eb69a46-df97-4e41-9586-9a40a7533803",
"name":"SATA"
}
]
}