From 611cab4b48f14227c636f34cec155dbd99a1d7f2 Mon Sep 17 00:00:00 2001 From: "Sean M. Collins" Date: Fri, 9 Oct 2015 12:54:32 -0400 Subject: [PATCH] docs: Add IPs to provider net node configurations Also remove variable definitions from compute node localrc that is only applicable on the control node. Change-Id: I37b00611ff08d8973f21af7db340d287b1deb4af --- doc/source/guides/neutron.rst | 36 ++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/doc/source/guides/neutron.rst b/doc/source/guides/neutron.rst index 99b7811e9c..67be067b38 100644 --- a/doc/source/guides/neutron.rst +++ b/doc/source/guides/neutron.rst @@ -236,8 +236,21 @@ controller node. :: + HOST_IP=10.0.0.2 + SERVICE_HOST=10.0.0.2 + MYSQL_HOST=10.0.0.2 + SERVICE_HOST=10.0.0.2 + MYSQL_HOST=10.0.0.2 + RABBIT_HOST=10.0.0.2 + GLANCE_HOSTPORT=10.0.0.2:9292 PUBLIC_INTERFACE=eth1 + ADMIN_PASSWORD=secrete + MYSQL_PASSWORD=secrete + RABBIT_PASSWORD=secrete + SERVICE_PASSWORD=secrete + SERVICE_TOKEN=secrete + ## Neutron options Q_USE_SECGROUP=True ENABLE_TENANT_VLANS=True @@ -269,24 +282,37 @@ would be a public IP address range that you or your organization has allocated to you, so that you could access your instances from the public internet. -The following is a snippet of the DevStack configuration on the -compute node. +The following is the DevStack configuration on +compute node 1. :: + HOST_IP=10.0.0.3 + SERVICE_HOST=10.0.0.2 + MYSQL_HOST=10.0.0.2 + SERVICE_HOST=10.0.0.2 + MYSQL_HOST=10.0.0.2 + RABBIT_HOST=10.0.0.2 + GLANCE_HOSTPORT=10.0.0.2:9292 + ADMIN_PASSWORD=secrete + MYSQL_PASSWORD=secrete + RABBIT_PASSWORD=secrete + SERVICE_PASSWORD=secrete + SERVICE_TOKEN=secrete + # Services that a compute node runs ENABLED_SERVICES=n-cpu,rabbit,q-agt ## Neutron options - Q_USE_SECGROUP=True - ENABLE_TENANT_VLANS=True - TENANT_VLAN_RANGE=3001:4000 PHYSICAL_NETWORK=default OVS_PHYSICAL_BRIDGE=br-ex PUBLIC_INTERFACE=eth1 Q_USE_PROVIDER_NETWORKING=True Q_L3_ENABLED=False +Compute node 2's configuration will be exactly the same, except +`HOST_IP` will be `10.0.0.4` + When DevStack is configured to use provider networking (via `Q_USE_PROVIDER_NETWORKING` is True and `Q_L3_ENABLED` is False) - DevStack will automatically add the network interface defined in