compass-core/regtest/regtest3.conf
zhaoxinyu a60b5d2ccd Change some static values to dynamic and add minimal test config
Also fixed some typos and add teardown after test

Change-Id: If279d8c59d32a6eef0e6dded726ead99d4c644e6
2014-04-05 03:39:03 +00:00

11 lines
468 B
Plaintext

# Set test script variables
export VIRT_NUM=${VIRT_NUM:-'7'}
export VIRT_CPUS=${VIRT_CPUS:-'4'}
export VIRT_MEM=${VIRT_MEM:-'6144'}
export VIRT_DISK=${VIRT_DISK:-'20G'}
export HOST_ROLES=${HOST_ROLES:-'os-controller,os-image;os-ops-database,os-ops-messaging;os-network,os-block-storage-worker;os-ha;os-ha'}
export HA_VIP=${HA_VIP:-`echo $ipaddr |cut -d. -f'1 2 3'`.253}
REGTEST_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${REGTEST_DIR}/regtest.conf