sdnvpn.git
7 years agoRemoving peering testcase for Apex 73/34273/1
Nikolas Hermanns [Thu, 4 May 2017 14:02:28 +0000 (16:02 +0200)]
Removing peering testcase for Apex

Change-Id: Ifad3f84fcb0c5dfa07aca43d74a027e3522abb87
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit c0080201984842b64b91ea3cb0fc96ca03fe303c)

7 years agoUplifting docs to D-2 17/34217/1 danube.2.RC1
Nikolas Hermanns [Wed, 3 May 2017 14:21:58 +0000 (16:21 +0200)]
Uplifting docs to D-2

Change-Id: I8824d0620be1fff1786ed401c78062e96ca7df52
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 19ff2816a46f1c4828ea104bbe0361e2d5b93ba5)

7 years agoClean always and change order 63/34163/1
Nikolas Hermanns [Wed, 3 May 2017 15:49:53 +0000 (17:49 +0200)]
Clean always and change order

Change-Id: Ic9e0d374a4fe5278888b28fe2694c546840d55b4
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 88331de3fb9375d316acba7b160ddf2a9beab5b2)

7 years agoRemove dependence inet 59/34159/1
Nikolas Hermanns [Wed, 3 May 2017 14:25:53 +0000 (16:25 +0200)]
Remove dependence inet

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>
(cherry picked from commit 9e47ddb9739bb3e6b2ca91615c71bcd94c954172)

7 years agoCleanup br-ex/br-quagga from testcase_3 49/34149/1
tomsou [Tue, 2 May 2017 12:25:58 +0000 (12:25 +0000)]
Cleanup br-ex/br-quagga from testcase_3

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>
(cherry picked from commit 0d8f3bf930bdd945d34188fb591a6deb03a999c5)

7 years agoMerge "remove unused tempest blacklist" into stable/danube
Nikolas Hermanns [Thu, 27 Apr 2017 11:53:46 +0000 (11:53 +0000)]
Merge "remove unused tempest blacklist" into stable/danube

7 years agoremove unused tempest blacklist 39/33939/1
Nikolas Hermanns [Fri, 7 Apr 2017 08:57:44 +0000 (10:57 +0200)]
remove unused tempest blacklist

Change-Id: Ica6365f41f1d4cf46244604b2ccb889bad051680
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 5bcc4c1a6ec2e592d3a0dac4b309b46e48f651a8)

7 years agoChecking if hacked quagga bridge exsists and contiune 37/33937/1
Nikolas Hermanns [Thu, 6 Apr 2017 13:54:59 +0000 (15:54 +0200)]
Checking if hacked quagga bridge exsists and contiune

Change-Id: I8983ed687dabba0af2128c0ce06bd53aba22c819
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 2bfbe25b1df24d562789faa641c41e9cafec7efa)

7 years agoDo not stop tests if exception in testcase 09/33109/1
Nikolas Hermanns [Mon, 3 Apr 2017 14:03:08 +0000 (16:03 +0200)]
Do not stop tests if exception in testcase

Change-Id: I9e3db350be4b1ca60d6feaf2961034b50b50deb5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit fbe69370c477a7b01032df701fe96ea90ec60341)

7 years agoCorrect testcase 8 description 61/33061/1
Nikolas Hermanns [Thu, 6 Apr 2017 09:43:32 +0000 (11:43 +0200)]
Correct testcase 8 description

jira: SDNVPN-138

Change-Id: If56b58b003ce2e024883a015a964e3ff3ded53f5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 9a52d17d9ac79c358647d87b5d540e869b25769d)

7 years agoAdd Labels 15/32915/1
ShubhamRathi [Wed, 29 Mar 2017 18:40:58 +0000 (00:10 +0530)]
Add Labels

Labels serve as refs when referenced
from other documents.

Change-Id: I37b93bae1283d2ea8638fc49c0c40fe7badf61ad
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit d900e3f166536bfffdfba094757fbee4337630b8)

7 years agoFix security group rule conflict 13/32913/1
tomsou [Tue, 28 Mar 2017 12:20:37 +0000 (12:20 +0000)]
Fix security group rule conflict

-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>
(cherry picked from commit 0e26e7dfd4ff41ae7c8389218bca138346864922)

7 years agoMerge "remove testing docs" into stable/danube
Nikolas Hermanns [Fri, 31 Mar 2017 08:45:05 +0000 (08:45 +0000)]
Merge "remove testing docs" into stable/danube

7 years agoUpdate url for ubuntu image downloading- testcase3 41/32441/1
tomsou [Thu, 30 Mar 2017 08:16:13 +0000 (08:16 +0000)]
Update url for ubuntu image downloading- testcase3

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>
(cherry picked from commit 70e78577e8736d17fe3d99c9c276d7ca9b6ea89b)

7 years agoremove testing docs 27/32227/1
Nikolas Hermanns [Wed, 29 Mar 2017 14:06:16 +0000 (16:06 +0200)]
remove testing docs

Change-Id: I76af05c6b3dbd945d4c027ea3dc58ae1e5357418
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit a8ac0683dc4accfc4d300de20071989c0d1ffb63)

7 years agoReduce overview 13/32213/1
Nikolas Hermanns [Wed, 29 Mar 2017 12:56:39 +0000 (14:56 +0200)]
Reduce overview

Change-Id: Ifb8915d62ea26f44f29c4d3b84beecd78dceae9e
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit c063e49cec6afa6ba1ab743a86482768fe1cc28e)

7 years agoChanging to new docs structure 05/32205/1
Nikolas Hermanns [Wed, 29 Mar 2017 10:46:53 +0000 (12:46 +0200)]
Changing to new docs structure

Change-Id: I4c15e1635981b2b5fe5473be89b5abab78bfabd5
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 0f8220d5d96cc0a45be00e937c73ab938133e587)

7 years agoRemove quagga fix in the testcase 93/31993/1
Nikolas Hermanns [Mon, 27 Mar 2017 17:13:08 +0000 (19:13 +0200)]
Remove quagga fix in the testcase

Solves partly:
JIRA: SDNVPN-130

Change-Id: I1cf99e9294925545f6fece660983e32f6543f2b8
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
(cherry picked from commit 5960fab7230bebbffc439457d5542d086cb3f8af)

7 years agoFix testcase3 (peering subcase) for Apex 77/31877/1
tomsou [Thu, 23 Mar 2017 13:50:00 +0000 (13:50 +0000)]
Fix testcase3 (peering subcase) for Apex

 - 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>
(cherry picked from commit db1ce6276c443dd9766458c516cc58c7f2e098d5)

7 years agoFix DNS use for testcase 3 75/31875/1
tomsou [Thu, 23 Mar 2017 07:37:44 +0000 (07:37 +0000)]
Fix DNS use for testcase 3

Make the VMs use properly 8.8.8.8 nameserver

Change-Id: I8ebf0ff23fa78dcbc50eba9eb27262e690c56b66
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 3570a9d39984c078f039726b98fc33d26ef94baa)

7 years agoMerge "Set unlimited port quotas" into stable/danube
Nikolas Hermanns [Mon, 27 Mar 2017 07:48:40 +0000 (07:48 +0000)]
Merge "Set unlimited port quotas" into stable/danube

7 years agoSet unlimited port quotas 69/31869/1
Romanos Skiadas [Sat, 18 Mar 2017 19:29:45 +0000 (21:29 +0200)]
Set unlimited port quotas

Change-Id: I6de4bc921f1823f58395e27d804b863b79d23030
JIRA: SDNVPN-126
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit 7532973ae1c38e5d4f3fd6028f4688c72d41ea8d)

7 years agoTestcase 3 Apex compatibility fixes 67/31867/1
Romanos Skiadas [Fri, 17 Mar 2017 08:55:28 +0000 (10:55 +0200)]
Testcase 3 Apex compatibility fixes

- 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>
(cherry picked from commit b5b2a3abd74f84943cf3fab7ca7da591d326661c)

7 years agoMerge "DNS fix for testcase 3" into stable/danube
Tim Irnich [Wed, 22 Mar 2017 13:39:20 +0000 (13:39 +0000)]
Merge "DNS fix for testcase 3" into stable/danube

7 years agoMerge "Fix broken call to re.search()" into stable/danube
Tim Irnich [Wed, 22 Mar 2017 13:14:25 +0000 (13:14 +0000)]
Merge "Fix broken call to re.search()" into stable/danube

7 years agoDNS fix for testcase 3 83/31383/1
Romanos Skiadas [Sat, 18 Mar 2017 19:14:00 +0000 (21:14 +0200)]
DNS fix for testcase 3

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>
(cherry picked from commit f7a6f2593a1b99a0bd0459093d606dd4bdbb999a)

7 years agoCreate flavor for Quagga ubuntu VM 81/31381/1
tomsou [Fri, 17 Mar 2017 09:26:06 +0000 (09:26 +0000)]
Create flavor for Quagga ubuntu VM

- 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>
(cherry picked from commit f368948e25f78c64c328662b52d6b139b02826b4)

7 years agoFix broken call to re.search() 79/31379/1
Romanos Skiadas [Fri, 17 Mar 2017 16:01:14 +0000 (18:01 +0200)]
Fix broken call to re.search()

Change-Id: I3d49c683c81e136967432acd1d28b6d305cfe90f
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit 28c5fc2391e133e4b76f1bed8675bc9610ebdf9b)

7 years agoFix most end-to-end issues with testcase 3 and reenable it 89/30689/1
Romanos Skiadas [Tue, 14 Mar 2017 08:11:54 +0000 (10:11 +0200)]
Fix most end-to-end issues with testcase 3 and reenable it

- 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>
(cherry picked from commit 6674049b09d02fe0dc7e11e007e710643cdd49ca)

7 years agoMerge "Adding Labels" into stable/danube
Nikolas Hermanns [Thu, 16 Mar 2017 12:28:30 +0000 (12:28 +0000)]
Merge "Adding Labels" into stable/danube

7 years agoMerge "Set unlimited instance quotas to fix CI" into stable/danube
Nikolas Hermanns [Thu, 16 Mar 2017 12:28:06 +0000 (12:28 +0000)]
Merge "Set unlimited instance quotas to fix CI" into stable/danube

7 years agoSet unlimited instance quotas to fix CI 87/30687/1
tomsou [Wed, 15 Mar 2017 08:41:30 +0000 (08:41 +0000)]
Set unlimited instance quotas to fix CI

JIRA: SDNVPN-115

Change-Id: I4e24800e897702b8b5aa5ef0227925d66d552f02
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 38e72ad1c9e4fbf4421e6314ab9a5468a5b29d34)

7 years agoAdding Labels 85/30685/1
ShubhamRathi [Wed, 8 Mar 2017 09:23:44 +0000 (14:53 +0530)]
Adding Labels

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>
(cherry picked from commit 611651c82af07246775ec4aedb3ffeac74ea1ea7)

7 years agoImplement a get VM IP function in utils to be used within test cases 83/30683/1
tomsou [Fri, 3 Feb 2017 13:18:06 +0000 (13:18 +0000)]
Implement a get VM IP function in utils to be used within test cases

Change-Id: Iaedbfb2fc626eb7d88badee2530593b43c0d1152
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 7efb216ca8357533dd040cccc49cb5effec42615)

7 years agoMerge "Fix typo in quagga script and call to glance" into stable/danube
Nikolas Hermanns [Tue, 14 Mar 2017 08:31:31 +0000 (08:31 +0000)]
Merge "Fix typo in quagga script and call to glance" into stable/danube

7 years agoMerge "Fix quagga peering by working around the NAT" into stable/danube
Nikolas Hermanns [Tue, 14 Mar 2017 08:31:26 +0000 (08:31 +0000)]
Merge "Fix quagga peering by working around the NAT" into stable/danube

7 years agoFix quagga peering by working around the NAT 99/30399/1
Romanos Skiadas [Mon, 13 Mar 2017 13:08:54 +0000 (15:08 +0200)]
Fix quagga peering by working around the NAT

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>
(cherry picked from commit 1ad4cd4d35bcd0d4d9898650eb0452b184b55f77)

7 years agoFix typo in quagga script and call to glance 97/30397/1
Romanos Skiadas [Fri, 10 Mar 2017 08:39:51 +0000 (10:39 +0200)]
Fix typo in quagga script and call to glance

Change-Id: I80ce2f3b442bc7862486368822c8fe2cd13a0f1b
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit 7b1e45de5574cd35013910e746756d0718a45ceb)

7 years agoFix bgpd.conf path and duplication in tc_3 95/30395/1
Romanos Skiadas [Wed, 8 Mar 2017 09:10:49 +0000 (11:10 +0200)]
Fix bgpd.conf path and duplication in tc_3

Change-Id: I78e521fddd8a156d5c9597d6307ac9b6f2571f5c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit 4c9d7aa555b450c5c3cb88debed7f2f62f884346)

7 years agoFix functest failing in apex case- testcase3 13/29713/9
tomsou [Tue, 7 Mar 2017 09:19:08 +0000 (09:19 +0000)]
Fix functest failing in apex case- testcase3

- 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>
7 years agoMerge "Set unlimited network and subnet quotas to fix CI"
Nikolas Hermanns [Mon, 6 Mar 2017 11:59:58 +0000 (11:59 +0000)]
Merge "Set unlimited network and subnet quotas to fix CI"

7 years agoMerge "Implement quagga peering"
Nikolas Hermanns [Mon, 6 Mar 2017 11:59:08 +0000 (11:59 +0000)]
Merge "Implement quagga peering"

7 years agoSet unlimited network and subnet quotas to fix CI 53/29653/1
Romanos Skiadas [Thu, 2 Mar 2017 14:58:28 +0000 (16:58 +0200)]
Set unlimited network and subnet quotas to fix CI

Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1
JIRA: SDNVPN-100
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoImplement quagga peering 87/29287/8
Romanos Skiadas [Thu, 8 Sep 2016 13:23:40 +0000 (16:23 +0300)]
Implement quagga peering

- 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>
7 years agoUpdate release notes for Danube 95/29295/8
Romanos Skiadas [Thu, 23 Feb 2017 16:33:02 +0000 (18:33 +0200)]
Update release notes for Danube

JIRA: SDNVPN-96
Change-Id: I0bb0d7f065bdd0f356b995f24374eb32f77344d1
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoImplement testcase 3: Quagga-ODL integration 35/28835/16
tomsou [Thu, 16 Feb 2017 14:48:09 +0000 (14:48 +0000)]
Implement testcase 3: Quagga-ODL integration

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>
7 years agoTC 8:Fix argument passed to create_glance_image 27/29127/1
Romanos Skiadas [Tue, 21 Feb 2017 08:19:08 +0000 (10:19 +0200)]
TC 8:Fix argument passed to create_glance_image

Change-Id: Ibed4febf84f4384ffcca951bd95d5284add454ea
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoEnable floating IP and router assoc test 03/28903/1
Romanos Skiadas [Fri, 17 Feb 2017 07:14:54 +0000 (09:14 +0200)]
Enable floating IP and router assoc test

Change-Id: I2bc538fd055a14c5295f955ed700674cf60ad452
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "Fix incompatibility with new tempest functest API"
Jose Lausuch [Thu, 16 Feb 2017 08:33:18 +0000 (08:33 +0000)]
Merge "Fix incompatibility with new tempest functest API"

7 years agoAdd and update license headers 99/28499/1
jose.lausuch [Sun, 12 Feb 2017 19:40:16 +0000 (20:40 +0100)]
Add and update license headers

Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFixes tripleo_helper permissions 01/28301/1
Tim Rozet [Wed, 8 Feb 2017 19:43:22 +0000 (14:43 -0500)]
Fixes tripleo_helper permissions

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>
7 years agoFix incompatibility with new tempest functest API 51/27851/5
Romanos Skiadas [Wed, 1 Feb 2017 12:41:06 +0000 (12:41 +0000)]
Fix incompatibility with new tempest functest API

Change-Id: I2f2bf9ed9dd775bec222d2faa241ffd1920aa516
JIRA: SDNVPN-93
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoMerge "Updates ODL Pipeline scripts for CSIT"
Nikolas Hermanns [Tue, 31 Jan 2017 14:45:54 +0000 (14:45 +0000)]
Merge "Updates ODL Pipeline scripts for CSIT"

7 years agoUpdates ODL Pipeline scripts for CSIT 49/26949/13
Tim Rozet [Thu, 12 Jan 2017 17:27:41 +0000 (12:27 -0500)]
Updates ODL Pipeline scripts for CSIT

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>
7 years agoMerge "Test for router assoc and floating IP"
Nikolas Hermanns [Wed, 25 Jan 2017 16:10:19 +0000 (16:10 +0000)]
Merge "Test for router assoc and floating IP"

7 years agochange cloner info path 41/27441/1
Nikolas Hermanns [Tue, 24 Jan 2017 10:32:21 +0000 (11:32 +0100)]
change cloner info path

Change-Id: Ie478c725149fe43da7b56a84748ac74ec99a0d69
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoTest for router assoc and floating IP 99/25899/4
Romanos Skiadas [Tue, 13 Dec 2016 14:09:02 +0000 (16:09 +0200)]
Test for router assoc and floating IP

JIRA: SDNVPN-90
Change-Id: I81a38c3b707dd836512c9afbab93808cb6b91adc
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoUse find_packages when installing sdnvpn 23/26423/1
jose.lausuch [Thu, 22 Dec 2016 08:42:08 +0000 (09:42 +0100)]
Use find_packages when installing sdnvpn

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>
7 years agoBug fixes after the Functest refactor 83/26383/5
jose.lausuch [Wed, 21 Dec 2016 15:25:53 +0000 (16:25 +0100)]
Bug fixes after the Functest refactor

Change-Id: I20b9629bd3c9945e98edb94056f459d9f75eec5d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoUpdate directory path 75/26375/1
jose.lausuch [Wed, 21 Dec 2016 13:54:06 +0000 (14:54 +0100)]
Update directory path

JIRA: FUNCTEST-673

Change-Id: I8430939c009942cd9f96e526c8acd2115267ed2f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Fix table formatting in testcase 7"
Jose Lausuch [Mon, 19 Dec 2016 15:06:57 +0000 (15:06 +0000)]
Merge "Fix table formatting in testcase 7"

7 years agoMerge "Modify tests to require 100% subtest success, fix tempest"
Jose Lausuch [Mon, 19 Dec 2016 15:06:23 +0000 (15:06 +0000)]
Merge "Modify tests to require 100% subtest success, fix tempest"

7 years agoChange execution permission for scripts 33/26233/1
Nikolas Hermanns [Mon, 19 Dec 2016 11:45:00 +0000 (12:45 +0100)]
Change execution permission for scripts

Change-Id: I71f4b21fccadd64ce28249c043a765e6bc66a2cc
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoAdd post process script 27/26227/1
Nikolas Hermanns [Mon, 19 Dec 2016 10:22:49 +0000 (11:22 +0100)]
Add post process script

Change-Id: I51e7ba17e0aedeba736f240647902432a885eabe
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoFix table formatting in testcase 7 67/25967/2
Romanos Skiadas [Wed, 14 Dec 2016 12:55:14 +0000 (14:55 +0200)]
Fix table formatting in testcase 7

Not enough '-'

Change-Id: Ia90a678cdf7022cbdbafb1d42531e7aaff716c2c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoModify tests to require 100% subtest success, fix tempest 41/25941/3
Romanos Skiadas [Wed, 14 Dec 2016 08:13:23 +0000 (10:13 +0200)]
Modify tests to require 100% subtest success, fix tempest

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>
7 years agoMerge "Make sdnvpn a package"
Nikolas Hermanns [Fri, 16 Dec 2016 11:55:57 +0000 (11:55 +0000)]
Merge "Make sdnvpn a package"

7 years agoMake sdnvpn a package 19/26019/4
Romanos Skiadas [Thu, 15 Dec 2016 12:57:08 +0000 (14:57 +0200)]
Make sdnvpn a package

- 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>
7 years agoMerge "Execute script in lib folder/Use vjumb as Gateway"
Nikolas Hermanns [Wed, 14 Dec 2016 12:25:36 +0000 (12:25 +0000)]
Merge "Execute script in lib folder/Use vjumb as Gateway"

7 years agoExecute script in lib folder/Use vjumb as Gateway 65/25965/1
Nikolas Hermanns [Wed, 14 Dec 2016 12:22:48 +0000 (13:22 +0100)]
Execute script in lib folder/Use vjumb as Gateway

Change-Id: I9ad9c9473829fb64ea5ed4f1a21d77aa16615344
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Testcase for router/FloatingIP & net assoc mutual exclusivity"
Nikolas Hermanns [Wed, 14 Dec 2016 06:36:32 +0000 (06:36 +0000)]
Merge "Testcase for router/FloatingIP & net assoc mutual exclusivity"

7 years agoMerge "Don't pass ips to get_ssh_output and check_ping"
Jose Lausuch [Tue, 13 Dec 2016 18:11:22 +0000 (18:11 +0000)]
Merge "Don't pass ips to get_ssh_output and check_ping"

7 years agoMerge "Encapsulate some functionality in Results class"
Jose Lausuch [Tue, 13 Dec 2016 18:11:08 +0000 (18:11 +0000)]
Merge "Encapsulate some functionality in Results class"

7 years agoBugfix " in the environment part-3 97/25897/1
Nikolas Hermanns [Tue, 13 Dec 2016 15:46:57 +0000 (16:46 +0100)]
Bugfix " in the environment part-3

Change-Id: Ice01bd6967272b64aae6b1e1f28a98b0813267ca
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoBugfix " in the environment part-2 95/25895/1
Nikolas Hermanns [Tue, 13 Dec 2016 15:44:21 +0000 (16:44 +0100)]
Bugfix " in the environment part-2

Change-Id: I96aedc1b9535634a52deb10c56ab093ce4f754b3
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoBugfix " in the environment 93/25893/1
Nikolas Hermanns [Tue, 13 Dec 2016 15:39:29 +0000 (16:39 +0100)]
Bugfix " in the environment

Change-Id: I22b67aa947391a0077e11562b29c5b46af1e9c4e
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoadd setup script 87/25887/1
Nikolas Hermanns [Tue, 13 Dec 2016 14:40:39 +0000 (15:40 +0100)]
add setup script

Change-Id: I67eb85be43c204df686608e6a591e3c5b1742c7e
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agosmall bugfixes for odl_reinstaller 85/25885/1
Nikolas Hermanns [Tue, 13 Dec 2016 14:37:47 +0000 (15:37 +0100)]
small bugfixes for odl_reinstaller

Change-Id: Ie4d7c4811869a765da22444d80ca5f2133fe2c0f
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agosmall bugfixes for test_environment 81/25881/2
Nikolas Hermanns [Tue, 13 Dec 2016 14:29:34 +0000 (15:29 +0100)]
small bugfixes for test_environment

Change-Id: Ic3af41c1a0f635bea4222a7a37103bdd8b57cef3
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agotest_environment upload the cloner info to jenkins 73/25873/1
Nikolas Hermanns [Tue, 13 Dec 2016 14:09:04 +0000 (15:09 +0100)]
test_environment upload the cloner info to jenkins

Change-Id: If2f4d548a85732f3ef8e5412e67c377024f7d63b
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "adding common/config"
Nikolas Hermanns [Tue, 13 Dec 2016 14:07:03 +0000 (14:07 +0000)]
Merge "adding common/config"

7 years agoadding common/config 63/25863/3
Nikolas Hermanns [Tue, 13 Dec 2016 12:37:23 +0000 (13:37 +0100)]
adding common/config

Change-Id: I2d96e6efa628f066e165a8e37d2604eb8f0634bd
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoTestcase for router/FloatingIP & net assoc mutual exclusivity 23/25623/2
Romanos Skiadas [Wed, 7 Dec 2016 12:11:16 +0000 (14:11 +0200)]
Testcase for router/FloatingIP & net assoc mutual exclusivity

A testcase for ODL Bug 6962, testing whether a subnet with a router can be
network associated:
- Create two VMs, each in a subnet with a router
- Network assoc the two networks in a VPN iRT=eRT
- Try to ping from one VM to the other
- Assign a floating IP to a VM
- Ping it

JIRA: SDNVPN-88
Change-Id: I464f62b8bba55bc5d162071406637f6be846f223
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoDon't pass ips to get_ssh_output and check_ping 19/25619/4
Romanos Skiadas [Mon, 5 Dec 2016 08:20:45 +0000 (10:20 +0200)]
Don't pass ips to get_ssh_output and check_ping

Remove the IP arguments from these functions and use the VM objects passed to
them to find their IPs. This simplifies the calls.

Change-Id: Ideb08b6fdf0648870c2854f057708a88bb482d0c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoEncapsulate some functionality in Results class 45/25845/2
Romanos Skiadas [Tue, 13 Dec 2016 08:55:35 +0000 (10:55 +0200)]
Encapsulate some functionality in Results class

- Move adding actions taken during tests to summary in a method in Results
- Provide add_success/failure methods that hide the column size manipulation

Change-Id: If7416f3f9399125fe21632328a49af285a4b6cc6
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "adding odl-pipeline"
Nikolas Hermanns [Tue, 13 Dec 2016 10:26:11 +0000 (10:26 +0000)]
Merge "adding odl-pipeline"

7 years agoadding odl-pipeline 21/25621/7
Niko Hermanns [Wed, 30 Nov 2016 10:59:44 +0000 (11:59 +0100)]
adding odl-pipeline

Change-Id: I1c08883f0d68a61ce9e10c5596aec1a259eed71f
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Move logging instance creation to create_instance"
Jose Lausuch [Wed, 7 Dec 2016 15:22:57 +0000 (15:22 +0000)]
Merge "Move logging instance creation to create_instance"

7 years agoMerge "Modified testcase_2 according to the Limitations of Boron"
Nikolas Hermanns [Mon, 5 Dec 2016 10:05:07 +0000 (10:05 +0000)]
Merge "Modified testcase_2 according to the Limitations of Boron"

7 years agoMerge "Enable basic router assoc test (testcase 4)"
Nikolas Hermanns [Mon, 5 Dec 2016 09:22:35 +0000 (09:22 +0000)]
Merge "Enable basic router assoc test (testcase 4)"

7 years agoMerge "Remove push to DB of overall result of bgpvpn test case"
Jose Lausuch [Fri, 2 Dec 2016 09:38:39 +0000 (09:38 +0000)]
Merge "Remove push to DB of overall result of bgpvpn test case"

7 years agoMove logging instance creation to create_instance 07/25407/1
Romanos Skiadas [Fri, 2 Dec 2016 08:01:12 +0000 (10:01 +0200)]
Move logging instance creation to create_instance

Change-Id: I299f2be3b127aefdd7036fa68fb934b09d278692
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoModified testcase_2 according to the Limitations of Boron 37/25337/1
Venkata Guravareddy [Thu, 1 Dec 2016 20:22:07 +0000 (01:52 +0530)]
Modified testcase_2 according to the Limitations of Boron

Change-Id: I79fa899a5deb917f5d87298b7c1b2dd17ad7770d
JIRA: SDNVPN-85
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoEnable basic router assoc test (testcase 4) 43/25243/1
Romanos Skiadas [Wed, 30 Nov 2016 14:00:20 +0000 (16:00 +0200)]
Enable basic router assoc test (testcase 4)

Router assoc works now, enable it in the CI.

Change-Id: I095e5af048a597188169b87a71381208bb478aab
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoRemove push to DB of overall result of bgpvpn test case 53/24853/1
jose.lausuch [Thu, 24 Nov 2016 12:59:48 +0000 (13:59 +0100)]
Remove push to DB of overall result of bgpvpn test case

Functest will capture the return value of run_tests.py
and will report to the DB accordingly (PASS/FAIL)

JIRA: SDNVPN-83

This follows this approach:
https://wiki.opnfv.org/pages/viewpage.action?pageId=8685677#HowdoIintegrateafeaturetestcaseinFunctest?-3.Createapythonmoduleforyourtest

Change-Id: I664964038b59ab8f38946d2dfe586dbdd41e9906
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdapt new environment variable after refactor 51/24751/4
jose.lausuch [Wed, 23 Nov 2016 08:32:16 +0000 (09:32 +0100)]
Adapt new environment variable after refactor

This patch changes the env variable
repos_dir to REPOS_DIR

https://gerrit.opnfv.org/gerrit/#/c/24619/

Change-Id: I55e17ee09395a976e79b8ee1abf045787009f52e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRefactor config global variables 63/24063/8
George Paraskevopoulos [Tue, 8 Nov 2016 12:33:19 +0000 (14:33 +0200)]
Refactor config global variables

- Create config.py module to handle configuration parsing
- Remove globals from testcases

Change-Id: I16ed7bb138fde2d5d3c69703e3c2e569d49f0b37
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoMerge "Fix router assoc in Boron"
Tim Irnich [Mon, 14 Nov 2016 16:45:26 +0000 (16:45 +0000)]
Merge "Fix router assoc in Boron"

8 years agoEncapsulate sleeps in function 45/24045/5
George Paraskevopoulos [Tue, 8 Nov 2016 08:15:01 +0000 (10:15 +0200)]
Encapsulate sleeps in function

We have some sleeps into the testcase code. We can encapsulate them in a
utility function to refactor them out of the code until we figure out
the best way to remove them completely

Change-Id: I44c32d8329c2e319660518a8a46debc22f02c753
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoRefactor common code across tests 17/24017/1
Romanos Skiadas [Mon, 7 Nov 2016 09:45:33 +0000 (11:45 +0200)]
Refactor common code across tests

- Move collecting test results in a method in Results class
- Create a util function for asserting the environment has
  enough compute nodes

Change-Id: Ib7b9dfab7d2e9f50d5f352d3eadba4d4717ee750
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>