diff options
author | wuwb1989 <wuwenbin2@huawei.com> | 2016-07-04 10:55:44 +0800 |
---|---|---|
committer | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-07-04 11:14:36 +0000 |
commit | 0e3995a63d1a82fbc508dbb3ff591da2b8c0f22a (patch) | |
tree | d54165b18ca41fc59317c37e3a1dcf3b7014536c /ci | |
parent | ed39c21344dc4b4209eb4319ba15ce60defc3e90 (diff) |
Add interface to run sfc functests.
Varified only in fuel.
Prerequisite: no floating ip exists.
Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c
Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
Diffstat (limited to 'ci')
-rw-r--r-- | ci/config_functest.yaml | 7 | ||||
-rwxr-xr-x | ci/exec_test.sh | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/ci/config_functest.yaml b/ci/config_functest.yaml index ea502dacb..78e714324 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 4a75bcbde..c0bdf96bf 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 |