From 1c77d700f975b085af6e05718ed7c8cabfd0ccb6 Mon Sep 17 00:00:00 2001 From: Tomoe Sugihara Date: Mon, 12 Mar 2012 21:49:54 +0900 Subject: [PATCH] Create floating ip pool when quantum is enalbed QuantumManager didn't use to support floating ip, but now it should. Change-Id: Ic150a4a4bd44e05a0a094ee80578c908162fb2c0 --- stack.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/stack.sh b/stack.sh index 2c535b9f7b..aa957a1b1c 100755 --- a/stack.sh +++ b/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