tempest/tempest/lib
Ghanshyam Mann 2d0da049d0 Support scope in dynamic cred for specific roles
We already added scope support for 'admin', 'member',
and 'reader' role. This commit is to adds the scope
support for specific roles, basically in get_creds_by_roles().

Test can now request the scope along with the number of roles
using the scope as prefix in credential type. Fpr example:

    credentials = [['my_role', 'role1'], # this will be old style and project scoped
                   ['project_my_role', 'role1'], # this will be project scoped
                   ['domain_my_role', 'role1'], # this will be domain scoped
                   ['system_my_role', 'role1']] # this will be system scoped

and below is how test can access the credential manager of respective
credentials type:

    cls.os_my_role.any_client
    cls.os_project_my_role.any_client
    cls.os_domain_my_role.any_client
    cls.os_system_my_role.any_client

Closes-Bug: #1917168
Change-Id: I9053faa255e3680d7f870e3cdedf62fb2eb5cb1a
2021-03-06 17:14:22 +00:00
..
api_schema Add tag in compute interfaces schema for microversion 2.70 2020-11-19 09:58:43 +08:00
cli Remove six.PY3/six.PY2 2020-11-10 09:54:35 +00:00
cmd Remove usage of six 2021-02-18 10:43:57 +08:00
common Support scope in dynamic cred for specific roles 2021-03-06 17:14:22 +00:00
services Merge "[part1] Remove six" 2021-02-25 17:09:59 +00:00
__init__.py Migrate tempest-lib code into new lib dir 2016-02-23 14:15:04 -05:00
auth.py Remove usage of six 2021-02-23 00:38:55 +00:00
base.py Add workaround to handle the testtool skip exception in CLI test 2019-10-12 01:40:29 +00:00
decorators.py Refactor skip_because decorator 2021-02-08 08:23:05 +00:00
exceptions.py Add default RBAC personas to dynamic credentials 2021-01-11 19:12:26 +00:00