Setup health manager networking for devstack

When running the health manager on single host devstack machine, the
hosts IP cannot simply be used as if the health manager is running
on a host by itself.  The solution here is to create a neutron port
on the lb-mgmt-net which sets up necessary ovs ports and also
reserves an IP.  Then the script creates an ovs port for and sets
and interface with the information the neutron port create allocated.

There are some flaws with this but its a starting point and can and
probably will be improved on in the future.  However it works for
now.

Change-Id: Ic3d3d1d63a5cc352c5fc00dea58bb16915754a7c
Closes-Bug: #1490033
This commit is contained in:
Brandon Logan
2016-01-08 09:50:48 -06:00
parent af2959c1f4
commit 8e24232371
2 changed files with 16 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ OCTAVIA_ADMIN_PASSWORD=${OCTAVIA_ADMIN_PASSWORD:-${ADMIN_PASSWORD}}
OCTAVIA_PROTOCOL=${OCTAVIA_PROTOCOL:-"http"}
OCTAVIA_PORT=${OCTAVIA_PORT:-"9876"}
OCTAVIA_HM_LISTEN_PORT=${OCTAVIA_HM_LISTEN_PORT:-"5555"}
OCTAVIA_MGMT_SUBNET=${OCTAVIA_MGMT_SUBNET:-"192.168.0.0/24"}
OCTAVIA_MGMT_SUBNET_START=${OCTAVIA_MGMT_SUBNET_START:-"192.168.0.2"}