forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Update volume api microversion doc and tests"
- Loading branch information
Showing
59 changed files
with
1,868 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
api-ref/source/v3/samples/volumes/v3.13/volume-create-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-28T06:21:12.715987", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:33951/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:33951/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
api-ref/source/v3/samples/volumes/v3.13/volume-show-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-29T06:50:07.770785", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:45839/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:45839/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"os-vol-host-attr:host": null, | ||
"os-vol-mig-status-attr:migstat": null, | ||
"os-vol-mig-status-attr:name_id": null, | ||
"os-vol-tenant-attr:tenant_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
api-ref/source/v3/samples/volumes/v3.13/volume-update-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-29T06:59:23.679903", | ||
"description": "This is yet, another volume.", | ||
"encrypted": false, | ||
"id": "8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:41467/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:41467/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": { | ||
"name": "metadata0" | ||
}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": "vol-003", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
api-ref/source/v3/samples/volumes/v3.13/volumes-list-detailed-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"volumes": [ | ||
{ | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-28T06:25:15.288987", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:43543/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:43543/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"os-vol-host-attr:host": null, | ||
"os-vol-mig-status-attr:migstat": null, | ||
"os-vol-mig-status-attr:name_id": null, | ||
"os-vol-tenant-attr:tenant_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null | ||
} | ||
] | ||
} |
36 changes: 36 additions & 0 deletions
36
api-ref/source/v3/samples/volumes/v3.21/volume-create-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-28T06:21:12.715987", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:33951/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:33951/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null, | ||
"provider_id": null | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
api-ref/source/v3/samples/volumes/v3.21/volume-show-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-29T06:50:07.770785", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:45839/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:45839/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/f7223234-1afc-4d19-bfa3-d19deb6235ef", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"os-vol-host-attr:host": null, | ||
"os-vol-mig-status-attr:migstat": null, | ||
"os-vol-mig-status-attr:name_id": null, | ||
"os-vol-tenant-attr:tenant_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null, | ||
"provider_id": null | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
api-ref/source/v3/samples/volumes/v3.21/volume-update-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-29T06:59:23.679903", | ||
"description": "This is yet, another volume.", | ||
"encrypted": false, | ||
"id": "8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:41467/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:41467/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/8b2459d1-0059-4e14-a89f-dfa73a452af6", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": { | ||
"name": "metadata0" | ||
}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": "vol-003", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null, | ||
"provider_id": null | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
api-ref/source/v3/samples/volumes/v3.21/volumes-list-detailed-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"volumes": [ | ||
{ | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-28T06:25:15.288987", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:43543/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:43543/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/cb49b381-9012-40cb-b8ee-80c19a4801b5", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"os-vol-host-attr:host": null, | ||
"os-vol-mig-status-attr:migstat": null, | ||
"os-vol-mig-status-attr:name_id": null, | ||
"os-vol-tenant-attr:tenant_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null, | ||
"provider_id": null | ||
} | ||
] | ||
} |
38 changes: 38 additions & 0 deletions
38
api-ref/source/v3/samples/volumes/v3.48/volume-create-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"volume": { | ||
"attachments": [], | ||
"availability_zone": "nova", | ||
"bootable": "false", | ||
"consistencygroup_id": null, | ||
"created_at": "2018-11-28T06:21:12.715987", | ||
"description": null, | ||
"encrypted": false, | ||
"id": "2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"links": [ | ||
{ | ||
"href": "http://127.0.0.1:33951/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "http://127.0.0.1:33951/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/volumes/2b955850-f177-45f7-9f49-ecb2c256d161", | ||
"rel": "bookmark" | ||
} | ||
], | ||
"metadata": {}, | ||
"migration_status": null, | ||
"multiattach": false, | ||
"name": null, | ||
"replication_status": null, | ||
"size": 10, | ||
"snapshot_id": null, | ||
"source_volid": null, | ||
"status": "creating", | ||
"updated_at": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__", | ||
"group_id": null, | ||
"provider_id": null, | ||
"service_uuid": null, | ||
"shared_targets": true | ||
} | ||
} |
Oops, something went wrong.