aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
AgeCommit message (Collapse)AuthorFilesLines
2016-07-12Merge changes from topics 'fix_unix_rights_py', 'stop_creating_ODL_dir'Morgan Richomme12-0/+0
* changes: Chmod 755 all py files which can be executed Stop creating the useless ODL results dir
2016-07-12Chmod 755 all sh files which can be executedCédric Ollivier3-0/+0
All files where shebang is defined can now be executed by everyone. It results from [1]. [1] find . -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod 755 Change-Id: I8bf1f52e55532d5e82f8188121028e9dd5074294 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-12Chmod 755 all py files which can be executedCédric Ollivier12-0/+0
All files where __main__ is checked can now be executed by everyone. It results from [1]. [1] find . -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod 755 Change-Id: I9ad153cfdde0447213e35dac102e668d9e754cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-11bug fix: use PASS/FAIL in Onos instead of passed/failedMorgan Richomme1-2/+2
Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-11Fix one pep8 violationCédric Ollivier1-1/+1
Change-Id: I1d57c02bc0e5952bed7f5eb86d0ba602448035e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-08SFC Testcase for functestManuel Buil5-0/+461
JIRA: FUNCTEST-354 This test case creates two chains, one blocks ssh, the other http We check with the client that the blocking works in one and then we change the classifier rules to check the other one Change-Id: I7d12f5d8b4bc4a7e1566f04e02ca78ac2a4e0920 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-08Fix onos sfc's block.wuwenbin22-11/+28
Add ping check before login. Change-Id: If93809ddf727246db453208c79a8e4ecaa288c51 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-08Create vnf directory in testcasesMorgan Richomme5-0/+0
JIRA: FUNCTEST-358 Change-Id: I00dacef2a07e3980cc33cdbfad7ea238c1153599 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-08Conform start_tests.sh to last ODL patchesCédric Ollivier1-11/+1
It mainly removes all hacks vs __init__.robot which can be deleted since the patches [1] and [2] has been merged. [1] https://git.opendaylight.org/gerrit/#/c/41461/ [2] https://git.opendaylight.org/gerrit/#/c/41463/ Change-Id: I0692681794737c06609e06f88af64edc6fe98efe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-06Merge "Change methods to call openstack utils"Morgan Richomme1-48/+23
2016-07-06Merge "Fix tacker client dependencies installation"Morgan Richomme1-1/+3
2016-07-06bug fix: use PASS/FAIL for rallyMorgan Richomme1-2/+2
Change-Id: I1f870aad5b648f24f8097028ba97d6c118402586 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06bug fix use FAIL/PASS as criteria for integration in automatic reportingMorgan Richomme1-2/+2
JIRA: FUNCTEST-355 Change-Id: I683107558b8f83e6de4244d55e6cfd93f0271db7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-07-06Move copper.py to functest repoblsaws1-0/+80
JIRA:COPPER-4 Fix minor flake8 issues Fix PASS|FAIL to match requirements Change-Id: I91d5ace36c31e4aa189422d8ec20467565e3c4d7 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-07-05Fix tacker client dependencies installationjose.lausuch1-1/+3
JIRA: FUNCTEST-354 Change-Id: Ia62fcf0a2ed8dcb80b81d786593dd9f3c6333df2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-05Bug fix of tacker_client_installManuel Buil1-3/+3
JIRA: FUNCTEST-354 There is a library missing Change-Id: I6e1ddef4558c49ec715ea318fedd5b4cefa62670 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-05Add tacker installation to odl-sfcManuel Buil1-0/+41
A new directory is created and the script which installs tacker added Change-Id: I5647bf28be6d1dc9b769aa265fe8ae9ec5c90ad2 Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
2016-07-05Fix doctor test return checkCarlos Goncalves1-1/+1
utils.functest_utils.execute_command returns 0 if no error Change-Id: Iedc36b50521cf281a7b8da351cde9e1c8f9468bd Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2016-07-05Change methods to call openstack utilswuwenbin21-48/+23
Change-Id: I3ac1fba007ae91dc8963139caa0d6ac2a48d2ba8 Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
2016-07-05Fix incorrect path for createfiles.py and amended hiera pathLuke Hinds1-2/+3
JIRA: FUNCTEST-350 Change-Id: I29cdd2e6783fb659a673346d3033b1b2e7b3461b Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-07-05Merge "Add interface to run sfc functests."Morgan Richomme1-6/+70
2016-07-04Merge "Delete robotframework files hosted by ODL"Morgan Richomme3-153/+0
2016-07-04Add example script creating an instancejose.lausuch1-0/+136
This is to be used by feature projects or newcomers to functest. SFC or BGPVPN test cases can be based on this one. The script creates an instance and assigns a floating IP to it. Change-Id: If35495631031187bfb5382ba8c0a8884dfaa3d7f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> Depends-On: Ie10d55872bc8c5a404b0d0156ee49a9d94482008
2016-07-04Delete robotframework files hosted by ODLCédric Ollivier3-153/+0
All the modifications done on 010__networks.robot, 020__subnets.robot and 030__ports.robot have been backported to ODL [1]. These files can be safely removed as both repos are now synchronized. [1] https://git.opendaylight.org/gerrit/#/c/40948/ Change-Id: I3e027e41042a25924b9edd0034eddbd895a248fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-07-04Add interface to run sfc functests.wuwb19891-6/+70
Varified only in fuel. Prerequisite: no floating ip exists. Change-Id: If6ef4c395992ba1544559b47c5c97f7cd5ce004c Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-07-03Merge "ONOS sfc scripts"Jose Lausuch3-0/+1043
2016-07-01ONOS sfc scriptsAntonySilvester3-0/+1043
Change-Id: Id314d64cffc3e25b7c3f47e9ff158f79360417e0 Signed-off-by: AntonySilvester <antonysilvester@gmail.com>
2016-06-29bug fix: use FAIL/PASS as criteria for vping_userdata and rally_sanityMorgan Richomme2-4/+4
Change-Id: Iadccae118bb2dc557bb590175c65022c1ed70605 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-28Switch to ODL_SYSTEM_IP and OPENSTACK varsCédric Ollivier8-23/+14
It follows the last updates of ODL's robotframework files [1]. Useless Set Suite Variable calls are also removed. [1] https://git.opendaylight.org/gerrit/#/c/36569/ Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-28Change step 4 to step 3 in healtcheckjose.lausuch1-1/+1
Change-Id: I4b506f942d7435b8d67e710f3e00a0886cdf6cd5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-24Merge "bug fix: duplicate start_date var with different type"valentin boucher1-2/+2
2016-06-24bug fix: duplicate start_date var with different typeMorgan Richomme1-2/+2
mix between the var and its display value leads to problem when pushing the results to the DB Change-Id: I582785f38f35add1251b58491843b4f3f20a3ff8 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-22modify onos tests' link to support onos 1.6wuwb19892-8/+8
Change-Id: Ice9b19a1d569b4084921961ec0a3a9d961923521 Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-06-20bugfix: name format and testcase start timeboucherv1-7/+7
Change-Id: I8929ccc69c09dc70eee92695eab1ebfa77dcf283 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-20Merge "change cloudify cli version from 3.3 to 3.3.1"Morgan Richomme1-1/+1
2016-06-17Check resources exist before testing deleteCédric Ollivier3-7/+37
It checks if network, subnet or port exists before calling the delete operation. It also replaces NetID by NETID to conform robotframework best practices. Change-Id: Ie13f41e2b29c0a0cbfba3115dd8189a805fcf056 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-17change cloudify cli version from 3.3 to 3.3.1boucherv1-1/+1
Change-Id: Ied464d22ba1947f359f6af9584c56908e101f1b7 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-16Align test names in DB and config fileMorgan Richomme7-12/+22
JIRA: FUNCTEST-304 Change-Id: I98d3155beb1c5e49eda84b443df603c2630b4823 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-16Merge "Fixed auth url in v2.Password"Jose Lausuch1-3/+4
2016-06-16Fixed auth url in v2.PasswordLuke Hinds1-3/+4
Completes "Added use of OS_AUTH_URL to security_scan and exec_test.sh" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15633/ Change-Id: I756c10091c3e7fe9e7c8978e2747582bb0f4d281 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-16bugfix: import moduleboucherv1-2/+2
Change-Id: I233ea8bc8df52ae9192ce4963e18f2389caa920c Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-06-15Added use of OS_AUTH_URL to security_scan and exec_test.shLuke Hinds1-3/+10
JIRA: FUNCTEST-315 Change-Id: I1f8ac20cd93ce25548dbf47d62fc6a076d347d62 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-15Merge "Try/except ODL push to DB until ODL tests are refactored"Morgan Richomme1-23/+20
2016-06-15Add documentation to conform to odlreport2db.pyCédric Ollivier1-0/+3
It completes "Add reachability testcase for ODL" [1] [1] https://gerrit.opnfv.org/gerrit/#/c/15509/ Change-Id: I9273f1c636ccfc1b192a69f7af04e6a5c1731bec Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-15Try/except ODL push to DB until ODL tests are refactoredMorgan Richomme1-23/+20
Change-Id: I7919c69655ce43831d5269afc1d86bf2c929bb8f Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-15Replace deprecated keywordsCédric Ollivier6-21/+21
It replaces get by get request, post by post request and delete by delete request. Change-Id: I6bfa6d8d53a1ec54416e3b8b2678e01f54bf7811 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Remove unused librairies in robot filesCédric Ollivier6-26/+5
Change-Id: Ifade280e02354b20869d54b15ba89838d2857640 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-14Merge "Add reachability testcase for ODL"Morgan Richomme1-0/+27
2016-06-14Enable security scanningLuke Hinds1-2/+2
Change-Id: Ib179ee6b2fcc7cf6c9ac522fdb83755ecbb99f52 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-14Add reachability testcase for ODLCédric Ollivier1-0/+27
It simply gets the complete lists of networks, subnets and ports. Change-Id: I529c381996ee45f0b11f5fa24844f25c2f8f4a93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>