blob: 9bfe14eafbdb14f06787cc5208575904615a19b2 [file] [log] [blame]
DavidPurcell663aedf2017-01-03 10:01:14 -05001============
2Installation
3============
4
5Installation Information
6########################
7
8At the command line::
9
10 $ pip install patrole
11
12Or, if you have virtualenvwrapper installed::
13
14 $ mkvirtualenv patrole
15 $ pip install patrole
16
17Configuration Information
18#########################
19
20tempest.conf
21++++++++++++
22
23To run the RBAC tempest api test you have to make the following changes to
24the tempest.conf file.
25
26#. [auth] section updates ::
27
28 # Set tempest role to admin so all APIs are accessible
29 tempest_roles = admin
30
31 # Allows test cases to create/destroy tenants and users. This
32 # option enables isolated test cases and better parallel
33 # execution, but also requires that OpenStack Identity API
34 # admin credentials are known. (boolean value)
35 allow_tenant_isolation = True
36
37 # Allows test cases to create/destroy projects and users. This option
38 # requires that OpenStack Identity API admin credentials are known. If
39 # false, isolated test cases and parallel execution, can still be
40 # achieved configuring a list of test accounts (boolean value)
41 use_dynamic_credentials = False
42
43#. [rbac] section updates ::
44
45 # The role that you want the RBAC tests to use for RBAC testing
DavidPurcell029d8c32017-01-06 15:27:41 -050046 # This needs to be edited to run the test as a different role.
DavidPurcell663aedf2017-01-03 10:01:14 -050047 rbac_role=_member_
48 # Tell standard RBAC test cases to run other wise it they are skipped.
49 rbac_flag=true