create 2 vPing scenario:vping and vping-userdata 25/7425/1
authorMorgan Richomme <morgan.richomme@orange.com>
Wed, 20 Jan 2016 10:01:59 +0000 (11:01 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 20 Jan 2016 10:41:40 +0000 (10:41 +0000)
the new vping scenario does not use the userdata/cloudinit functions

JIRA: FUNCTEST-3

Change-Id: Ia535a50a9cfd50d520b87c2dd9195747a61b0f1f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 4475765f05a24e14f1d90db28941ff5ba5ca1be7)

docker/run_tests.sh
testcases/config_functest.yaml
testcases/vPing/CI/libraries/vPing.py

index 7e8b012..6ae12b9 100755 (executable)
@@ -59,6 +59,11 @@ function run_test(){
             python ${FUNCTEST_REPO_DIR}/testcases/vPing/CI/libraries/vPing2.py \
                 --debug ${report}
         ;;
+        "vping_userdata")
+            info "Running vPing test using userdata/cloudinit.... "
+            python ${FUNCTEST_REPO_DIR}/testcases/vPing/CI/libraries/vPing.py \
+                --debug ${report}
+        ;;
         "odl")
             info "Running ODL test..."
             neutron_ip=$(keystone catalog --service identity | grep publicURL | cut -f3 -d"/" | cut -f1 -d":")
index 6a61206..229cb9b 100644 (file)
@@ -158,13 +158,13 @@ results:
 # and if vPing is failing is usually not needed to continue...
 test_exec_priority:
     1: vping
-    2: tempest
-    3: odl
-    4: onos
-    5: ovno
-    #6: doctor
-    7: promise
-    #8: policy-test
+    2: vping_userdata
+    3: tempest
+    4: odl
+    5: onos
+    6: ovno
+    #7: doctor
+    8: promise
     #9: odl-vpn_service-tests
     #10: opnfv-yardstick-tc026-sdnvpn
     #11: openstack-neutron-bgpvpn-api-extension-tests
@@ -222,6 +222,7 @@ test-dependencies:
     functest:
         vims:
         vping:
+        vping_userdata:
         tempest:
         rally:
         odl:
index b87de85..f261ff3 100644 (file)
@@ -469,7 +469,7 @@ def main():
             git_version = functest_utils.get_git_branch(REPO_PATH)
             pod_name = functest_utils.get_pod_name(logger)
             functest_utils.push_results_to_db(TEST_DB,
-                                              "vPing",
+                                              "vPing_userdata",
                                               logger, pod_name, git_version,
                                               payload={'timestart': start_time_ts,
                                                        'duration': duration,