70c601b1fb
Requires skipping some of the pool tests as they are taking too long. We will need to revisit those and find a way to re-enable them. Sets up a minimal set of "happy path" tests for neutron gate Depends-On: Ifce40b0af9da715d44bab8ec437f844ccf638f52 Depends-On: I0434b8ced144ab08413b91569bd008295ef1784e Change-Id: I8e72a63f3ac9d3b605779b49112a1f9924845c5c Implements: blueprint lbaas-ref-octavia |
||
---|---|---|
.. | ||
local.conf | ||
local.sh | ||
README-Vagrant.md | ||
README.md | ||
Vagrantfile | ||
webserver.sh |
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.
-
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.
-
Build your devstack:
cd <DEVSTACK_DIR> ./stack.sh
-
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.