
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
23 lines
548 B
JSON
23 lines
548 B
JSON
{
|
|
"volume": {
|
|
"size": 10,
|
|
"availability_zone": null,
|
|
"source_volid": null,
|
|
"description": null,
|
|
"multiattach ": false,
|
|
"snapshot_id": null,
|
|
"name": null,
|
|
"imageRef": null,
|
|
"volume_type": null,
|
|
"metadata": {},
|
|
"source_replica": null,
|
|
"consistencygroup_id": null
|
|
},
|
|
"OS-SCH-HNT:scheduler_hints": {
|
|
"same_host": [
|
|
"a0cf03a5-d921-4877-bb5c-86d26cf818e1",
|
|
"8c19174f-4220-44f0-824a-cd1eeef10287"
|
|
]
|
|
}
|
|
}
|