
Just as the following patches did, as sample, we'd better use "source-name"/"source-id" instead of "source-volume-name"/"source-volume-id" in the cinder doc as well. [1] https://review.openstack.org/#/c/76216/ [2] https://review.openstack.org/#/c/108488/ Change-Id: I7dbd6599c67e82bb38f1bc124ad74d04ad73fe32
19 lines
435 B
JSON
19 lines
435 B
JSON
{
|
|
"volume": {
|
|
"host": "geraint-VirtualBox",
|
|
"ref": {
|
|
"source-name": "existingLV",
|
|
"source-id": "1234"
|
|
},
|
|
"name": "New Volume",
|
|
"availability_zone": "az2",
|
|
"description": "Volume imported from existingLV",
|
|
"volume_type": null,
|
|
"bootable": true,
|
|
"metadata": {
|
|
"key1": "value1",
|
|
"key2": "value2"
|
|
}
|
|
}
|
|
}
|