Merge "labs: wait for neutron to start"

This commit is contained in:
Jenkins 2014-08-23 18:19:00 +00:00 committed by Gerrit Code Review
commit da220b6ec2
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,11 @@ indicate_current_auto
# Create the external network and a subnet on it.
#------------------------------------------------------------------------------
echo "Waiting for neutron to start."
until neutron net-list >/dev/null 2>&1; do
sleep 1
done
echo "Creating the external network."
neutron net-create ext-net --shared --router:external=True

View File

@ -12,6 +12,11 @@ indicate_current_auto
#
#------------------------------------------------------------------------------
echo "Waiting for neutron to start."
until neutron net-list >/dev/null 2>&1; do
sleep 1
done
echo "Creating the tenant network."
neutron net-create demo-net