summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-20Restore peering within testcase3 for Apextomsou2-18/+13
Change-Id: I7f3a4892e6ef73fb13512e427fab3e42ff1b69d9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-31Cleanup after testcase runningtomsou7-39/+228
After every testcase running cleanup neutron and nova elements: - Allocated floating IPs (nova) - Created instances (nova) - Created images (nova) - Created router-subnet interfaces (neutron) - Created gateaway routers (neutron) - Created routers (neutron) - Created subnets (neutron) - Created networks (neutron) - Created bgpvpns (neutron) JIRA: SDNVPN-145 JIRA: SDNVPN-148 Change-Id: Id6df004bb9d0d394e2cf39692b624607167c9a6c Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-29Merge "Fix fail of pinging a floating IP- testcase8"Nikolas Hermanns2-1/+2
2017-05-25Fix failure in router association- testcase8tomsou1-1/+1
Due to some latency at the creation of the instance 8-1 somitimes the router association between 'sdnvpn-8-1-router' and net 'sdnvpn-8-2' fails. The case could be more robust, increasing the number of ping tries from its current value (=1) JIRA: SDNVPN-102 Change-Id: I3b9701c40f1221cfebc540d312b61bb881389762 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-25Fix fail of pinging a floating IP- testcase8tomsou2-1/+2
-Raise the upper bound for ping action JIRA: SDNVPN-154 Change-Id: Ifadf58f551f706a90cc17b0b1f8d05718e4908f9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-22Fix the wrong image path for base imagehelenyao1-1/+1
The images are put under new directory while the code is still using old path Change-Id: I6dfa59ffe6bde316f155560449979bd10354b43c Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-19Merge "Put the ubuntu images in new directory"Jose Lausuch1-1/+1
2017-05-17Update logger via logging.getLogger()Linda Wang12-24/+32
1. The module functest.utils.functest_logger has been deleted and logger has been reconfigured in functest [1]. 2. Update all related modules to get loggers via logging.getLogger(). [1] https://gerrit.opnfv.org/gerrit/#/c/34019/ JIRA: FUNCTEST-824 Change-Id: I89f5d15342b5f257fbc2700655e255a4e28bd36f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-09Fix the zrpcd running check within testcase3tomsou1-1/+1
Check specifically the "running" state of the zrpcd service JIRA: SDNVPN-150 Change-Id: I1b63f25dfab5fd4507cc219fb1c21291064a8bab Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-08Put the ubuntu images in new directoryhelenyao1-1/+1
To adopt the new change of Functest[1], all images are put under ${HOME}/functest/images. Users are allowed to pre-download the images and map the local folder to the new directory. [1] https://gerrit.opnfv.org/gerrit/#/c/34033 Change-Id: Iafee8825af77dfce74ad2ace3346e3f2b70a7c96 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-04add lable for both scenariosNikolas Hermanns1-1/+3
Change-Id: I9b4cd79a40a6c0c0b057f5eb3cb2a4197f3264e7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-04removing multiple labelsNikolas Hermanns8-18/+0
Change-Id: I28fe4db7598c20ca7be90bc7cd57bf0d9770847b Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-04Removing peering testcase for ApexNikolas Hermanns2-13/+21
Change-Id: Ifad3f84fcb0c5dfa07aca43d74a027e3522abb87 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-04Merge "Stop and start quagga when reinstalling"Nikolas Hermanns1-2/+20
2017-05-04Stop and start quagga when reinstallingNikolas Hermanns1-2/+20
Change-Id: Iba9a5980de0cbdf9c04bdd4dad704c12abb55048 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-03Uplifting docs to D-2Nikolas Hermanns1-3/+3
Change-Id: I8824d0620be1fff1786ed401c78062e96ca7df52 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-03Clean always and change orderNikolas Hermanns2-26/+27
Change-Id: Ic9e0d374a4fe5278888b28fe2694c546840d55b4 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-03Remove dependence inetNikolas Hermanns3-17/+18
A new ubuntu image with quagga included was uploaded to artifacts.opnfv.org/sdnvpn/ ubuntu-16.04-server-cloudimg-amd64-disk1.img Change-Id: I7e48ebbc2b00b7e771f43b26303acc66c2c48457 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-05-02Cleanup br-ex/br-quagga from testcase_3tomsou2-0/+33
After the peering between Quagga and ODL within testcase 3 cleanup br-ex (for fuel) or br-quagga (for apex) interfaces JIRA: SDNVPN-13 Change-Id: I3e7bf91d4e47dfd7fe2a5068ed40ea4b2be48c6d Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-04-07remove unused tempest blacklistNikolas Hermanns1-9/+0
Change-Id: Ica6365f41f1d4cf46244604b2ccb889bad051680 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-06Checking if hacked quagga bridge exsists and contiuneNikolas Hermanns1-7/+9
Change-Id: I8983ed687dabba0af2128c0ce06bd53aba22c819 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-06Correct testcase 8 descriptionNikolas Hermanns1-4/+6
jira: SDNVPN-138 Change-Id: If56b58b003ce2e024883a015a964e3ff3ded53f5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-04Removing groups from ovs and deleting odl folderNikolas Hermanns1-2/+5
Change-Id: If9ceadfb363c37084f4cf907d7c7945061952ba1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-04Do not stop tests if exception in testcaseNikolas Hermanns1-1/+8
Change-Id: I9e3db350be4b1ca60d6feaf2961034b50b50deb5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-03Merge "Add Labels"Nikolas Hermanns8-0/+32
2017-04-03Merge "Fix security group rule conflict"Nikolas Hermanns4-16/+58
2017-03-31Fix permission when installingNikolas Hermanns1-1/+2
Change-Id: I8f5546bddbf634fa05337caa7c4d48a3f4f1db6b Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-31If not ODL is installed install it on first controllerNikolas Hermanns1-0/+6
Change-Id: I0fa5f3e6141a92b99c446569dae8b8db631176ec Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-31Merge "Add possibility to install rpms"Nikolas Hermanns1-9/+15
2017-03-30Update url for ubuntu image downloading- testcase3tomsou1-2/+2
The url that the testcase3 uses to download ubuntu image (https://cloud-images.ubuntu.com/releases/16.04/release/ ubuntu-16.04-server-cloudimg-amd64-disk1.img) is unstable. This change updates it, using the one from the OPNFV artifact repo JIRA: SDNVPN-133 Change-Id: Ic7265b572064f1df7ce30ab5249b1bdb61c63777 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-29Merge "Prepare run_tests to be called directly to main()"Jose Lausuch1-10/+9
2017-03-30Add LabelsShubhamRathi8-0/+32
Labels serve as refs when referenced from other documents. Change-Id: I37b93bae1283d2ea8638fc49c0c40fe7badf61ad Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-29remove testing docsNikolas Hermanns2-22/+0
Change-Id: I76af05c6b3dbd945d4c027ea3dc58ae1e5357418 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-29Reduce overviewNikolas Hermanns1-2/+12
Change-Id: Ifb8915d62ea26f44f29c4d3b84beecd78dceae9e Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-29Changing to new docs structureNikolas Hermanns13-0/+77
Change-Id: I4c15e1635981b2b5fe5473be89b5abab78bfabd5 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-28Add possibility to install rpmsNikolas Hermanns1-9/+15
Change-Id: I1e5950e3331e76d71aca748f962ba2c5c3ea7541 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-28Fix security group rule conflicttomsou4-16/+58
-open_icmp_ssh function, that creates security group rules for icmp and http (here the name of the function is misleading), is splitted into 2 new functions one for each rule (open_icmp() and open_http_port()). Test cases that used the old function have been updated -In the original implementation of open_icmp_ssh() and open_bgp_port(), the direction parameter was missing. This was leading to an error message -A check for the existence of security group rule has been added and used before the creation of each security group rule. If a rule already exists, an info message is printed and the testcase continues This change is strongly dependent on https://gerrit.opnfv.org/gerrit/#/c/31925 of Functest repo. NOT TO BE MERGED before JIRA: SDNVPN-103 Change-Id: Icb96954556f6d7294cf3454f045dbca4b9be672d Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-28Remove quagga fix in the testcaseNikolas Hermanns1-12/+1
Solves partly: JIRA: SDNVPN-130 Change-Id: I1cf99e9294925545f6fece660983e32f6543f2b8 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-03-27Prepare run_tests to be called directly to main()jose.lausuch1-10/+9
Instead of python -> bash -> python, call the BGPVPN test using main() Change-Id: I8cca741814937e0a7a1d8b848fa8658e4f0d6fb5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-03-27Merge "Fix testcase3 (peering subcase) for Apex"Nikolas Hermanns2-6/+17
2017-03-27Merge "Fix DNS use for testcase 3"Nikolas Hermanns1-1/+1
2017-03-24Fix testcase3 (peering subcase) for Apextomsou2-6/+17
- Fix runnning bgp related commands on Karaf: update util.run_odl_cmd() in order to be able to run commands on karaf client. Otherwise karaf commands fail - Ensure zrpcd/bgpd to run on controller side properly: Add missing quagga run folder, change owner and add user quagga into quaggavt group, in case of apex installer - Update the way of handling br-ex information and parsing out the controller external ip and mask: In case we have multiple ip/netmask assigned on br-ex the separation was faulty and an extra line, containing the second ip address, was added into ext_net_mask variable JIRA: SDNVPN-118 Change-Id: I62468c94fd945ba30e419bd30d9cd85502f28eeb Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-23Fix DNS use for testcase 3tomsou1-1/+1
Make the VMs use properly 8.8.8.8 nameserver Change-Id: I8ebf0ff23fa78dcbc50eba9eb27262e690c56b66 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-22Merge "Set unlimited port quotas"Nikolas Hermanns1-1/+2
2017-03-22Testcase 3 Apex compatibility fixesRomanos Skiadas3-19/+68
- Workaround a bug releng in getting opedaylight nodes - Add some sudo commands because the path is not properly set otherwise it seems - remove needless command that gets ip information from the compute, since that is already available from when the command was ran on the controller - Handle attaching the quagga instance to Apex's br-ex ovs bridge Change-Id: I870f1049d9cce696ec26376a09db5f9e9bac0bf9 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-18Set unlimited port quotasRomanos Skiadas1-1/+2
Change-Id: I6de4bc921f1823f58395e27d804b863b79d23030 JIRA: SDNVPN-126 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-18DNS fix for testcase 3Romanos Skiadas1-0/+5
The CI fails because the openstack DNS does not work. Make the VMs use 8.8.8.8 Change-Id: If0c45710cda402158171ce3436731d96bc346565 JIRA: SDNVPN-125 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-17Merge "Create flavor for Quagga ubuntu VM"Nikolas Hermanns4-2/+15
2017-03-17Fix broken call to re.search()Romanos Skiadas1-1/+1
Change-Id: I3d49c683c81e136967432acd1d28b6d305cfe90f Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-17Create flavor for Quagga ubuntu VMtomsou4-2/+15
- Implement a new function in lib/utils ensures (gets or creates) a new flavor existence - Use this new function within Testcase3, in order to create a flavor big enough to start ubuntu with JIRA: SDNVPN-120 Change-Id: I5c7d9c855f083b96bfd056bb5d935baa851420c9 Signed-off-by: tomsou <soth@intracom-telecom.com>