Dean Troyer | 51fb454 | 2012-03-09 22:21:59 -0600 | [diff] [blame] | 1 | #!/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 |
| 10 | export ACTIVE_TIMEOUT=${ACTIVE_TIMEOUT:-30} |
| 11 | |
| 12 | # Max time to wait for proper IP association and dis-association. |
| 13 | export ASSOCIATE_TIMEOUT=${ASSOCIATE_TIMEOUT:-15} |
| 14 | |
| 15 | # Max time till the vm is bootable |
| 16 | export BOOT_TIMEOUT=${BOOT_TIMEOUT:-30} |
| 17 | |
| 18 | # Max time from run instance command until it is running |
| 19 | export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))} |
| 20 | |
| 21 | # Max time to wait for a vm to terminate |
| 22 | export TERMINATE_TIMEOUT=${TERMINATE_TIMEOUT:-30} |
Dean Troyer | 67787e6 | 2012-05-02 11:48:15 -0500 | [diff] [blame] | 23 | |
Joe Gordon | 4640026 | 2013-06-30 04:32:27 -0700 | [diff] [blame] | 24 | # Max time to wait for a euca-volume command to propagate |
Dean Troyer | 67787e6 | 2012-05-02 11:48:15 -0500 | [diff] [blame] | 25 | export VOLUME_TIMEOUT=${VOLUME_TIMEOUT:-30} |
| 26 | |
Joe Gordon | 4640026 | 2013-06-30 04:32:27 -0700 | [diff] [blame] | 27 | # Max time to wait for a euca-delete command to propagate |
Dean Troyer | 67787e6 | 2012-05-02 11:48:15 -0500 | [diff] [blame] | 28 | export VOLUME_DELETE_TIMEOUT=${SNAPSHOT_DELETE_TIMEOUT:-60} |
Armando Migliaccio | b0d8a82 | 2012-12-13 16:08:48 +0000 | [diff] [blame] | 29 | |
| 30 | # The size of the volume we want to boot from; some storage back-ends |
| 31 | # do not allow a disk resize, so it's important that this can be tuned |
| 32 | export DEFAULT_VOLUME_SIZE=${DEFAULT_VOLUME_SIZE:-1} |