From: Markos Chandras Date: Mon, 21 Nov 2016 15:09:45 +0000 (+0000) Subject: bifrost: test-bifrost-deployment: Allow overriding VM hardware options X-Git-Tag: danube.1.0~616^2~2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=f2e09a1c47a8333efb7309089017f677db197f6e;p=releng.git bifrost: test-bifrost-deployment: Allow overriding VM hardware options Make VM disk, cpu and memory settings configurable to allow less powerful hosts to host the bifrost VMs. Change-Id: If819451536dd518690f3808c55de940169b90346 Signed-off-by: Markos Chandras --- diff --git a/prototypes/bifrost/scripts/test-bifrost-deployment.sh b/prototypes/bifrost/scripts/test-bifrost-deployment.sh index 030faedcf..32a066388 100755 --- a/prototypes/bifrost/scripts/test-bifrost-deployment.sh +++ b/prototypes/bifrost/scripts/test-bifrost-deployment.sh @@ -34,13 +34,13 @@ PROVISION_WAIT_TIMEOUT=${PROVISION_WAIT_TIMEOUT:-2400} TEST_VM_NUM_NODES=3 export TEST_VM_NODE_NAMES="jumphost.opnfvlocal controller00.opnfvlocal compute00.opnfvlocal" export VM_DOMAIN_TYPE="kvm" -export VM_CPU=4 -export VM_DISK=100 +export VM_CPU=${VM_CPU:-4} +export VM_DISK=${VM_DISK:-100} TEST_PLAYBOOK="test-bifrost-infracloud.yaml" USE_INSPECTOR=true USE_CIRROS=false TESTING_USER=root -VM_MEMORY_SIZE="8192" +VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-8192} DOWNLOAD_IPA=true CREATE_IPA_IMAGE=false INSPECT_NODES=true