
In the dev-ref, the hint key for volume create API should be 'OS-SCH-HNT:scheduler_hints' but not 'scheduler_hints'. Furthermore, it should be parallel with the key 'volume'. To be more clear fix the example as well. Change-Id: I999aebb0e53ebac5dc121ef1ccdc98f9d5ac816a
19 lines
477 B
JSON
19 lines
477 B
JSON
{
|
|
"volume": {
|
|
"display_name": "vol-001",
|
|
"display_description": "Another volume.",
|
|
"size": 30,
|
|
"volume_type": "289da7f8-6440-407c-9fb4-7db01ec49164",
|
|
"metadata": {
|
|
"contents": "junk"
|
|
},
|
|
"availability_zone": "us-east1"
|
|
},
|
|
"OS-SCH-HNT:scheduler_hints": {
|
|
"same_host": [
|
|
"a0cf03a5-d921-4877-bb5c-86d26cf818e1",
|
|
"8c19174f-4220-44f0-824a-cd1eeef10287"
|
|
]
|
|
}
|
|
}
|