aboutsummaryrefslogtreecommitdiffstats
path: root/integration/storperf/start_job.sh
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-08-01 17:51:04 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-08-01 17:51:04 +0800
commit61e134112a356d298e0e370832ec676caf2e85ef (patch)
tree0ae4ce43443f0d55546eaae812f45d673ad5cc11 /integration/storperf/start_job.sh
parent06b4f3801918ff5548b25e3897a49fe3e3953d9a (diff)
Find nova vs. vm mapping relation
Find nova vs. vm mapping relation, and save it to a json file named "nova_vm.json" JIRA: QTIP-253 Change-Id: Ib9b6356525d78cd69752843ff65425a4628bd160 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'integration/storperf/start_job.sh')
-rwxr-xr-xintegration/storperf/start_job.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/integration/storperf/start_job.sh b/integration/storperf/start_job.sh
index 6ac95ec0..363072f6 100755
--- a/integration/storperf/start_job.sh
+++ b/integration/storperf/start_job.sh
@@ -30,6 +30,8 @@ if [[ -z $WORKSPACE ]];then
WORKSPACE=`pwd`
fi
+source $WORKSPACE/openstack.sh
+
echo ==========================================================================
echo "Start to create storperf stack"
cat ${stack_json} 1>&2
@@ -39,6 +41,8 @@ curl -X POST --header 'Content-Type: application/json' \
--header 'Accept: application/json' -d @${stack_json} \
'http://127.0.0.1:5000/api/v1.0/configurations'
+nova_vm_mapping
+
echo
echo ==========================================================================
echo "Start to run storperf test"