aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/resources/scripts/remove
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-07-29 11:13:46 +0800
committerJingLu5 <lvjing5@huawei.com>2016-07-29 11:13:46 +0800
commit9a2b4855c8b3543c31fa62862fe55d54ce7123ce (patch)
treec32dd16ac06795902b5cdea2cf4c83a1c8904ba6 /yardstick/resources/scripts/remove
parenta2ba9d0d6d2e44dcfeb7693bd0e4f728d5076f13 (diff)
Bugfix: move plugin install/remove scripts to "scripts" directory
Change-Id: I0deb04c2e7e0908e8d28ace7ee8fdf27eec65917 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'yardstick/resources/scripts/remove')
-rw-r--r--yardstick/resources/scripts/remove/storperf.bash20
1 files changed, 20 insertions, 0 deletions
diff --git a/yardstick/resources/scripts/remove/storperf.bash b/yardstick/resources/scripts/remove/storperf.bash
new file mode 100644
index 000000000..a8eb51c89
--- /dev/null
+++ b/yardstick/resources/scripts/remove/storperf.bash
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+##############################################################################
+# Copyright (c) 2016 Huawei Technologies Co.,Ltd 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
+##############################################################################
+
+# StorPerf plugin un-installation script
+
+set -e
+
+docker stop storperf-yardstick
+docker rm -f storperf-yardstick
+docker rmi opnfv/storperf
+
+rm -rf /tmp/storperf-yardstick