blob: 3dbed79e9dff21e68be0a0158ff4736aa7c476ce [file] [log] [blame]
Matthew Treinish09f17832014-08-15 15:22:50 -04001# The number of accounts required can be estimated as CONCURRENCY x 2
Matthew Treinish93299852015-04-24 09:58:18 -04002# It is expected that each user provided here will be in a different tenant.
3# This is required to provide isolation between test for running in parallel
4#
Matthew Treinish09f17832014-08-15 15:22:50 -04005# Valid fields for credentials are defined in the descendants of
John Warrenb10c6ca2016-02-26 15:32:37 -05006# lib.auth.Credentials - see KeystoneV[2|3]Credentials.ATTRIBUTES
7#
8# The fields in KeystoneV3Credentials behave as follows:
9#
10# tenant_[id|name] also sets project_[id|name].
11#
12# project_[id|name] also sets tenant_[id|name].
13#
14# Providing distinct values for both tenant_[id|name] and project_[id|name]
15# will result in an InvalidCredentials exception.
16#
17# The value of project_domain_[id|name] is used for user_domain_[id|name] if
18# the latter is not specified.
19#
20# The value of user_domain_[id|name] is used for project_domain_[id|name] if
21# the latter is not specified.
22#
23# The value of domain_[id|name] is used for project_domain_[id|name] if not
24# specified and user_domain_[id|name] if not specified.
Matthew Treinish09f17832014-08-15 15:22:50 -040025
Matthew Treinishc791ac42014-07-16 09:15:23 -040026- username: 'user_1'
27 tenant_name: 'test_tenant_1'
28 password: 'test_password'
29
30- username: 'user_2'
31 tenant_name: 'test_tenant_2'
32 password: 'test_password'
Matthew Treinish976e8df2014-12-19 14:21:54 -050033
34# To specify which roles a user has list them under the roles field
35- username: 'multi_role_user'
36 tenant_name: 'test_tenant_42'
37 password: 'test_password'
38 roles:
39 - 'fun_role'
40 - 'not_an_admin'
41 - 'an_admin'
42
43# To specify a user has a role specified in the config file you can use the
44# type field to specify it, valid values are admin, operator, and reseller_admin
45- username: 'swift_pseudo_admin_user_1'
46 tenant_name: 'admin_tenant_1'
47 password: 'test_password'
48 types:
49 - 'reseller_admin'
50 - 'operator'
51
Matthew Treinish93299852015-04-24 09:58:18 -040052# Networks can be specified to tell tempest which network it should use when
53# creating servers with an account
54
Matthew Treinish976e8df2014-12-19 14:21:54 -050055- username: 'admin_user_1'
56 tenant_name: 'admin_tenant_1'
57 password: 'test_password'
58 types:
59 - 'admin'
Matthew Treinishf83f35c2015-04-10 11:59:11 -040060 resources:
61 network: 'public'
David Paterson15be99e2015-04-08 21:58:19 -040062 router: 'admin_tenant_1-router'