Add template for BGPVPN test case in run_tests.sh 41/4441/3
authorjose.lausuch <jose.lausuch@ericsson.com>
Mon, 14 Dec 2015 13:44:18 +0000 (14:44 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Mon, 14 Dec 2015 17:18:23 +0000 (18:18 +0100)
JIRA: FUNCTEST-99

Change-Id: I2c7da6b7e79906de1eb43804b8441821e16500cc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
docker/run_tests.sh

index 55a6d90..40c519e 100755 (executable)
@@ -90,6 +90,18 @@ function run_test(){
             info "Running Rally benchmark suite..."
             python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally.py --debug ${FUNCTEST_REPO_DIR}/ all
         ;;
+        "bgpvpn_template")
+            info "Running BGPVPN Tempest test case..."
+            tempest_dir=$(find /root/.rally -type d -name for-deploy*)
+            # TODO:
+            # do the call of your test case here.
+            # the bgpvpn repo is cloned in $BGPVPN_REPO_DIR
+            # tempest is installed in $tempest_dir
+            # Suggestion:
+            #   mkdir ${tempest_dir}/tempest/api/bgpvpn/
+            #   cp ${BGPVPN_REPO_DIR}/networking_bgpvpn_tempest/<whatever you need> \
+            #       ${tempest_dir}/tempest/api/bgpvpn/
+            #   ${tempest_dir}/run_tempest.sh tempest.api.bgpvpn.<test_case_name>
     esac
 }