diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-12-13 12:31:39 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-12-15 12:37:52 +0100 |
commit | acf339f2840d0fe7a46187a0597704cf5b486214 (patch) | |
tree | de114d6482bcd7cfd9d057f756d8b6f8864911cb /sfc/tests/functest/config.yaml | |
parent | 1350624dbcf49c27ae0333719c2d7dda86ca7b0e (diff) |
Make SFC installable as a python module
New directory structure:
<root>/sfc
<root>/sfc/lib/
<root>/sfc/tests
<root>/sfc/tests/functest
JIRA: SFC-60
After installing sfc, the imports would be:
import sfc.tests.functest.x
import sfc.lib.x
Change-Id: Ib15172239aefdef65056d6598210a1b28a4b2eff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'sfc/tests/functest/config.yaml')
-rw-r--r-- | sfc/tests/functest/config.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sfc/tests/functest/config.yaml b/sfc/tests/functest/config.yaml new file mode 100644 index 00000000..78cf42fb --- /dev/null +++ b/sfc/tests/functest/config.yaml @@ -0,0 +1,45 @@ +defaults: + #odl-sfc uses custom flavors as per below params + flavor: custom + ram_size_in_mb: 1500 + disk_size_in_gb: 10 + vcpu_count: 1 + image_name: sf_nsh_colorado + image_file_name: sf_nsh_colorado.qcow2 + fuel_master_ip: 10.20.0.2 + fuel_master_uname: root + fuel_master_passwd: r00tme + image_format: qcow2 + url: "http://artifacts.opnfv.org/sfc/demo" + vnfd-dir: "vnfd-templates" + +testcases: +# this change requires sfc.py to be renamed as sfc_two_chains_SSH_and_HTTP +# for run_tests.py integration. Rename of sfc.py will be submitted in +# separate patch for better review clarity and name will be changed back to +# sfc_two_chains_SSH_and_HTTP once sfc.py is renamed + sfc: + enabled: true + description: "ODL-SFC tests" + testname_db: "sfc_two_chains_SSH_and_HTTP" + net_name: example-net + subnet_name: example-subnet + router_name: example-router + subnet_cidr: "11.0.0.0/24" + secgroup_name: "example-sg" + secgroup_descr: "Example Security group" + test_vnfd_red: "test-vnfd1.yaml" + test_vnfd_blue: "test-vnfd2.yaml" + + sfc_one_chain_two_service_functions_different_computes: + enabled: true + description: "ODL-SFC Testing SFs in different computes" + testname_db: "sfc_one_chain_two_service_functions_different_computes" + net_name: example-net + subnet_name: example-subnet + router_name: example-router + subnet_cidr: "11.0.0.0/24" + secgroup_name: "example-sg" + secgroup_descr: "Example Security group" + test_vnfd_red: "test2-vnfd1.yaml" + test_vnfd_blue: "test2-vnfd2.yaml" |