aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2016-06-13Fix flake8 violationsMorgan Richomme1-7/+0
Change-Id: I911eab6d4c0cdcfcf4d75f03e91c528d3388876c Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-08Adapt functest testcase to APi refactoringMorgan Richomme2-22/+24
JIRA: FUNCTEST-303 Change-Id: Ia276d9ca6e8d62b496c3b5f81561b14b02c43fd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-06-07Use current ODL Integration/Test repoDaniel Farrell2-5/+5
ODL Integration used to contain system testing, Karaf distribution building and packaging/delivery logic. It was split into three projects in August 2015: Int/Test, Int/Distribution and Int/Packaging. https://wiki.opendaylight.org/view/Archive_Proposals/Integration The integration.git repo Functest was cloning is the old one, containing all three projects. It hasn't been updated since the split. The new integration-test.git repo is the current version of ODL's system test code. This change also clones ODL from its official Gerrit, instead of its GitHub mirror. Change-Id: I6b38b1fedada504411ca0e0639355339f373084c Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-06-02Replace subnet by portCédric Ollivier6-61/+61
It also fixes several upper case letters and formats *delete*.robot Change-Id: I071be39860dd33296a067e4f3d0188d36e9b9660 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-02Rename Robot Framework sources to *.robotCédric Ollivier3-0/+0
It avoids mixing robot and txt suffixes in the same directory. Change-Id: Ia2288cc9ad7dc86fc9a4cea2c6ca7a08a7dd3e3c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-06-01Check correctly argumentsCédric Ollivier1-3/+7
It fixes argument parsing and verifies all mandatory arguments are provided. It also prevents UnboundLocalError exceptions. Change-Id: Iec3403533b312c95dd453236ccadb1fe495d61cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-31Write login correctlyCédric Ollivier1-1/+1
Change-Id: I1806fb7ac3d276065badd8537f84339c18a1856e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-05-17Change 'testcases' directory structurejose.lausuch19-1/+1
JIRA: FUNCTEST-226 - Remove all 'CI' subdirs - Remove VIM dir and have OpenStack dir within /testcases/ - Split rally and tempest in 2 different dirs Change-Id: Icfc76d18a84f7a18d93ae1a5ec7dc7a560bb7ce9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-05Fix bug config_functest.yaml locationjose.lausuch1-2/+1
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-04Refactor improvementsjose.lausuch2-2/+3
JIRA: FUNCTEST-190 - Deleted unnecessary old scripts - Fixed healtcheck logging - Moved config_functest.yaml to /ci/ - Created env var CONFIG_FUNCTEST_YAML pointing to that new location - Modified all scripts which open config_functest.yaml using the new env var Change-Id: Ic4f0e40a70c02ac08287a1d621956f602bdee177 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-27Replace all the loggers by the functest logger modulejose.lausuch1-13/+2
JIRA: FUNCTEST-228 Change-Id: If7a3c8cb08e9fbdf155fc5eff5330f79e5f8d234 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-26Move functest_utils and openstack_utils to directory /utilsjose.lausuch2-2/+2
JIRA: FUNCTEST-226 Change-Id: I74d09f6322844b25ab45a02156317ae76ab40d8a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-25Remove backslashs for line continuationCédric Ollivier4-16/+16
JIRA: FUNCTEST-213 Change-Id: Ia50521cf8fcf60a847aa44fe0ea59b6e64830e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-04-22Affect version field in results for all the testcasesMorgan Richomme2-2/+2
Previously version was scenario JIRA: FUNCTEST-225 Change-Id: Ia86f83dbe98ad5f9dbced60c46e57f58eccba7e9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-04-22Enable PYTHONPATH env variable inside the containerjose.lausuch2-11/+9
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-21Fix Flake8 Violations in the Functest scriptsjose.lausuch5-226/+247
JIRA: FUNCTEST-213 Change-Id: I66c02dd6ff12ffb9798ebe44a4cfe7bfc73e76c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Add criteria and version when pushing the results into test DBMorgan Richomme2-30/+69
JIRA: FUNCTEST-151 Change-Id: Iac36f28db5f2203d7b2977a2bb973534fe167bac Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-24Add jenkins build tag for result apiboucherv2-1/+4
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 this will bring together all tests passed on the same functest run JIRA: FUNCTEST-140 Change-Id: I3c1cd8137184509ee5fdeeb2df5399d4c71e3f67 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-11Add project in push_to_db function of functests utils to allow external ↵Morgan Richomme2-0/+2
project onboarded in Functest to push their results Change-Id: I3a065e6ce82b1a87bbd07810f13df7d146655933 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-02-02Use openstack client to avoid keystone deprecation warningsjose.lausuch1-1/+1
Change-Id: Ib82b3f20d0c23fc67201c7159e3b3a6de5c201cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-01Merge "use scenario instead of git info in version field of the test results"Morgan Richomme1-3/+3
2016-02-01Add testcases results to DBlanqinglong1-6/+29
Change-Id: Iada89aa690f6b3f1d041328b641620ceb0279912
2016-02-01use scenario instead of git info in version field of the test resultsMorgan Richomme1-3/+3
Change-Id: Ie80cc39e64d0fe70981623229560aa145df95c50 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-29fix the bug of onos test reportlanqinglong1-3/+23
Change-Id: I34a068f991b89af6c65c895c7e9e604eac5dadf6
2016-01-28change for get joid onos iplanqinglong1-2/+17
2016-01-27bug fix bad var affection when running ODLMorgan Richomme1-1/+1
Change-Id: I106f01928a2df71d5a46dad2087d767eb5bdf3d2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-26Patch ODL scenario to support joid (different keystone and neutron API IP)Morgan Richomme7-4/+173
JIRA: FUNCTEST-124 Change-Id: I84834fcb78e652f3b39696f0e17bf54cb5804559 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-26Allow executing ODL test as many times as wanted on the same envjose.lausuch1-5/+6
Since the script add some lines to the file called __init__.robot every time it executes, the next execution will add it again which is unnecessary and it will fail. This checks if those lines are already present and does nothing if so. Change-Id: If4c2e10bcfcac0b7fde38ff213ea4ade4b83e4f1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-01-22Merge "modify onos functest to suit joid CI"Morgan Richomme1-2/+1
2016-01-22Push ODL results to DBMorgan Richomme1-0/+143
JIRA: FUNCTEST-57 Change-Id: I8e998382aff0cc60e82338c27d234abe6be5c505 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-22modify onos functest to suit joid CIlanqinglong1-2/+1
Change-Id: Ib73d80e06042c849f8f627b252b28c2fb95a283d
2016-01-19Modify ONOS CI runninglanqinglong1-13/+120
Change-Id: I4b662b494c6c488d8643ec459a949b781ba3374a Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme8-28/+47
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-01-15Modify ONOS test for CI runninglanqinglong6-26/+103
Change-Id: I2ce678c1239920071f9eeb6fe251a92cb3737e6a Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-1/+1
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28ODL script bugfixesjose.lausuch2-6/+6
- misspelled word bugfix, old-->odl - integration directory removed JIRA: FUNCTEST-91 Change-Id: If97cccee446ac834133b51a9880684fa2ced6c07 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-23Move git clone of ODL tests repo to Dockefilejose.lausuch2-21/+16
JIRA: FUNCTEST-80 Change-Id: I39a0928f7a8c74d1cbb6db47b30e2cf2f9ae4ca1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19change expected response to 404Peter Bandzi3-3/+3
HTTP response 404 means not found which should indicate that requested entity was not found. And this is what we want after delete. JIRA: FUNCTEST-79 Change-Id: I7dc501dfe3581e5549b002abe1018add88fe8d83 Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
2015-10-19Merge "ODL test suite requirements.pip moved to general requirements"Morgan Richomme3-51/+0
2015-10-19ODL test suite requirements.pip moved to general requirementsjose.lausuch3-51/+0
create_env script removed. Modules already installed in the docker image Change-Id: Ied166532b47f0f3b6189251776c984df9cf3570d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-16Move the configuration from test scripts to config_functest.yamllanqinglong5-16/+49
JIRA:FUNCTEST-77 The configuration is in onos test files Get them out, put in config_functest.yaml Change-Id: I3f7b868b61a7e66596f7c0cc232c5b045d77aecb Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-10-15Merge "Write a simple adapter in functest project to run TESTON"Morgan Richomme1-1/+9
2015-10-14intergrate the basic function senario and testcases in TESTONlanqinglong2-10/+33
JIRA:FUNCTEST-47 include tests: Northbound test Ovsdb test Change-Id: Icd5bc2da117cc5c2f7196a0f06fa8934fd8e022f Signed-off-by: lanqinglong <lanqinglong@huawei.com>
2015-10-13Write a simple adapter in functest project to run TESTONlanqinglong1-1/+9
JIRA:FUNCTEST-46 Add Env function: replace onos file Add log folder Change-Id: Ice2679ccf00258dfb206ab252590ec586b1d2c9d Signed-off-by: lanqinglong <lanqinglong@huawei.com>