blob: 76064f18e9f82f31b1efbeba8f38e3daeb57ea98 [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
DavidPurcell45bc1a62017-01-19 17:21:27 -050017Or to install from the source::
18
19 $ navigate to patrole directory
20 $ pip install -e .
21
DavidPurcell663aedf2017-01-03 10:01:14 -050022Configuration Information
23#########################
24
25tempest.conf
26++++++++++++
27
Felipe Monteiro652e2a22017-01-25 16:44:02 -050028To run the RBAC tempest api test, you have to make the following changes to
DavidPurcell663aedf2017-01-03 10:01:14 -050029the tempest.conf file.
30
31#. [auth] section updates ::
32
DavidPurcell663aedf2017-01-03 10:01:14 -050033 # Allows test cases to create/destroy projects and users. This option
34 # requires that OpenStack Identity API admin credentials are known. If
35 # false, isolated test cases and parallel execution, can still be
36 # achieved configuring a list of test accounts (boolean value)
Samantha Blanco9af4e532017-04-03 17:06:11 -040037 use_dynamic_credentials = True
DavidPurcell663aedf2017-01-03 10:01:14 -050038
39#. [rbac] section updates ::
40
41 # The role that you want the RBAC tests to use for RBAC testing
Samantha Blanco0d880082017-03-23 18:14:37 -040042 # This needs to be edited to run the test as a different role.
Felipe Monteiro652e2a22017-01-25 16:44:02 -050043 rbac_test_role = _member_
DavidPurcell45bc1a62017-01-19 17:21:27 -050044
Felipe Monteiro652e2a22017-01-25 16:44:02 -050045 # Enables RBAC Tempest tests if set to True. Otherwise, they are
46 # skipped.
Samantha Blanco0d880082017-03-23 18:14:37 -040047 enable_rbac = True
48
49 # If set to true, tests throw a RbacParsingException for policies
50 # not found in the policy.json. Otherwise, they throw a
51 # skipException.
52 strict_policy_check = False