BugFix: fix storperf deployment location error 67/18767/1
authorJingLu5 <lvjing5@huawei.com>
Tue, 16 Aug 2016 12:13:17 +0000 (20:13 +0800)
committerJingLu5 <lvjing5@huawei.com>
Wed, 17 Aug 2016 00:34:05 +0000 (08:34 +0800)
Change-Id: Ib8329f6feeadacb312171782730ef2807eda5455
Signed-off-by: JingLu5 <lvjing5@huawei.com>
plugin/CI/storperf.yaml
tests/ci/yardstick-verify
tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml
tests/opnfv/test_suites/opnfv_os-nosdn-nofeature-ha_daily.yaml

index 4407ddf..65ebe51 100644 (file)
@@ -8,6 +8,6 @@ plugins:
   name: storperf
 
 deployment:
-  ip: local
+  ip: 192.168.200.1
   user: root
   password: root
index bdb9100..7345e0e 100755 (executable)
@@ -133,8 +133,21 @@ install_storperf()
             exit 1
         fi
 
+    fi
+}
+
+remove_storperf()
+{
+    # remove Storper from huawei-pod1
+    if [ "$NODE_NAME" == "huawei-pod1" ]; then
         echo
-        echo "========== Installed storperf container =========="
+        echo "========== Removing storperf =========="
+
+        if ! yardstick -d plugin remove plugin/CI/storperf.yaml; then
+            echo "Remove storperf plugin FAILED";
+            exit 1
+        fi
+
     fi
 }
 
@@ -422,6 +435,7 @@ main()
 
     install_storperf
     run_test
+    remove_storperf
 }
 
 main
index d506ccc..6dda2d4 100644 (file)
@@ -4,7 +4,7 @@
 
 schema: "yardstick:task:0.1"
 {% set public_network = public_network or "ext-net" %}
-{% set StorPerf_ip = StorPerf_ip or "192.168.200.2" %}
+{% set StorPerf_ip = StorPerf_ip or "192.168.200.1" %}
 scenarios:
 -
   type: StorPerf
index 8bf0c65..ebe7a05 100644 (file)
@@ -102,7 +102,7 @@ test_cases:
         pod: huawei-pod1
     task_args:
         huawei-pod1: '{"public_network": "ext-net",
-        "StorPerf_ip": "192.168.200.2"}'
+        "StorPerf_ip": "192.168.200.1"}'
 -
     file_name: opnfv_yardstick_tc075.yaml
     constraint: