Correct indentation for spaces for doc files

Corrected json data which was indented using tabs instead of spaces.

Also corrected key in response dict of host `create` and `get` to
singular since user can create/update single host in a request.

Change-Id: I19f9c620d348d40fde720557bca06b9fe1f95401
This commit is contained in:
Shilpa
2019-12-16 20:26:00 +05:30
parent 596b3d142e
commit 4228308876
3 changed files with 80 additions and 80 deletions

View File

@@ -1,28 +1,28 @@
{
"hosts": {
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
"host": {
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
}

View File

@@ -1,28 +1,28 @@
{
"hosts": {
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
"host": {
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
}

View File

@@ -1,30 +1,30 @@
{
"hosts": [
{
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
]
"hosts": [
{
"reserved": false,
"uuid": "083a8474-22c0-407f-b89b-c569134c3bfd",
"deleted": false,
"on_maintenance": false,
"created_at": "2017-04-21T10:09:20.000000",
"control_attributes": "SSH",
"updated_at": null,
"name": "openstack-VirtualBox",
"failover_segment": {
"uuid": "9e800031-6946-4b43-bf09-8b3d1cab792b",
"deleted": false,
"created_at": "2017-04-20T10:17:17.000000",
"description": null,
"recovery_method": "auto",
"updated_at": null,
"service_type": "COMPUTE",
"deleted_at": null,
"id": 2,
"name": "segment2"
},
"deleted_at": null,
"type": "COMPUTE_HOST",
"id": 1,
"failover_segment_id": "9e800031-6946-4b43-bf09-8b3d1cab792b"
}
]
}