create 2 vPing scenario:vping and vping-userdata
[functest.git] / docker / run_tests.sh
index cb6fb0c..6ae12b9 100755 (executable)
@@ -2,10 +2,16 @@
 
 #
 # Author: Jose Lausuch (jose.lausuch@ericsson.com)
-#
+#         Morgan Richomme (morgan.richomme@orange.com)
 # Installs the Functest framework within the Docker container
 # and run the tests automatically
 #
+#
+# 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
+#
 
 usage="Script to trigger the tests automatically.
 
@@ -50,6 +56,11 @@ function run_test(){
     case $test_name in
         "vping")
             info "Running vPing 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}
         ;;