Merge "Adds encrypted parameter to POST for volume creation on Volume API v2"
This commit is contained in:
commit
9dda407641
@ -1,13 +1,19 @@
|
||||
{
|
||||
"volume": {
|
||||
"status": "creating",
|
||||
"description": null,
|
||||
"availability_zone": null,
|
||||
"source_volid": null,
|
||||
"description": null,
|
||||
"consistencygroup_id": null,
|
||||
"snapshot_id": null,
|
||||
"source_replica": null,
|
||||
"size": 10,
|
||||
"name": "my_volume",
|
||||
"user_id": null,
|
||||
"name": null,
|
||||
"imageRef": null,
|
||||
"attach_status": "detached",
|
||||
"volume_type": null,
|
||||
"project_id": null,
|
||||
"metadata": {}
|
||||
}
|
||||
}
|
||||
|
@ -1,17 +1,34 @@
|
||||
{
|
||||
"volume": {
|
||||
"status": "creating",
|
||||
"name": "my_volume",
|
||||
"user_id": "{user_id}",
|
||||
"attachments": [],
|
||||
"links": [
|
||||
{
|
||||
"href": "http://volume.example.com:8776/v2/{tenant_id}/volumes/{volume_id}",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://volume.example.com:8776/{tenant_id}/volumes/{volume_id}",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"availability_zone": "nova",
|
||||
"bootable": "false",
|
||||
"created_at": "2014-02-21T19:52:04.949734",
|
||||
"encrypted": false,
|
||||
"created_at": "2015-05-17T18:14:34.000000",
|
||||
"description": null,
|
||||
"volume_type": "None",
|
||||
"snapshot_id": null,
|
||||
"os-vol-tenant-attr:tenant_id": "{tenant_id}",
|
||||
"os-volume-replication:driver_data": null,
|
||||
"volume_type": "lvmdriver-1",
|
||||
"name": null,
|
||||
"replication_status": "disabled",
|
||||
"consistencygroup_id": null,
|
||||
"source_volid": null,
|
||||
"snapshot_id": null,
|
||||
"os-volume-replication:extended_status": null,
|
||||
"metadata": {},
|
||||
"id": "93c2e2aa-7744-4fd6-a31a-80c4726b08d7",
|
||||
"id": "7449e332-9715-4185-b191-1cfd91d75d48",
|
||||
"size": 10
|
||||
}
|
||||
}
|
||||
|
@ -57,6 +57,11 @@
|
||||
"type": "object",
|
||||
"documentation": "One or more metadata key and value pairs to associate with the volume.",
|
||||
"properties": {}
|
||||
},
|
||||
"encrypted": {
|
||||
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/metadata",
|
||||
"type": "boolean",
|
||||
"documentation": "Enables or disables encryption of the volume. You must choose the same volume type as the source volume to restore an encrypted backup volume. Must be set to true to encrypt a volume."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user