blob: b41714da495c456015767a9959bd36f6ae019b3a [file] [log] [blame]
Dean Troyer51fb4542012-03-09 22:21:59 -06001#!/usr/bin/env bash
2#
3# source exerciserc
4#
5# Configure the DevStack exercise scripts
6# For best results, source this _after_ stackrc/localrc as it will set
7# values only if they are not already set.
8
9# Max time to wait while vm goes from build to active state
10export ACTIVE_TIMEOUT=${ACTIVE_TIMEOUT:-30}
11
12# Max time to wait for proper IP association and dis-association.
13export ASSOCIATE_TIMEOUT=${ASSOCIATE_TIMEOUT:-15}
14
15# Max time till the vm is bootable
16export BOOT_TIMEOUT=${BOOT_TIMEOUT:-30}
17
18# Max time from run instance command until it is running
19export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))}
20
21# Max time to wait for a vm to terminate
22export TERMINATE_TIMEOUT=${TERMINATE_TIMEOUT:-30}