e63cb8548a
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 |
||
---|---|---|
.. | ||
samples | ||
api-versions.inc | ||
attachments.inc | ||
capabilities-v3.inc | ||
consistencygroups-v3.inc | ||
default-types.inc | ||
ext-backups-actions-v3.inc | ||
ext-backups.inc | ||
group-replication.inc | ||
group-snapshots.inc | ||
group-type-specs.inc | ||
group-types.inc | ||
groups.inc | ||
hosts.inc | ||
index.rst | ||
limits.inc | ||
messages.inc | ||
os-cgsnapshots-v3.inc | ||
os-services.inc | ||
os-vol-pool-v3.inc | ||
os-vol-transfer-v3.inc | ||
parameters.yaml | ||
qos-specs-v3-qos-specs.inc | ||
quota-classes.inc | ||
quota-sets.inc | ||
resource-filters.inc | ||
snapshot-manage.inc | ||
valid-boolean-values.inc | ||
vol-transfer-v3.inc | ||
volume-manage.inc | ||
volume-type-access.inc | ||
volumes-v3-extensions.inc | ||
volumes-v3-snapshots-actions.inc | ||
volumes-v3-snapshots.inc | ||
volumes-v3-types.inc | ||
volumes-v3-versions.inc | ||
volumes-v3-volumes-actions.inc | ||
volumes-v3-volumes.inc | ||
worker-cleanup.inc |