summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_one_chain_two_service_functions_different_computes.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27Rename the sfc_one_chain_two_service_functions..Dimitrios Markou1-237/+0
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> (cherry picked from commit ff5710c3d39cf5124a00ad329aeae1d483a803a2)
2017-03-24Revert "Change from functest logger to python logging"George Paraskevopoulos1-3/+2
This reverts commit cb311aad19c732fa006b50795ab66687e01b95a6. Change-Id: I123c30acd765df692483eb5f91fecd1478219201 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit e011a3d122888444c36fba6ee74b27b955356480)
2017-03-22Added more logs to classification checkManuel Buil1-0/+3
The classification check is not working in CI and we don't understand why. I added a lot more logs to check Change-Id: I81bcc8874c5e5e843e0c301e1d66d5d11de092f3 Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-03-21Bug fix in CI: security groups not workingManuel Buil1-1/+1
CI tests create a lot of security groups with the name default. Our SFs are assigned to a default security group but there are so many that the result is not predictable and most likely wrong. We add it now to example-sg sec. group Change-Id: I64984aa7b6114747c5bab5fb2e4b8d8d32865bb0 Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit 3c6e0efc2f4575ec2cf2e1304bdc1b66cdc08b06)
2017-03-21Bug fix in CI: security groupsManuel Buil1-0/+5
CI tests create a lot of security groups with the name default. Our SFs are assigned to a default security group but there are so many that the result is not predictable and most likely wrong. We add it now to example-sg sec. group Change-Id: I120765a33e55e47b78ef3c8664c82fb147ce9df0 Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit 6282c5cce71ae994aaece374375234cf207992f8)
2017-03-18Change from functest logger to python loggingGeorge Paraskevopoulos1-2/+3
Change-Id: Ie7b2a63c301819a79768d1b286ee00693cd1129b Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit cb311aad19c732fa006b50795ab66687e01b95a6)
2017-03-17Remove SFF_filter“Manuel Buil”1-4/+1
After further investigation we found out that the classifier is deployed in all computes. When deploying several tests, ODL starts to function very slowly and sometimes the classifier takes a long time to be deployed in one compute. That tricked us and made us think that it was not deployed everywhere Change-Id: I474a05f77a6342be741d14ffbdb674ef7f970908 Signed-off-by: “Manuel Buil” <mbuil@suse.com> (cherry picked from commit 70445ba93cb07164933ed0c5aac8db32f6f652d4)
2017-03-15Bug fix: Classification check failing“Manuel Buil”1-1/+4
If both SFs are in one host, the classification rules are not implemented in all the hosts Change-Id: Ifea131a86f49d33fdc6110a13d5fdc6c2796f7fa Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit da6d1d2e018e358f71ad734766580a7343829c29)
2017-03-14Bug fix: classif. check not working for one chainManuel Buil1-1/+3
In the test case with only one chain the wait_classification function was not working Change-Id: I4cff1e61130b6fc68d736108a0da048909dad750 Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit 4b082d08b46941da06630926a117054881a8aa1b)
2017-03-14Bug fix: client and server not using shuffler“Manuel Buil”1-2/+2
Client and server were not being created based on the topology shuffler and thus the topology was not followed Change-Id: I1d7228d2d75e4ecf57ff8eb1c4226b963b2b9dd4 Signed-off-by: “Manuel Buil” <mbuil@suse.com>
2017-03-10Using installer adapters for second test case“Manuel Buil”1-104/+70
The second test case can also benefit from installer adapters Change-Id: Ie2ce8c9112582fa39428e5410f1c7ae6274161ea Signed-off-by: Manuel Buil <mbuil@suse.com>
2017-02-20Get vnfd parameter file location from config.yamlGeorge Paraskevopoulos1-0/+7
Change-Id: Ide425e860ad219ec24765905666994390858cfdb Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-20Use __name__ on Logger instantiation instead of custom stringsJuan Vidal1-2/+1
Change-Id: Ic68256410b29cf3ba39a10a92d243979ea475220 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-16Check that VNFs boot properlyJuan Vidal1-4/+3
Change-Id: I10b82e9a48363cbe10c62d4f4f7f9b22371b06e9 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-16Merge "Pass availability zone as param on vnf create"Manuel Buil1-26/+11
2017-02-16Fix is_ssh_blocked and is_http_blockedJuan Vidal1-2/+2
This patch fixes JIRA SFC-79 Previously, those functions used regex matching against the command output. Now, the return code from netcat is used. It should be easier and more relieable. Change-Id: I639c64b3fe0a0e3c0b59f73e5615b8737e676849 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-15Pass availability zone as param on vnf createGeorge Paraskevopoulos1-26/+11
JIRA: SFC-63 JIRA: SFC-73 Instead of changing the vnfd-template file in runtime we can pass the availability zone as a parameter when the vnf is created This enables also the use of topology_shuffler for SFC-63 Change-Id: Ie650e3347e40aee030005b6a2272cae64968d303 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-15Modify run_cmd to return exit codes as well as stdout and stderrJuan Vidal1-2/+2
The old implementation of run_cmd returned different things in different situations, so the simplified new version broke some functions relying on boolean values instead of stdout. Change-Id: Ie94e529d2abfad171b9707df169925c6f5f47dfc Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-01-12Sanitize sfc.lib.utilsGeorge Paraskevopoulos1-2/+2
- Remove unused (and unnecessary) wrapper function get_compute_nodes - Rename capture_err_logs to descriptive capture_ovs_logs - Rename compute_node argument in create_instance to av_zone - Rename capture_time_logs to more accurate wait_for_classification_rules Change-Id: Iab06eae0aa35b25ef7d5bf41a1e684f38b26430c Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-19Follow OpenStack guidelines on importsVijayendra Radhakrishna1-2/+2
- Imports are changed as per doc below although it's not a pep8/flake8 violation - http://docs.openstack.org/developer/hacking/#imports Change-Id: I89b1ec8f1eba9145f24507fb0f610e5f74c86ce8 Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
2016-12-16Fix create_glance_image callGeorge Paraskevopoulos1-1/+1
Change https://gerrit.opnfv.org/gerrit/#/c/25725/ modified functest API create_glance_image requires the kw arg public to be one of ['public'|'private'] Change-Id: I7f963b0fb20e71c254a1c604021e1ce0b1f049df Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-12-15Make SFC installable as a python modulejose.lausuch1-0/+271
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>