neutron-lbaas/devstack
Michael Johnson 24644856b3 Update devstack plugin for dependent packages
Recent changes to the gate base images [1] removed a package
neutron-lbaas requires (software-properties-common).
This patch uses the "System Packages" [2] capability of the
plugins to make sure the required package is installed.

[1] https://review.openstack.org/#/c/292573
[2] http://docs.openstack.org/developer/devstack/plugins.html#system-packages

Change-Id: Id16da90e195ede8a7565b3265374cb603b6eb898
Closes-Bug: #1558289
(cherry picked from commit eb7a4d4795)
2016-03-17 03:09:50 +00:00
..
files/debs Update devstack plugin for dependent packages 2016-03-17 03:09:50 +00:00
samples Make sample web server close connections 2016-01-26 20:41:58 +00:00
README.md Use Octavia stable/liberty branch in DevStack README 2015-11-11 07:08:30 -06:00
plugin.sh Fix the neutron-lbaas namespace driver gate 2016-03-11 16:43:31 +00:00
settings Update admin auth data for devstack 2016-01-11 14:34:49 -06:00

README.md

This directory contains the neutron-lbaas devstack plugin. To configure the neutron load balancer, in the local section, you will need to enable the neutron-lbaas devstack plugin and enable the LBaaS service by editing the local section of your local.conf file.

Octavia is the LBaaS V2 reference service provider and is used in the examples below. Enabling another service provider, such as the Haproxy, is also supported. This can be done by enabling the driver plugin, if applicable, and setting the appropriate service provider value for NEUTRON_LBAAS_SERVICE_PROVIDERV2. In addition, you can enable multiple service providers by enabling the applicable driver plugins and space-delimiting the service provider values in NEUTRON_LBAAS_SERVICE_PROVIDERV2.

  1. Enable the plugins

To enable the plugin, add a line of the form:

enable_plugin neutron-lbaas <neutron-lbaas GITURL> [GITREF]
enable_plugin octavia <octavia GITURL> [GITREF]

where

<neutron-lbaas GITURL> is the URL of a neutron-lbaas repository
<octavia GITURL> is the URL of a octavia repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is
         master.

For example

enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas stable/liberty
enable_plugin octavia https://git.openstack.org/openstack/octavia stable/liberty
  1. Enable the LBaaS services

To enable the LBaaS services, add lines in the form:

ENABLED_SERVICES+=<LBAAS-FLAG>
ENABLED_SERVICES+=<OCTAVIA-FLAGS>

where

<LBAAS-FLAG> is "q-lbaasv1" for LBaaS Version 1, or "q-lbaasv2"
             for LBaaS Version 2.  "q-lbaas" is synonymous with
             "q-lbaasv1".
<OCTAVIA-FLAGS> are "octavia" the Octavia driver,
                "o-cw" the Octavia Controller Worker,
                "o-hk" the Octavia housekeeping manager,
                "o-hm" the Octavia Health Manager,
                and "o-api" the Octavia API service.

to the local section of local.conf

For example

# For LBaaS V2
ENABLED_SERVICES+=,q-lbaasv2
ENABLED_SERVICES+=,octavia,o-cw,o-hk,o-hm,o-api

For more information, see the "Externally Hosted Plugins" section of http://docs.openstack.org/developer/devstack/plugins.html.