blob: b0a6f3360cda1f04da093f2574a123a45c1813e6 [file] [log] [blame]
============
Installation
============
Installation Information
########################
At the command line::
$ pip install patrole
Or, if you have virtualenvwrapper installed::
$ mkvirtualenv patrole
$ pip install patrole
Or to install from the source::
$ navigate to patrole directory
$ pip install -e .
Configuration Information
#########################
tempest.conf
++++++++++++
To run the RBAC tempest api test you have to make the following changes to
the tempest.conf file.
#. [auth] section updates ::
# Set tempest role to admin so all APIs are accessible
tempest_roles = admin
# Allows test cases to create/destroy tenants and users. This
# option enables isolated test cases and better parallel
# execution, but also requires that OpenStack Identity API
# admin credentials are known. (boolean value)
allow_tenant_isolation = True
# Allows test cases to create/destroy projects and users. This option
# requires that OpenStack Identity API admin credentials are known. If
# false, isolated test cases and parallel execution, can still be
# achieved configuring a list of test accounts (boolean value)
use_dynamic_credentials = False
#. [rbac] section updates ::
# The role that you want the RBAC tests to use for RBAC testing
# This needs to be edited to run the test as a different role.
rbac_test_role=_member_
# The list of roles that your system contains.
# This needs to be updated as new roles are added.
rbac_roles=admin,_member_
# Tell standard RBAC test cases to run other wise it they are skipped.
rbac_flag=true