summaryrefslogtreecommitdiffstats
path: root/integration/storperf/cleanup.sh
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-08-11 08:43:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-11 08:43:43 +0000
commit2a91ca171b2c6defe5ce4ec23426d3140e4572cf (patch)
treee6244098cc1d9f4c534a13030437f8fa3aead2da /integration/storperf/cleanup.sh
parent72f2521a18aeed7aa3485f98b15eaa325deafa18 (diff)
parent3b440fba4ca0781bcf1283baaa5c44704d745017 (diff)
Merge "refactor: run storperf scripts in qtip container"
Diffstat (limited to 'integration/storperf/cleanup.sh')
-rwxr-xr-xintegration/storperf/cleanup.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/integration/storperf/cleanup.sh b/integration/storperf/cleanup.sh
new file mode 100755
index 00000000..1aee1658
--- /dev/null
+++ b/integration/storperf/cleanup.sh
@@ -0,0 +1,14 @@
+#! /bin/bash
+##############################################################################
+# Copyright (c) 2017 ZTE and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+echo "Deleting image"
+openstack image delete "Ubuntu 16.04 x86_64"
+
+echo "Deteing flavor"
+openstack flavor delete storperf