blob: 702cc6f62a2a5be03f0db550963605bc1f74ef18 [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.
Pavlo Shchelokovskyyf3d03282024-11-14 17:58:51 +020025#
26# When specifying domain-scoped accounts, domain_[id|name] must be present
27# and project_[id|name] must be absent.
28#
29# When specifying system-scoped accounts, value of system can be anything
30# (for now), and neither project_[id|name] nor domain_[id|name] must be present
Matthew Treinish09f17832014-08-15 15:22:50 -040031
Matthew Treinishc791ac42014-07-16 09:15:23 -040032- username: 'user_1'
33 tenant_name: 'test_tenant_1'
34 password: 'test_password'
35
36- username: 'user_2'
37 tenant_name: 'test_tenant_2'
38 password: 'test_password'
Matthew Treinish976e8df2014-12-19 14:21:54 -050039
40# To specify which roles a user has list them under the roles field
41- username: 'multi_role_user'
42 tenant_name: 'test_tenant_42'
43 password: 'test_password'
44 roles:
45 - 'fun_role'
46 - 'not_an_admin'
47 - 'an_admin'
48
Pavlo Shchelokovskyyf3d03282024-11-14 17:58:51 +020049# To specify a domain-scoped admin
50- username: 'user_3'
51 user_domain_name: 'test_domain'
52 password: 'test_password'
53 domain_name: 'test_domain'
54 roles:
55 - 'admin'
56
57# To specify a system-scoped admin
58- username: 'user_4'
59 user_domain_name: 'test_domain'
60 password: 'test_password'
61 system: 'all'
62 roles:
63 - 'admin'
64
Matthew Treinish976e8df2014-12-19 14:21:54 -050065# To specify a user has a role specified in the config file you can use the
66# type field to specify it, valid values are admin, operator, and reseller_admin
67- username: 'swift_pseudo_admin_user_1'
68 tenant_name: 'admin_tenant_1'
69 password: 'test_password'
70 types:
71 - 'reseller_admin'
72 - 'operator'
73
Matthew Treinish93299852015-04-24 09:58:18 -040074# Networks can be specified to tell tempest which network it should use when
75# creating servers with an account
76
Matthew Treinish976e8df2014-12-19 14:21:54 -050077- username: 'admin_user_1'
78 tenant_name: 'admin_tenant_1'
79 password: 'test_password'
80 types:
81 - 'admin'
Matthew Treinishf83f35c2015-04-10 11:59:11 -040082 resources:
83 network: 'public'
David Paterson15be99e2015-04-08 21:58:19 -040084 router: 'admin_tenant_1-router'