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 "Expose volume & snapshot use_quota field"
- Loading branch information
Showing
43 changed files
with
733 additions
and
60 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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.. -*- rst -*- | ||
.. _resource-filters: | ||
|
||
Resource Filters (resource_filters) | ||
=================================== | ||
|
||
|
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
"updated_at": null, | ||
"volume_id": "d291b81c-6e40-4525-8231-90aa1588121e" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
"updated_at": null, | ||
"volume_id": "b72c48f1-64b7-4cd8-9745-b12e0be82d37" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
"updated_at": null, | ||
"volume_id": "070c942d-9909-42e9-a467-7a781f150c58" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
"volume_id": "7acd675e-4e06-4653-af9f-2ecd546342d6" | ||
} | ||
] | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
api-ref/source/v3/samples/snapshots/v3.65/snapshot-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,18 @@ | ||
{ | ||
"snapshot": { | ||
"created_at": "2019-03-11T16:24:34.469003", | ||
"description": "Daily backup", | ||
"id": "b36476e5-d18b-47f9-ac69-4818cb43ee21", | ||
"metadata": { | ||
"key": "v3" | ||
}, | ||
"name": "snap-001", | ||
"size": 10, | ||
"status": "creating", | ||
"updated_at": null, | ||
"volume_id": "d291b81c-6e40-4525-8231-90aa1588121e", | ||
"group_snapshot_id": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"consumes_quota": true | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
api-ref/source/v3/samples/snapshots/v3.65/snapshot-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,20 @@ | ||
{ | ||
"snapshot": { | ||
"created_at": "2019-03-12T04:42:00.809352", | ||
"description": "Daily backup", | ||
"id": "4a584cae-e4ce-429b-9154-d4c9eb8fda4c", | ||
"metadata": { | ||
"key": "v3" | ||
}, | ||
"name": "snap-001", | ||
"os-extended-snapshot-attributes:progress": "0%", | ||
"os-extended-snapshot-attributes:project_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"size": 10, | ||
"status": "creating", | ||
"updated_at": null, | ||
"volume_id": "b72c48f1-64b7-4cd8-9745-b12e0be82d37", | ||
"group_snapshot_id": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"consumes_quota": true | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
api-ref/source/v3/samples/snapshots/v3.65/snapshot-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,18 @@ | ||
{ | ||
"snapshot": { | ||
"created_at": "2019-03-12T04:53:53.426591", | ||
"description": "This is yet, another snapshot.", | ||
"id": "43666194-8e72-451a-b7bb-54fef763b2b8", | ||
"metadata": { | ||
"key": "v3" | ||
}, | ||
"name": "snap-002", | ||
"size": 10, | ||
"status": "creating", | ||
"updated_at": null, | ||
"volume_id": "070c942d-9909-42e9-a467-7a781f150c58", | ||
"group_snapshot_id": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"consumes_quota": true | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
api-ref/source/v3/samples/snapshots/v3.65/snapshots-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,22 @@ | ||
{ | ||
"snapshots": [ | ||
{ | ||
"created_at": "2019-03-11T16:24:36.464445", | ||
"description": "Daily backup", | ||
"id": "d0083dc5-8795-4c1a-bc9c-74f70006c205", | ||
"metadata": { | ||
"key": "v3" | ||
}, | ||
"name": "snap-001", | ||
"os-extended-snapshot-attributes:progress": "0%", | ||
"os-extended-snapshot-attributes:project_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3", | ||
"size": 10, | ||
"status": "creating", | ||
"updated_at": null, | ||
"volume_id": "7acd675e-4e06-4653-af9f-2ecd546342d6", | ||
"group_snapshot_id": null, | ||
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"consumes_quota": true | ||
} | ||
] | ||
} |
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
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
41 changes: 41 additions & 0 deletions
41
api-ref/source/v3/samples/volumes/v3.65/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,41 @@ | ||
{ | ||
"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, | ||
"cluster_name": null, | ||
"volume_type_id": "5fed9d7c-401d-46e2-8e80-f30c70cb7e1d", | ||
"consumes_quota": true | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
api-ref/source/v3/samples/volumes/v3.65/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,45 @@ | ||
{ | ||
"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__", | ||
"provider_id": null, | ||
"group_id": null, | ||
"service_uuid": null, | ||
"shared_targets": true, | ||
"cluster_name": null, | ||
"volume_type_id": "5fed9d7c-401d-46e2-8e80-f30c70cb7e1d", | ||
"consumes_quota": true | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
api-ref/source/v3/samples/volumes/v3.65/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,43 @@ | ||
{ | ||
"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, | ||
"service_uuid": null, | ||
"shared_targets": true, | ||
"cluster_name": null, | ||
"volume_type_id": "5fed9d7c-401d-46e2-8e80-f30c70cb7e1d", | ||
"consumes_quota": true | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
api-ref/source/v3/samples/volumes/v3.65/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,47 @@ | ||
{ | ||
"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__", | ||
"volume_type_id": "5fed9d7c-401d-46e2-8e80-f30c70cb7e1d", | ||
"provider_id": null, | ||
"group_id": null, | ||
"service_uuid": null, | ||
"shared_targets": true, | ||
"cluster_name": null, | ||
"consumes_quota": true | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -31,4 +31,4 @@ | |
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -35,4 +35,4 @@ | |
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
"user_id": "c853ca26-e8ea-4797-8a52-ee124a013d0e", | ||
"volume_type": "__DEFAULT__" | ||
} | ||
} | ||
} |
Oops, something went wrong.