aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/config.yaml
AgeCommit message (Collapse)AuthorFilesLines
2019-01-25Fix Two Chains Test and Enabled all Testcasesgvrangan1-3/+3
- Method added to support Port Chain update - Used the new method to modify the test as follows - Create two Port Chains (one VNF per chain) - Block ssh in one vnf and http in the other - Test communication - Swap the flow classifiers in the chains so that ssh packets are sent to vnf where http is blocked and vice versa - Fix extracting odl username/password from ml2_conf - Checking flow classifiers are implemented - Fixed odl cleanup Change-Id: I1f0f3a3b829d6c73d1bb1a774ebf3484912b84b7 Signed-off-by: gvrangan <venkatrangang@hcl.com>
2018-08-31Decouple tacker from testsManuel Buil1-0/+4
Support n-sfc too and abstract a bit the MANO layer so that other MANO components can be inserted into the test Change-Id: I3fb59fbf40b4207bf1721092cd8ff0559e1d9d90 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-08-29Bug fix: Deletion testcase only uses one VNFManuel Buil1-1/+0
We are only using one vnf but there are two defined in the config for that testcase Change-Id: Ifa86c2e48cb60edcd1b173eee14715c3787a9889 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-06-07Provide support for VNFsManuel Buil1-0/+4
Currently it is not possible to define different images for client/server and VNFs. This functionality is important to have in order to test different VNFs Change-Id: Ibc3b3f1102d52529701748d37f795cdf05269410 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-05-15Clean up Test Case codePanagiotis Karalis1-0/+35
Too much of duplicated code has been obeserved in test cases. With this patch a small refactoring is necessery to our test cases code. So they can be more generic and more flexible. To achieve that the addition of new parent class is essential, hence all the rest test case classes will inherit from the aforementioned parent class. Change-Id: I6a50d8330a06321742b3bb03cc999682d4a4e6a1 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
2018-04-13Fix symmetric testcase configManuel Buil1-2/+2
One patch was merged without rebasing and it reverted some accepted changes Change-Id: Ia64cef60df1ceb72d8789d122cf1bbb820819aa2 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-04-09Use different config files depending on versionManuel Buil1-2/+2
We can read the openstack version from the env variables and then use a different config. The reason we use this is because openstack API changed from Pike to Queens and Pike is the official version for OPNFV Fraser release Change-Id: I8a94e71224d2ba0aa75a6438f3d7b03929acbbef Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-04-04Update symmetric chain test caseJaime Caamaño Ruiz1-2/+2
Update the symmetric chain test case aligning it with updates available from ODL Oxygen: - ODL networking-sfc implementation now supports symmetric paths. It is no longer needed to configure the ACL or chain directly through the ODL rest api. It can now be fully relied on tacker for this. - ODL networking-sfc implementation now supports different ingress and egress ports for port pairs. The test case exercises this by setting up a VNF with two distinct ports. Note that this requires an updated VNF image that supports two nics and bundles a vxlan_tool capable of using them. Change-Id: Ie711abb93109943dcbf699ece7b2b570500a3711 Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
2018-03-16Add support for Compass installerYifei Xue1-0/+3
JIRA: SFC-122 Add support for Compass installer in SFC repo which will make Compass SFC scenarios be verified by SFC testcase daily. Change-Id: I8129ebe837d54cdcd163158990fccf40451b98ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-31Test the deletion of chainManuel Buil1-0/+13
This is the flow of the test: 1 - Create a vnffg in tacker (i.e. chain + classifier) 2 - Remove the vnffg 3 - Check that the RSPs are removed from operation DB in ODL and the classifier rules are not present in the flows 4 - Create a new vnffg 5 - Test the new chain: 5.1 - Check HTTP traffic works 5.2 - Block HTTP traffic in VNF and check that it does not work anymore Change-Id: Ia077e58c5cbce4258a2f8a36f6b961eb923ff9c5 Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-01-31Use the new vnf image for FraserManuel Buil1-4/+4
Change-Id: I11c37ed6898c03b2a54a0e3b11422c654023333f Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-12-21Migrate to SNAPs openstack libraryManuel Buil1-2/+1
Functest is deprecating its openstack library which we were using extensively We need then to move to an alternative and the best appears to be SNAPs Change-Id: Icaa0b9f1ec580545b9d0faa88be2080a310deaf7 Signed-off-by: Manuel Buil<mbuil@suse.com>
2017-12-19Documentation update and some clean upManuel Buil1-8/+8
Change-Id: I1fca51b9b6afff5a596ceee2e1401127fe23231d Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-10-12Move to sfc_nsh_euphrates imageManuel Buil1-2/+2
To create the four SFs we will use the sfc_nsh_euphrates image. This image is like the sfc_nsh_danube but modifying the vxlan_tool which now has the important fix: https://git.opendaylight.org/gerrit/#/c/64116/ Change-Id: I396b5523b7243472b6d05b62d831837938067422 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-10-04Do not use capital lettersManuel Buil1-1/+1
As agreed with the releng-xci guys, we should not use capital letters to refer to openstack-ansible (osa) Change-Id: I634747b07e72513f751cde3eb33f3b4bad5c176d Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-29Sort config.yml correctly and correct vnfd namesManuel Buil1-11/+12
JIRA: SFC-116 It is confusing that our test-1 is in the second position of config.yaml and that it uses test2-vnfd instead of test-vnfd Change-Id: Iffd22f295630bce0ce854d4876c1478c56690cfa Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-28Disable test 2 for 5.0.0 (Euphrates 1.0)Manuel Buil1-1/+1
Test 2 is continuously failing because of tacker missing functionality Change-Id: I785e79d78df4bfb9f48e20288e261efff741bcd4 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-09-07Adapt functionality to the new Tacker APIDimitrios Markou1-0/+3
Change-Id: I078e9f26d3040cf04120abd425f03cb4f2e8daef Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-08-31Add support for OSA.Taseer Ahmed1-0/+3
Change-Id: I16a5e4522dde96de8d06e6cfb1e3a429b4f171de Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-31Adapt the testcases to multiple installersDimitrios Markou1-5/+7
Right now the testcases are dependent to only one installer. So when we are trying to run the testcases to multiple installers the tests are failing. This patch make the testcases independent to the installer that they run. The testcases are running until the point which they hit the tacker client commands.They are failing in the tacker client commands because we need the new library for the upstream tacker API. The testaces have already tested to two installers (Fuel,Apex-ha). Also this patch contains the changes which are required for the adaptation to the new functest. For more information see the Jira tickets [0],[1],[2]. [0]: https://jira.opnfv.org/browse/SFC-100 [1]: https://jira.opnfv.org/browse/SFC-101 [2]: https://jira.opnfv.org/browse/SFC-102 Change-Id: Id1e5d5c94a65ab8bdea9584fa833bfa0cdec6632 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-08-31Fix yamllint errors and warningsDimitrios Markou1-40/+41
Change-Id: I33f3fd0aa0bc71a1ee07ea4504619b090517a87b Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-06-09Conform SFC test to Functest frameworkjose.lausuch1-3/+0
- Inherit from OSGCTestCase which takes care of pushing the result to the DB automatiically. - Functest will just need to import this module in testcases.yaml and the framework will launch it - It is still possible to call this script from python command line directly as it has a main function. Change-Id: If02c13b6b6c2500f4eed7646a2b9eb284df0c5ae Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-27Rename the sfc_one_chain_two_service_functions..Dimitrios Markou1-3/+3
We use topology shuffling for the execution of testcases so is meaningless to specify an exact topology in the testcase's file name Change-Id: I6fc7b3b2a72017fe501a022dca001c5bc7761acc Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-03-18Run tests in orderGeorge Paraskevopoulos1-1/+4
Change-Id: I3cbbcd17182bf6f1f6558cb199577d989ac62ae6 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-10Disable symmetric test case to not test it in CIManuel Buil1-1/+1
symmetric test case doe snot work in multicompute env. We want to avoid that it is executed in CI because it will always fail in the Danube release Change-Id: I2a12d9aea31df37c689d96ae7eb323339b8ffb89 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-02-20Get vnfd parameter file location from config.yamlGeorge Paraskevopoulos1-0/+1
Change-Id: Ide425e860ad219ec24765905666994390858cfdb Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-17Introduce new test case: symmetric service chainJuan Vidal1-0/+14
JIRA: SFC-53 The goal is to verify that the traffic traverses the service chain, not only in the uplink (client --> server) direction, but also in the downlink (client <-- server) direction, which is the part that is not currently being covered by other test cases. Change-Id: I198a53e5afe3da1b397cee95627834856498b674 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-15Refactor utils using installer adaptersGeorge Paraskevopoulos1-4/+6
JIRA: SFC-65 JIRA: SFC-71 Use the new library in releng to talk to fuel. This allows for correct configuration of the compute hosts to resolve SFC-71 Also since https://gerrit.opnfv.org/gerrit/#/c/28281/ was merged it allows to run in multienv deployments so it resolves SFC-65 Change-Id: I5e6beb90d9c5108c21acb8d898f07cd2f4ae34f3 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-14Fix image name in vnfd templates and config.yamlGeorge Paraskevopoulos1-3/+3
Go back to ubuntu-based VM. Change-Id: I4a2b0da904144f77efba86e4084728102b202eab Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-07Modify name and filename for VM image to use a sparse and compressed oneJuan Vidal1-3/+3
Change-Id: I83bc0ed150e1e793e0e55d6bd787b13370c7a540 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-01Rename sfc.pyGeorge Paraskevopoulos1-5/+1
Rename sfc.py to sfc_two_chains_SSH_and_HTTP.py. Renaming the testcase is a functional requirement as well because otherwise it aliases sfc module inside sfc/sfc/tests/ directory Change-Id: Id505c22a8f278260aee8f76254b0e10f5ed7213a Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-01-11Get Fuel environment id from configurationGeorge Paraskevopoulos1-0/+1
JIRA: SFC-65 Get the id of the fuel environment from config.yaml instead of an environmental variable Change-Id: I39e61200986b407ae19cc9f7c1384c34c8410c8b Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-15Make SFC installable as a python modulejose.lausuch1-0/+45
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>