Fix v3 sample files
This patch is mainly to fix some v3 sample json files to keep the format consistent. Change-Id: Ibfe171f19e1530c0fcdc6a531c36871d1bc51a3c
This commit is contained in:
parent
b79947c472
commit
299f4ecd0c
@ -46,7 +46,7 @@ Response codes
|
|||||||
|
|
||||||
.. rest_status_code:: success ../status.yaml
|
.. rest_status_code:: success ../status.yaml
|
||||||
|
|
||||||
- 200
|
- 202
|
||||||
|
|
||||||
|
|
||||||
Request
|
Request
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"os-complete": {
|
"os-complete": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
"data_timestamp": "2013-04-20T05:30:19.000000",
|
"data_timestamp": "2013-04-20T05:30:19.000000",
|
||||||
"snapshot_id": null,
|
"snapshot_id": null,
|
||||||
"status": "available",
|
"status": "available",
|
||||||
"updated_at": "2013-04-02T10:35:27.000000",
|
|
||||||
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
|
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
|
||||||
"is_incremental": true,
|
"is_incremental": true,
|
||||||
"has_dependent_backups": false,
|
"has_dependent_backups": false,
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
"name": "first_group",
|
"name": "first_group",
|
||||||
"description": "first group",
|
"description": "first group",
|
||||||
"group_snapshot_id": "6f519a48-3183-46cf-a32f-41815f813986",
|
"group_snapshot_id": "6f519a48-3183-46cf-a32f-41815f813986",
|
||||||
"source_group_id": None
|
"source_group_id": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"delete": {
|
"delete": {
|
||||||
"delete-volumes": False
|
"delete-volumes": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"disable_replication": {
|
"disable_replication": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"enable_replication": {
|
"enable_replication": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"list_replication_targets": {
|
"list_replication_targets": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"c4daaf47-c530-4901-b28e-f5f0a359c4e6"
|
"c4daaf47-c530-4901-b28e-f5f0a359c4e6"
|
||||||
],
|
],
|
||||||
"volumes": ["a2cdf1ad-5497-4e57-bd7d-f573768f3d03"],
|
"volumes": ["a2cdf1ad-5497-4e57-bd7d-f573768f3d03"],
|
||||||
"group_snapshot_id": None,
|
"group_snapshot_id": null,
|
||||||
"source_group_id": None
|
"source_group_id": null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"group_type": {
|
"group_type": {
|
||||||
"name": "grp-type-001",
|
"name": "grp-type-001",
|
||||||
"description": "group type 0001",
|
"description": "group type 0001",
|
||||||
"is_public": True,
|
"is_public": true,
|
||||||
"group_specs": {
|
"group_specs": {
|
||||||
"consistent_group_snapshot_enabled": "<is> False"
|
"consistent_group_snapshot_enabled": "<is> False"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"id": "7270c56e-6354-4528-8e8b-f54dee2232c8",
|
"id": "7270c56e-6354-4528-8e8b-f54dee2232c8",
|
||||||
"name": "group-type-test",
|
"name": "group-type-test",
|
||||||
"description": "default group type",
|
"description": "default group type",
|
||||||
"is_public": "true",
|
"is_public": true,
|
||||||
"group_specs": {}
|
"group_specs": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
|
"id": "6685584b-1eac-4da6-b5c3-555430cf68ff",
|
||||||
"name": "grp-type-001",
|
"name": "grp-type-001",
|
||||||
"description": "group type 001",
|
"description": "group type 001",
|
||||||
"is_public": "true",
|
"is_public": true,
|
||||||
"group_specs": {
|
"group_specs": {
|
||||||
"consistent_group_snapshot_enabled": "<is> False"
|
"consistent_group_snapshot_enabled": "<is> False"
|
||||||
}
|
}
|
||||||
|
@ -5,17 +5,20 @@
|
|||||||
"levels": {
|
"levels": {
|
||||||
"cinder.volume.api": "DEBUG"
|
"cinder.volume.api": "DEBUG"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"binary": "cinder-scheduler",
|
"binary": "cinder-scheduler",
|
||||||
"host": "devstack",
|
"host": "devstack",
|
||||||
"levels": {
|
"levels": {
|
||||||
"cinder.volume.api": "DEBUG"
|
"cinder.volume.api": "DEBUG"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"binary": "cinder-backup",
|
"binary": "cinder-backup",
|
||||||
"host": "devstack",
|
"host": "devstack",
|
||||||
"levels": {}
|
"levels": {}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"binary": "cinder-volume",
|
"binary": "cinder-volume",
|
||||||
"host": "devstack@lvmdriver-1",
|
"host": "devstack@lvmdriver-1",
|
||||||
"levels": {
|
"levels": {
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
"source-name": "lvol0"
|
"source-name": "lvol0"
|
||||||
},
|
},
|
||||||
"source_reference": {
|
"source_reference": {
|
||||||
"source-name": "volume-7c064b34-1e4b-40bd-93ca-4ac5a973661b"},
|
"source-name": "volume-7c064b34-1e4b-40bd-93ca-4ac5a973661b"
|
||||||
|
},
|
||||||
"safe_to_manage": true,
|
"safe_to_manage": true,
|
||||||
"size": 1,
|
"size": 1,
|
||||||
"extra_info": null
|
"extra_info": null
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"description": "Super volume.",
|
"description": "Super volume.",
|
||||||
"name": "vol-002",
|
"name": "vol-002",
|
||||||
"created_at": "2013-02-25T02:40:21.000000",
|
"created_at": "2013-02-25T02:40:21.000000",
|
||||||
"volume_type": "None",
|
"volume_type": null,
|
||||||
"os-vol-tenant-attr:tenant_id": "0c2eba2c5af04d3f9e9d0d410b371fde",
|
"os-vol-tenant-attr:tenant_id": "0c2eba2c5af04d3f9e9d0d410b371fde",
|
||||||
"size": 1,
|
"size": 1,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"cluster": "test",
|
"cluster": "test",
|
||||||
"disabled": "True",
|
"disabled": true,
|
||||||
"host": "host1@lvmdriver"
|
"host": "host1@lvmdriver",
|
||||||
"service_id": 1,
|
"service_id": 1,
|
||||||
"is_up": "True",
|
"is_up": true,
|
||||||
"binary": "cinder-volume",
|
"binary": "cinder-volume",
|
||||||
"resource_id": "b122f668-d15a-40f8-af21-38d218796ab8",
|
"resource_id": "b122f668-d15a-40f8-af21-38d218796ab8",
|
||||||
"resource_type": "Volume"
|
"resource_type": "Volume"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user