From 61e134112a356d298e0e370832ec676caf2e85ef Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Tue, 1 Aug 2017 17:51:04 +0800 Subject: 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 --- integration/storperf/openstack.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'integration/storperf/openstack.sh') diff --git a/integration/storperf/openstack.sh b/integration/storperf/openstack.sh index 011aadb7..99701871 100755 --- a/integration/storperf/openstack.sh +++ b/integration/storperf/openstack.sh @@ -56,3 +56,10 @@ create_storperf_flavor() fi openstack flavor show storperf } + + +nova_vm_mapping() +{ + rm ./nova_vm.json + openstack server list --name storperf-agent -c ID -c Host --long -f json > nova_vm.json +} \ No newline at end of file -- cgit 1.2.3-korg