cinder/api-ref/source/v3
Rajat Dhasmana e63cb8548a Default type overrides
This patch adds a feature by which we allow setting default volume types
for projects.
The following changes are made to achieve the feature:

1) Add 4 set of APIs, set, get, get_all, unset volume type
2) All policies (except get_all) default to system/domain/project admin
3) Preference order: project default, conf default
4) Logic to not allow deletion of default type

We validate set, get and unset APIs with keystone to verify a valid
project id is passed in the request and user has proper authorization
rights to show the project.

The policies are system/domain/project admin by default except get_all
policy which defaults to system admin.

Implements: Blueprint multiple-default-volume-types

Change-Id: Idcc949ed6adbaea0c2337fac83014998b81ff1f8
2020-09-16 14:05:31 +00:00
..
samples Default type overrides 2020-09-16 14:05:31 +00:00
api-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
attachments.inc Update api-ref 2020-02-04 18:41:30 -05:00
capabilities-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
consistencygroups-v3.inc cinder:api-ref replace mention of "policy.json" 2020-07-07 20:55:09 +05:30
default-types.inc Default type overrides 2020-09-16 14:05:31 +00:00
ext-backups-actions-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
ext-backups.inc api-ref: add metadata parameter in the response of create-backup 2019-08-14 15:40:47 +08:00
group-replication.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-snapshots.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-type-specs.inc Update api-ref 2020-02-04 18:41:30 -05:00
group-types.inc Update api-ref 2020-02-04 18:41:30 -05:00
groups.inc Update api-ref 2020-02-04 18:41:30 -05:00
hosts.inc [api-ref]Fix values of service-status in list-hosts 2019-08-23 09:41:37 +08:00
index.rst Default type overrides 2020-09-16 14:05:31 +00:00
limits.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
messages.inc Update api-ref 2020-02-04 18:41:30 -05:00
os-cgsnapshots-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-services.inc Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06:00
os-vol-pool-v3.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
os-vol-transfer-v3.inc Automate generation of volume transfer api-ref samples 2019-03-20 16:05:20 +05:30
parameters.yaml Default type overrides 2020-09-16 14:05:31 +00:00
qos-specs-v3-qos-specs.inc Automate generation of qos specs api-ref samples 2019-09-27 17:43:40 +05:30
quota-classes.inc Automate generation of quotas api-ref samples 2019-09-30 16:29:49 +05:30
quota-sets.inc Automate generation of quotas api-ref samples 2019-09-30 16:29:49 +05:30
resource-filters.inc Update api-ref 2020-02-04 18:41:30 -05:00
snapshot-manage.inc Cleanup api-ref sample files 2019-07-03 13:22:33 -05:00
valid-boolean-values.inc Include .inc files in doc8 linting 2019-02-19 11:33:05 -06:00
vol-transfer-v3.inc Update api-ref 2020-02-04 18:41:30 -05:00
volume-manage.inc api-ref: mark migration_status parameter as optional 2019-05-09 09:31:02 -04:00
volume-type-access.inc Update api-ref 2020-02-04 18:41:30 -05:00
volumes-v3-extensions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-snapshots-actions.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30
volumes-v3-snapshots.inc Fix api-ref for GET snapshot response 2020-05-14 16:46:52 -05:00
volumes-v3-types.inc [api-ref]Fix response example file of update_type 2019-08-23 14:50:27 +08:00
volumes-v3-versions.inc Automate generation of API versions api-ref samples 2019-01-10 19:48:18 +05:30
volumes-v3-volumes-actions.inc Doc note warning about retyping unencrypted/encrypted volume 2020-08-06 18:13:24 +00:00
volumes-v3-volumes.inc Show cluster_name in volume details 2020-08-26 16:12:19 +03:00
worker-cleanup.inc Improve/Clean api-ref parameters 2018-11-05 10:47:14 +05:30