Create floating ip pool when quantum is enalbed
QuantumManager didn't use to support floating ip, but now it should. Change-Id: Ic150a4a4bd44e05a0a094ee80578c908162fb2c0
This commit is contained in:
parent
8da5656ffd
commit
1c77d700f9
12
stack.sh
12
stack.sh
@ -1559,15 +1559,11 @@ if is_service_enabled mysql && is_service_enabled nova; then
|
||||
# create a small network
|
||||
$NOVA_DIR/bin/nova-manage network create private $FIXED_RANGE 1 $FIXED_NETWORK_SIZE
|
||||
|
||||
if is_service_enabled q-svc; then
|
||||
echo "Not creating floating IPs (not supported by QuantumManager)"
|
||||
else
|
||||
# create some floating ips
|
||||
$NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE
|
||||
# create some floating ips
|
||||
$NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE
|
||||
|
||||
# create a second pool
|
||||
$NOVA_DIR/bin/nova-manage floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
|
||||
fi
|
||||
# create a second pool
|
||||
$NOVA_DIR/bin/nova-manage floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user