Allow manual request for overlay network in multinode
Change-Id: I17218d9c71ab91a13f404f16c7e4b0f03abe533a
This commit is contained in:
parent
0ef46186dd
commit
125d051bbf
|
@ -222,6 +222,9 @@ fi
|
|||
# Set to 1 to run neutron distributed virtual routing
|
||||
export DEVSTACK_GATE_NEUTRON_DVR=${DEVSTACK_GATE_NEUTRON_DVR:-0}
|
||||
|
||||
# This variable tells devstack-gate to set up an overlay network between the nodes.
|
||||
export DEVSTACK_GATE_NET_OVERLAY=${DEVSTACK_GATE_NET_OVERLAY:-$DEVSTACK_GATE_NEUTRON_DVR}
|
||||
|
||||
# Set to 1 to run nova in cells mode instead of the default mode
|
||||
export DEVSTACK_GATE_CELLS=${DEVSTACK_GATE_CELLS:-0}
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ function setup_multinode_connectivity {
|
|||
localrc_set $sub_localconf "MULTI_HOST" "True"
|
||||
# and on the master
|
||||
localrc_set $localconf "MULTI_HOST" "True"
|
||||
elif [[ "$DEVSTACK_GATE_NEUTRON_DVR" -eq '1' ]]; then
|
||||
elif [[ "$DEVSTACK_GATE_NET_OVERLAY" -eq '1' ]]; then
|
||||
ovs_vxlan_bridge "br-ex" $primary_node "True" 1 \
|
||||
$FLOATING_HOST_PREFIX $FLOATING_HOST_MASK \
|
||||
$sub_nodes
|
||||
|
|
Loading…
Reference in New Issue