From 0e3995a63d1a82fbc508dbb3ff591da2b8c0f22a Mon Sep 17 00:00:00 2001 From: wuwb1989 Date: Mon, 4 Jul 2016 10:55:44 +0800 Subject: Add interface to run sfc functests. Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 --- ci/config_functest.yaml | 7 ++++++- ci/exec_test.sh | 6 +----- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'ci') diff --git a/ci/config_functest.yaml b/ci/config_functest.yaml index ea502dac..78e71432 100644 --- a/ci/config_functest.yaml +++ b/ci/config_functest.yaml @@ -7,6 +7,7 @@ general: dir_tempest_cases: testcases/OpenStack/tempest/custom_tests/ dir_vIMS: testcases/vIMS/ dir_onos: testcases/Controllers/ONOS/Teston/ + dir_onos_sfc: testcases/Controllers/ONOS/Sfc/ # Absolute path dir_repos: /home/opnfv/repos @@ -34,7 +35,7 @@ general: image_name: Cirros-0.3.4 image_file_name: cirros-0.3.4-x86_64-disk.img image_disk_format: qcow2 - + # Private network for functest. Will be created by config_functest.py neutron_private_net_name: functest-net neutron_private_subnet_name: functest-subnet @@ -57,6 +58,10 @@ vping: vping_sg_name: vPing-sg vping_sg_descr: Security group for vPing test case +onos_sfc: + image_name: TestSfcVm + image_file_name: firewall_block_image.img + tempest: identity: tenant_name: tempest diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 4a75bcbd..c0bdf96b 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -115,11 +115,7 @@ function run_test(){ python ${FUNCTEST_REPO_DIR}/testcases/features/bgpvpn.py ;; "onos") - if [ "$INSTALLER_TYPE" == "joid" ]; then - python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/onosfunctest.py -i joid - else - python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/onosfunctest.py - fi + python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/onosfunctest.py ;; "promise") python ${FUNCTEST_REPO_DIR}/testcases/features/promise.py $report -- cgit 1.2.3-korg