Skip to content

Commit 1c77d70

Browse files
author
Tomoe Sugihara
committed
Create floating ip pool when quantum is enalbed
QuantumManager didn't use to support floating ip, but now it should. Change-Id: Ic150a4a4bd44e05a0a094ee80578c908162fb2c0
1 parent 8da5656 commit 1c77d70

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

stack.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,15 +1559,11 @@ if is_service_enabled mysql && is_service_enabled nova; then
15591559
# create a small network
15601560
$NOVA_DIR/bin/nova-manage network create private $FIXED_RANGE 1 $FIXED_NETWORK_SIZE
15611561

1562-
if is_service_enabled q-svc; then
1563-
echo "Not creating floating IPs (not supported by QuantumManager)"
1564-
else
1565-
# create some floating ips
1566-
$NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE
1562+
# create some floating ips
1563+
$NOVA_DIR/bin/nova-manage floating create $FLOATING_RANGE
15671564

1568-
# create a second pool
1569-
$NOVA_DIR/bin/nova-manage floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
1570-
fi
1565+
# create a second pool
1566+
$NOVA_DIR/bin/nova-manage floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
15711567
fi
15721568

15731569

0 commit comments

Comments
 (0)