summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-03-16Merge "Fix most end-to-end issues with testcase 3 and reenable it"Nikolas Hermanns5-118/+122
2017-03-16Fix most end-to-end issues with testcase 3 and reenable itRomanos Skiadas5-118/+122
- Make the test work end-to-end on Fuel - Use the instance log to verify quagga started - Don't attempt to check for peering, as that is for a future release - Use the external IP of the controller for peering - Fix not getting the output of OpenDaylight commands Change-Id: Ia7bb533ab65e0fca6b7f48bb64133f6d8f3ff8ae JIRA: SDNVPN-114 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-15Implement a get VM IP function in utils to be used within test casestomsou5-11/+16
Change-Id: Iaedbfb2fc626eb7d88badee2530593b43c0d1152 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-15Merge "Adding Labels"Nikolas Hermanns1-0/+2
2017-03-15Set unlimited instance quotas to fix CItomsou1-0/+7
JIRA: SDNVPN-115 Change-Id: I4e24800e897702b8b5aa5ef0227925d66d552f02 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-14Fix quagga peering by working around the NATRomanos Skiadas3-6/+44
Quagga peering doesn't seem to work over the NATted openstack external network. To work around this, directly patch the quagga instance to the external network and give it a fixed IP in that network. Then, all the peering traffic goes over that patched interface. Change-Id: I8d9d8fef4e86839c821f83e564d5c49cc15e43ae JIRA: SDNVPN-114 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-13Fix typo in quagga script and call to glanceRomanos Skiadas2-3/+3
Change-Id: I80ce2f3b442bc7862486368822c8fe2cd13a0f1b JIRA: SDNVPN-114 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-13Fix bgpd.conf path and duplication in tc_3Romanos Skiadas2-7/+1
Change-Id: I78e521fddd8a156d5c9597d6307ac9b6f2571f5c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-08Adding LabelsShubhamRathi1-0/+2
Labels serve as anchors/ refs when referenced from other documents This patch adds labels to docs/*/*/index.rst Change-Id: Iaba02fccac1cbd164a44a7fef913572b1819b00c Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-07Fix functest failing in apex case- testcase3tomsou2-14/+39
- Check the INSTALLER_TYPE environment variable - Differentiate fuel from apex case JIRA: SDNVPN-101 Change-Id: I10fa26f5c0b7f95601b29db86e756a20c9e921ec Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-03-06Merge "Set unlimited network and subnet quotas to fix CI"Nikolas Hermanns1-0/+7
2017-03-06Merge "Implement quagga peering"Nikolas Hermanns7-15/+397
2017-03-02Set unlimited network and subnet quotas to fix CIRomanos Skiadas1-0/+7
Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1 JIRA: SDNVPN-100 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-02Implement quagga peeringRomanos Skiadas7-15/+397
- Create an openstack instance - Assign it a floating IP - Execute a quagga bootstrap script using cloud init - Tell ODL to peer with the instance - Start an instance in a VPN - make sure the route was exchanged between the peered quagga and ODL Change-Id: I73bcaec5425df2b953c2bceaca7d4f09ff28f3d0 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-03-01Update release notes for DanubeRomanos Skiadas3-91/+97
JIRA: SDNVPN-96 Change-Id: I0bb0d7f065bdd0f356b995f24374eb32f77344d1 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-23Implement testcase 3: Quagga-ODL integrationtomsou2-2/+117
Testcase 3, which verifies OpenDaylight can start and communicate with zrpcd/Quagga - Verify that zrpdc service is running - Issue bgp speaker start to OpenDaylight - Verify that zrpcd has started bgpd JIRA: SDNVPN-98 Change-Id: Ia0c497292a724161259c669425229d189a317ba2 Signed-off-by: tomsou <soth@intracom-telecom.com> Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-21TC 8:Fix argument passed to create_glance_imageRomanos Skiadas1-1/+1
Change-Id: Ibed4febf84f4384ffcca951bd95d5284add454ea Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-17Enable floating IP and router assoc testRomanos Skiadas1-1/+1
Change-Id: I2bc538fd055a14c5295f955ed700674cf60ad452 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-16Merge "Fix incompatibility with new tempest functest API"Jose Lausuch1-4/+9
2017-02-12Add and update license headersjose.lausuch34-20/+136
Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-02-08Fixes tripleo_helper permissionsTim Rozet1-4/+5
There were issues with some of the commands that need to be root. Along with logging into the undercloud when the tripleo_inspector script is ran as a non root user. Change-Id: Ie29b674bd0770759b3bcc22323b424fcc270eef6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-08Fix incompatibility with new tempest functest APIRomanos Skiadas1-4/+9
Change-Id: I2f2bf9ed9dd775bec222d2faa241ffd1920aa516 JIRA: SDNVPN-93 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com> Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-01-31Merge "Updates ODL Pipeline scripts for CSIT"Nikolas Hermanns21-329/+356
2017-01-30Updates ODL Pipeline scripts for CSITTim Rozet21-329/+356
Changes Include: - Change to TripleOInspector which only introspect a current Apex deployment and dump yaml config to be bundled with snapshots. - Add TripleOHelper which consists of all tripleO helper functions. Many this are done to virsh so the idea is to have at. Some point in time a libvirtHelper, or use another libvirt python lib. Thatsway it is a class so that we can inherit later on. - New argument for passing the SSH private key to use to connect to nodes is added to the service utils. - Some general clean up and consolidation of logic JIRA: APEX-363 Change-Id: I792db0fac3f4e81969fe85c05fc298fe5af02537 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-01-25Merge "Test for router assoc and floating IP"Nikolas Hermanns2-0/+171
2017-01-24change cloner info pathNikolas Hermanns1-1/+1
Change-Id: Ie478c725149fe43da7b56a84748ac74ec99a0d69 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-20Test for router assoc and floating IPRomanos Skiadas2-0/+171
JIRA: SDNVPN-90 Change-Id: I81a38c3b707dd836512c9afbab93808cb6b91adc Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-22Use find_packages when installing sdnvpnjose.lausuch1-2/+2
If we specify only the module 'sdnvpn', it won't install the sub-modules 'lib' and 'functest'. With find_packages there is no need to specify the package names. Change-Id: If7606a2cedbd6f7b8866747e748eadaa8b9bd5e7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-22Bug fixes after the Functest refactorjose.lausuch6-14/+10
Change-Id: I20b9629bd3c9945e98edb94056f459d9f75eec5d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Update directory pathjose.lausuch1-2/+2
JIRA: FUNCTEST-673 Change-Id: I8430939c009942cd9f96e526c8acd2115267ed2f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-19Merge "Fix table formatting in testcase 7"Jose Lausuch2-4/+3
2016-12-19Merge "Modify tests to require 100% subtest success, fix tempest"Jose Lausuch7-35/+17
2016-12-19Change execution permission for scriptsNikolas Hermanns3-0/+0
Change-Id: I71f4b21fccadd64ce28249c043a765e6bc66a2cc Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19Add post process scriptNikolas Hermanns1-0/+2
Change-Id: I51e7ba17e0aedeba736f240647902432a885eabe Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-16Fix table formatting in testcase 7Romanos Skiadas2-4/+3
Not enough '-' Change-Id: Ia90a678cdf7022cbdbafb1d42531e7aaff716c2c Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-16Modify tests to require 100% subtest success, fix tempestRomanos Skiadas7-35/+17
This is required to better align with functest, since that will handle overall success/failure status. Also if a subestest failed, there were expected failures that could seem like they pass making the overall success % look the same, which would make the test look fine, even thought it failed. Some tests check things that are known not to work. Disable these until they are fixed upstream. Also remove the success_criteria field from the config. Fail the test if any subtest fails. This has the added benefit that it fixes the tempest suite, which was still trying to read the value of `succes_criteria` that had been renamed to `success_criteria`. JIRA: SDNVPN-89 Change-Id: Iba5e5cc0db6c371f29a4cbba66ca16c4a1838e12 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-16Merge "Make sdnvpn a package"Nikolas Hermanns20-17/+37
2016-12-15Make sdnvpn a packageRomanos Skiadas20-17/+37
- Clean up the test/functest folder and move things to lib/ & artifacts/ - Add a new top level folder for the sdnvpn python code Change-Id: I5fdc7fa5475fb800f488a17d3481158c9c4f84e1 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-14Merge "Execute script in lib folder/Use vjumb as Gateway"Nikolas Hermanns6-6/+10
2016-12-14Execute script in lib folder/Use vjumb as GatewayNikolas Hermanns6-6/+10
Change-Id: I9ad9c9473829fb64ea5ed4f1a21d77aa16615344 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-14Merge "Testcase for router/FloatingIP & net assoc mutual exclusivity"Nikolas Hermanns4-0/+196
2016-12-13Merge "Don't pass ips to get_ssh_output and check_ping"Jose Lausuch4-76/+36