neutron-lbaas/devstack/samples
Vu Cong Tuan a5294c1d11 Remove SCREEN_LOGDIR from devstack
SCREEN_LOGDIR has already been deprecated [1]
[1] https://review.openstack.org/#/c/499186

Change-Id: Ife4f3910ad3f6971d3c8ceae3ca3cb68feb32ead
2017-10-05 17:06:44 +07:00
..
README-Vagrant.md Add Vagrant file that can bring up a working LBaaS devstack 2015-04-20 09:54:55 -07:00
README.md Add devstack scripts that set up a working loadbalancer 2015-04-18 18:11:27 -07:00
Vagrantfile Set Octavia as the reference LBaaSv2 driver 2015-09-22 00:48:21 +00:00
local.conf Remove SCREEN_LOGDIR from devstack 2017-10-05 17:06:44 +07:00
local.sh Use "--pub-key" instead of "--pub_key" 2016-07-14 01:09:05 -05:00
webserver.sh Make sample web server close connections 2016-01-26 20:41:58 +00:00

README.md

This directory contains sample files for configuring neutron LBaaS using devstack. By copying these files into the main devstack directory (not the neutron-lbaas/devstack directory directly above this one), and running stack.sh, you will create a fully functioning OpenStack installation running a neutron-lbaas load balancer.

  1. Copy the files into place:

    cp local.conf local.sh webserver.sh <DEVSTACK_DIR>

where

<DEVSTCK_DIR> is the main devstack directory.  Note: this is not
neutron-lbaas/devstack.
  1. Build your devstack:

    cd <DEVSTACK_DIR> ./stack.sh

  2. Test your loadbalancer:

    a) Determine the loadbalancer IP:

     source openrc admin admin
     neutron lbaas-loadbalancer-show lb1 | grep vip_address
     curl <LB_IP>
    

    where <LB_IP> is the VIP address for lb1. The subsequent invocations of "curl <LB_IP>" should demonstrate that the load balancer is alternating between two member nodes.