sdnvpn.git
7 years agoUpdate url for ubuntu image downloading- testcase3 03/32403/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>
7 years agoMerge "Prepare run_tests to be called directly to main()"
Jose Lausuch [Wed, 29 Mar 2017 22:56:48 +0000 (22:56 +0000)]
Merge "Prepare run_tests to be called directly to main()"

7 years agoremove testing docs 25/32225/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>
7 years agoReduce overview 11/32211/2
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>
7 years agoChanging to new docs structure 03/32203/4
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>
7 years agoRemove quagga fix in the testcase 37/31937/2
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>
7 years agoPrepare run_tests to be called directly to main() 19/31919/2
jose.lausuch [Mon, 27 Mar 2017 15:01:48 +0000 (17:01 +0200)]
Prepare run_tests to be called directly to main()

Instead of python -> bash -> python, call
the BGPVPN test using main()

Change-Id: I8cca741814937e0a7a1d8b848fa8658e4f0d6fb5
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Fix testcase3 (peering subcase) for Apex"
Nikolas Hermanns [Mon, 27 Mar 2017 07:50:23 +0000 (07:50 +0000)]
Merge "Fix testcase3 (peering subcase) for Apex"

7 years agoMerge "Fix DNS use for testcase 3"
Nikolas Hermanns [Mon, 27 Mar 2017 07:49:02 +0000 (07:49 +0000)]
Merge "Fix DNS use for testcase 3"

7 years agoFix testcase3 (peering subcase) for Apex 77/31577/5
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>
7 years agoFix DNS use for testcase 3 93/31493/2
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>
7 years agoMerge "Set unlimited port quotas"
Nikolas Hermanns [Wed, 22 Mar 2017 16:56:00 +0000 (16:56 +0000)]
Merge "Set unlimited port quotas"

7 years agoTestcase 3 Apex compatibility fixes 07/30807/5
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>
7 years agoSet unlimited port quotas 33/30933/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>
7 years agoDNS fix for testcase 3 31/30931/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>
7 years agoMerge "Create flavor for Quagga ubuntu VM"
Nikolas Hermanns [Fri, 17 Mar 2017 16:21:41 +0000 (16:21 +0000)]
Merge "Create flavor for Quagga ubuntu VM"

7 years agoFix broken call to re.search() 47/30847/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>
7 years agoCreate flavor for Quagga ubuntu VM 99/30799/7
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>
7 years agoMerge "Fix most end-to-end issues with testcase 3 and reenable it"
Nikolas Hermanns [Thu, 16 Mar 2017 12:49:50 +0000 (12:49 +0000)]
Merge "Fix most end-to-end issues with testcase 3 and reenable it"

7 years agoFix most end-to-end issues with testcase 3 and reenable it 13/30513/3
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>
7 years agoImplement a get VM IP function in utils to be used within test cases 97/27997/4
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>
7 years agoMerge "Adding Labels"
Nikolas Hermanns [Wed, 15 Mar 2017 15:07:20 +0000 (15:07 +0000)]
Merge "Adding Labels"

7 years agoSet unlimited instance quotas to fix CI 35/30535/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>
7 years agoFix quagga peering by working around the NAT 47/30347/2
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>
7 years agoFix typo in quagga script and call to glance 31/30231/3
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>
7 years agoFix bgpd.conf path and duplication in tc_3 31/30031/2
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>
7 years agoAdding Labels 45/30045/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>
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>
7 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>
7 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"

7 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>
7 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>
7 years agoFix router assoc in Boron 29/23929/1
Romanos Skiadas [Wed, 2 Nov 2016 12:11:41 +0000 (14:11 +0200)]
Fix router assoc in Boron

As per I6b57eab89839d9e9122cd24b0f05737467439dd9:
- Add a route distinguisher
- Remove the router from the network that is network associated

Change-Id: I1399bb51c787df881529279ef7a1946a3c5c5591
JIRA: SDNVPN-66
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoFix network assoc tests in Boron 31/23331/4
Romanos Skiadas [Tue, 18 Oct 2016 13:34:24 +0000 (16:34 +0300)]
Fix network assoc tests in Boron

Network assoc in Boron with netvirt does not work for subnets that have
a router due to an inherent limitation in the implementation. See the
mailing list and related bug:
https://bugs.opendaylight.org/show_bug.cgi?id=6962
https://lists.opendaylight.org/pipermail/netvirt-dev/2016-October/001815.html
Also, if a subnet does not have a route distinguisher, it is not added
to the FIB, so association does not make traffic move between subnets.
This is intentional and an error is logged when a subnet is associated
to a bvpvpn without a route distinguisher.

This commit fixes the net assoc case and works around these issues by:
- Removing the routers from the subnets in testcase_1
- Adding a route distinguisher to the bgpvpn

JIRA: SDNVPN-74
Change-Id: I6b57eab89839d9e9122cd24b0f05737467439dd9
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoFix a shebang 07/22307/1
Romanos Skiadas [Thu, 22 Sep 2016 07:23:35 +0000 (10:23 +0300)]
Fix a shebang

Change-Id: Ib0b1a8c1b82c57d76d97520cbc27f043fede1352
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "Final edits for scenario description"
Tim Irnich [Wed, 21 Sep 2016 10:37:58 +0000 (10:37 +0000)]
Merge "Final edits for scenario description"

7 years agoFinal edits for scenario description 19/22119/2
Tim Irnich [Wed, 21 Sep 2016 08:35:14 +0000 (10:35 +0200)]
Final edits for scenario description

Removed some placeholders and todo notes, updated copyright and did a final readthrough.

Change-Id: I1357174c159ae1065c4452128152140bb6b00d11
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years agoadding release notes for promise and parser 53/21853/2
Nikolas Hermanns [Mon, 19 Sep 2016 10:10:56 +0000 (12:10 +0200)]
adding release notes for promise and parser

Change-Id: I58889c0ab1117a51a59b9a4f83ade494286d5517
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoadding index.rst so that the release notes are build 15/21415/2
Nikolas Hermanns [Mon, 19 Sep 2016 10:02:43 +0000 (12:02 +0200)]
adding index.rst so that the release notes are build

Change-Id: I909119b0184e02c169cbb694d4cc46bf5a9ed543
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "update release notes cause of exclude of rally"
Jose Lausuch [Fri, 16 Sep 2016 08:34:48 +0000 (08:34 +0000)]
Merge "update release notes cause of exclude of rally"

7 years agoMerge "Refactoring"
Jose Lausuch [Thu, 15 Sep 2016 13:04:00 +0000 (13:04 +0000)]
Merge "Refactoring"

7 years agoupdate release notes cause of exclude of rally 81/21081/4
Nikolas Hermanns [Wed, 14 Sep 2016 07:08:31 +0000 (09:08 +0200)]
update release notes cause of exclude of rally

Change-Id: I6439f1cf4ef3f7ec14fa9bbfd1d5ad17e0fcc1db
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoRefactoring 75/20875/3
Romanos Skiadas [Fri, 9 Sep 2016 12:59:16 +0000 (15:59 +0300)]
Refactoring

- Wrap common methods that use globals in a Class
 `get_ping_status` and `add_to_summary` depended on globals for
  statefulness. The easiest way to refactor them was to convert them
  into methods and the globals they used into instance variables.
- Move `generate_userdata_common` and `generate_userdata_with_ssh` to
  the utils module.
- Make flavor a kwarg in create_instance.
  Add a defaults section in config.yaml with flavor. This value is used
  if flavor is not passed via kwargs.
- Substitute some sleeps with `wait_for_instances_up` which will
  wait until a dhcp lease success message appears in the instance's log.
- Add functions that wait until router and network association is
  completed. These do not replace the sleeps but make the tests more
  deterministic.
- Remove unused ping_timeout from config.yaml

Change-Id: Ia68ebf47aaa5a58c4e20267f1476db626f015a7c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Co-Authored-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoRemove trilling whitespace 83/21083/1
Nikolas Hermanns [Wed, 14 Sep 2016 07:14:38 +0000 (09:14 +0200)]
Remove trilling whitespace

Change-Id: I47108a141390499570677253a5cdad78ebbe9240
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>