Patrole Installation Guide

Manual Installation Information

At the command line:

$ git clone http://git.openstack.org/openstack/patrole
$ sudo pip install ./patrole

Or, if you have virtualenvwrapper installed:

$ mkvirtualenv patrole_env
$ workon patrole_env
$ pip install ./patrole

Or to install from the source:

$ navigate to patrole directory
$ sudo pip install -e .

DevStack Installation

Enabling in Devstack

Warning

The stack.sh script must be run in a disposable VM that is not being created automatically. See the README file in the DevStack repository for more information.

  1. Download DevStack:

    git clone https://git.openstack.org/openstack-dev/devstack.git
    cd devstack
    
  2. Patrole can be installed like any other DevStack plugin by including the enable_plugin directive inside local.conf:

    > cat local.conf
    [[local|localrc]]
    enable_plugin patrole https://git.openstack.org/openstack/patrole
    
  3. Run stack.sh found in the DevStack repo.