cinder/cinder/tests/functional
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
..
api Default type overrides 2020-09-16 14:05:31 +00:00
api_sample_tests Automate generation of quotas api-ref samples 2019-09-30 16:29:49 +05:30
__init__.py Fix cinder functional tests job 2017-03-21 11:45:26 +02:00
api_samples_test_base.py Move unit test code under tests/unit/ 2020-04-30 18:13:54 -04:00
functional_helpers.py Default volume_type set too early 2020-06-24 17:07:38 -04:00
test_default_types.py Default type overrides 2020-09-16 14:05:31 +00:00
test_extensions.py Remove API v1 2017-09-06 07:39:10 -05:00
test_group_replication.py Fix incorrect use of assertFalse causing CI failed 2017-10-26 11:01:02 +07:00
test_group_snapshots.py Fix incorrect use of assertFalse causing CI failed 2017-10-26 11:01:02 +07:00
test_groups.py Fix incorrect use of assertFalse causing CI failed 2017-10-26 11:01:02 +07:00
test_login.py Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
test_middleware.py Add a /healthcheck middleware 2020-05-08 05:53:56 -05:00
test_quotas.py Introduce flake8-import-order extension 2020-01-06 09:59:35 -06:00
test_volumes.py Modify default/delete volume type logic 2020-08-19 02:07:15 +00:00