From 97ee48059e4a92892ecdd8970cdd16109fee8c43 Mon Sep 17 00:00:00 2001 From: German Eichberger Date: Thu, 9 Mar 2017 09:22:12 -0500 Subject: [PATCH] Clarifications and doc improvements - adds a few lines the install doc - adds a comment to test network config Change-Id: I98b005aee7ad220634b8f58b098ce459b4c78179 --- doc/source/configure-octavia.rst | 16 +++++++++++----- tests/host_vars/localhost.yml | 2 ++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/source/configure-octavia.rst b/doc/source/configure-octavia.rst index e78d4a89..9cdfaf12 100644 --- a/doc/source/configure-octavia.rst +++ b/doc/source/configure-octavia.rst @@ -24,23 +24,29 @@ OpenStack-Ansible deployment Setup a neutron network for use by octavia ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In a general case, neutron networking can be a simple flat network. However, -in a complex case, this can be whatever you need and want. Ensure -you adjust the deployment accordingly. The following is an example: +Octavia needs connectivity between the control plane and the +load balancing VMs. For this purpose a provide rnetwork should be +created which bridges containers (if the control plane is installed +in a container) or hosts with vms. Refer to the appropriate documentation +and consult the tests in this project. In a general case, neutron networking +can be a simple flat network. However in a complex case, this can be whatever +you need and want. Ensure you adjust the deployment accordingly. The following +is an example how to set it up in neutron: .. code-block:: bash - neutron net-create cleaning-net --shared \ + neutron net-create mgmt-net --shared \ --provider:network_type flat \ --provider:physical_network mgmt - neutron subnet-create ironic-net 172.19.0.0/22 --name mgmt-subnet + neutron subnet-create mgmt-net 172.19.0.0/22 --name mgmt-subnet --ip-version=4 \ --allocation-pool start=172.19.1.100,end=172.19.1.200 \ --enable-dhcp \ --dns-nameservers list=true 8.8.4.4 8.8.8.8 + Building Octavia images ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/host_vars/localhost.yml b/tests/host_vars/localhost.yml index 15c1fca9..61721f78 100644 --- a/tests/host_vars/localhost.yml +++ b/tests/host_vars/localhost.yml @@ -19,6 +19,8 @@ ansible_python_interpreter: "/usr/bin/python2" bridges: - name: "br-mgmt" ip_addr: "10.1.1.1" + # Use container mgmt as Octavia mgmt net + # set up veth pair to connect with Neutron veth_peer: "eth14" - name: "br-vxlan" ip_addr: "10.1.2.1"