sdnvpn.git
7 years agoUpdating docs for Euphrates 37/45237/4
Tim Irnich [Mon, 16 Oct 2017 14:48:36 +0000 (16:48 +0200)]
Updating docs for Euphrates

Moved previous user guide content into the right places,
updating the section structure along the way.

Started to edit the release notes but this needs more work.
This will be merged now to enable link checking by the docs team.
Remaining chan ges to be done in a separate review.

JIRA: SDNVPN-185

Change-Id: Idd128b05f8ceb7195086b813d499b3f12243d025
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years agoFix the argument error 99/43399/1
Linda Wang [Thu, 28 Sep 2017 07:08:46 +0000 (07:08 +0000)]
Fix the argument error

Change-Id: Idc4ba350a8bf77ec555109ad4e7a2649e2b0880d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoFix testcase_10 module path 33/41933/1
tomsou [Thu, 14 Sep 2017 08:41:43 +0000 (11:41 +0300)]
Fix testcase_10 module path

 Update config file with the full path for testcase 10

Change-Id: I81ec9eaecc2c36f07f4608cdd65db6f64b43c4f9
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoFix adapt path for import_module 05/41705/1
tomsou [Tue, 12 Sep 2017 13:23:34 +0000 (13:23 +0000)]
Fix adapt path for import_module

    Fix the path to include each test case when the suite runs

Change-Id: I3cdd55ed6af3e131c2f0b89ffc5bd74f95eeadbf
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoFix the config.yaml including for each testcase 85/41385/1
tomsou [Fri, 8 Sep 2017 09:35:58 +0000 (09:35 +0000)]
Fix the config.yaml including for each testcase

At each testcase, adapt the way config.yaml is included via
sdnvpn.lib.config.TestcaseConfig().
The full path should be included, instead of just the testcase name

JIRA: SDNVPN-180

Change-Id: I34828cc3681f08b843db49c6a221602b5b2022bf
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoAdapt SDNVPN Functest test according to new framework 73/35873/13
jose.lausuch [Wed, 7 Jun 2017 14:12:41 +0000 (16:12 +0200)]
Adapt SDNVPN Functest test according to new framework

- Inherit from TestCase class in Functest
- Remove any push to DB method, since Functest
   takes care of it

After this change, we will be able to load this module
from Functest and make a python call instead of
a bash call.

Change-Id: I80bdb7eaac3a2d1f48e32bafa381a42cadb36138
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Make tight the way an instance is considered as UP"
Tim Irnich [Mon, 28 Aug 2017 15:22:35 +0000 (15:22 +0000)]
Merge "Make tight the way an instance is considered as UP"

7 years agoMerge "Add/Remove testcase"
Tim Irnich [Mon, 28 Aug 2017 15:12:18 +0000 (15:12 +0000)]
Merge "Add/Remove testcase"

7 years agoMake tight the way an instance is considered as UP 11/39611/3
panageo2 [Fri, 18 Aug 2017 17:28:04 +0000 (17:28 +0000)]
Make tight the way an instance is considered as UP

An instance will be considered UP not only if a DHCP IP is
leased, but if the login prompt is present, as well

JIRA: SDNVPN-174

Change-Id: If68fd1436a54f057f37de777e22f1d6a1967d97c
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoFix import module functionality for each testcase 79/39879/2
tomsou [Tue, 22 Aug 2017 14:23:53 +0000 (14:23 +0000)]
Fix import module functionality for each testcase

Fix the path, from where import_module runs each testcase

JIRA: SDNVPN-176

Change-Id: Ibc6880b4865d3ac0c276d1aa81a08e90af3d809e
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoMerge "Removing inactive committers in accordance with Section 8 of the TSC charter."
Tim Irnich [Mon, 14 Aug 2017 08:31:40 +0000 (08:31 +0000)]
Merge "Removing inactive committers in accordance with Section 8 of the TSC charter."

7 years agoAdd/Remove testcase 15/38515/4
panageo2 [Tue, 1 Aug 2017 08:57:05 +0000 (08:57 +0000)]
Add/Remove testcase

This testcase investigates if communication
between a group of VMs is interupted upon
deleteon and creation of VMs inside this group.
Test case flow:
3 vms:
[1] on compute 1,
[2] on compute 1,
[3] on compute 2,
all vms ping each other.

vm [2] is deleted. Traffic is still flying
between [1] and [3]. A new [4] vm is added
to compute 1. Traffic is not interrupted
and [4] can be reached as well.

JIRA: SDNVPN-105

Change-Id: I93a65de2a5df83551e3115fd20b60241cd460e97
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoInstall run_sdnvpn_tests.py in $PATH 05/38605/1
Cédric Ollivier [Wed, 2 Aug 2017 09:54:19 +0000 (11:54 +0200)]
Install run_sdnvpn_tests.py in $PATH

It eases how Functest runs it (see testcases.yaml [1]).
The former run_tests.py is renamed to avoid duplicated binaries (see
[2] and [3]).

[1] https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml
[2] https://git.opnfv.org/sfc/tree/sfc/tests/functest/run_tests.py
[3] https://git.opnfv.org/promise/tree/promise/test/functest/run_tests.py

Change-Id: I50219cad42bf0e085c2edf2e1abe149c2e057a99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoRefactor imports and invocation of main function 67/38067/1
panageo2 [Tue, 25 Jul 2017 11:09:34 +0000 (11:09 +0000)]
Refactor imports and invocation of main function

In all testcases there are some inconcistencies of
import statements. Additionally the main function
of each testcase should be called through
sys.exit(main())

JIRA: SDNVPN-173

Change-Id: I6fdf0dc6598ca4789b6de6b50d1b8b85a8de923c
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoMerge "Add test case 9"
Tim Irnich [Mon, 24 Jul 2017 15:41:15 +0000 (15:41 +0000)]
Merge "Add test case 9"

7 years agoFix log gathering functionality 03/38003/1
tomsou [Mon, 24 Jul 2017 14:02:00 +0000 (14:02 +0000)]
Fix log gathering functionality

Some fixes on https://gerrit.opnfv.org/gerrit/#/c/37261/

JIRA: SDNVPN-170

Change-Id: I2f396f509181b45bfccb76fbfd904d7591000df9
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoAdd test case 9 81/37681/4
panageo2 [Tue, 18 Jul 2017 09:55:37 +0000 (09:55 +0000)]
Add test case 9

Development of a new test that checks all
nodes and succeeds if all OVS br-int interfaces
have fail_mode=secure

JIRA: SDNVPN-168

Change-Id: Iff14f60e2d25c1769cdec7cec126425937780eb7
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoRemoving inactive committers in accordance with Section 8 of the TSC charter. 27/37627/1
Tim Irnich [Mon, 17 Jul 2017 11:47:03 +0000 (13:47 +0200)]
Removing inactive committers in accordance with Section 8 of the TSC charter.

Change-Id: I32a2f340a6f9a5966ed52e2d6d6e8fe62cc6338a
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years ago[docs] Adding apex deployment config guide 71/37371/4
Nikolas Hermanns [Thu, 13 Jul 2017 10:57:09 +0000 (12:57 +0200)]
[docs] Adding apex deployment config guide

JIRA: SDNVPN-171

Change-Id: I076a087ab346e8e6e3063c958fefff657838b708
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Update release notes"
Tim Irnich [Wed, 12 Jul 2017 14:54:43 +0000 (14:54 +0000)]
Merge "Update release notes"

7 years agoUpdate release notes 81/37181/4
panageo2 [Tue, 11 Jul 2017 13:47:04 +0000 (13:47 +0000)]
Update release notes

Uplifting docs to D-3. Update release-notes
to reflect the remaining issues we have not
been able to resolve.

JIRA: SDNVPN-169

Change-Id: I5997f1495fc37ecbc06a8c7b8071a7ba7f2c099c
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoAdding log gathering 61/37261/3
Nikolas Hermanns [Wed, 12 Jul 2017 12:07:46 +0000 (12:07 +0000)]
Adding log gathering

Change-Id: I0f13e5aa8aea25e549c9ffede63085a86153cdba
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoFix the wrong path of sdnvpn 77/36777/3
Linda Wang [Fri, 30 Jun 2017 04:16:27 +0000 (04:16 +0000)]
Fix the wrong path of sdnvpn

The new path should be /usr/local/lib/python2.7/dist-packages/sdnvpn,
rather than /home/opnfv/repos/sdnvpn

Change-Id: I22e019226e7bffe233b52c1a3ec6171b835e4bd3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
7 years agoMerge "Adapt the floating ip handling in functest"
Nikolas Hermanns [Thu, 29 Jun 2017 12:45:19 +0000 (12:45 +0000)]
Merge "Adapt the floating ip handling in functest"

7 years agoMerge "Add networking-bgpvpn module in SDNVPN requirements"
Nikolas Hermanns [Thu, 29 Jun 2017 08:50:15 +0000 (08:50 +0000)]
Merge "Add networking-bgpvpn module in SDNVPN requirements"

7 years agoMerge "Transfer utils functions from functest"
Nikolas Hermanns [Thu, 29 Jun 2017 07:57:42 +0000 (07:57 +0000)]
Merge "Transfer utils functions from functest"

7 years agoTransfer utils functions from functest 55/36655/2
panageo2 [Wed, 28 Jun 2017 12:34:55 +0000 (12:34 +0000)]
Transfer utils functions from functest

Transfer functions:
  - create_bgpvpn
  - create_network_association
  - create_router_association
  - update_bgpvpn
  - delete_bgpvpn
  - get_bgpvpn
  - get_bgpvpn_routers
  - get_bgpvpn_networks

from functest/utils/openstack_utils.py to
sdnvpn/lib/utils.py

JIRA: SDNVPN-164
JIRA: FUNCTEST-840

Change-Id: Ic64d8ee85e74601b0fe51e1c452cf83fa6b0203b
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
7 years agoAdapt the floating ip handling in functest 83/36583/1
tomsou [Tue, 27 Jun 2017 13:51:13 +0000 (13:51 +0000)]
Adapt the floating ip handling in functest

Comply with the new floating ip management in functest

(https://gerrit.opnfv.org/gerrit/#/c/36415)

JIRA: SDNVPN-165

Change-Id: I39e380caf07568e2370246afcf483eb8adb3def6
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoMerge "Uplifting docs to D-3"
Tim Irnich [Mon, 26 Jun 2017 15:41:46 +0000 (15:41 +0000)]
Merge "Uplifting docs to D-3"

7 years agoMerge "Restore peering within testcase3 for Apex"
Tim Irnich [Mon, 26 Jun 2017 15:24:23 +0000 (15:24 +0000)]
Merge "Restore peering within testcase3 for Apex"

7 years agoAdd networking-bgpvpn module in SDNVPN requirements 05/36505/1
jose.lausuch [Mon, 26 Jun 2017 09:33:11 +0000 (11:33 +0200)]
Add networking-bgpvpn module in SDNVPN requirements

Change-Id: I7b361f1b8275570b9257d29e04e551a81116e59f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd requirements in sdnvpn 75/36475/1
Cédric Ollivier [Mon, 26 Jun 2017 04:51:55 +0000 (06:51 +0200)]
Add requirements in sdnvpn

It now leverages on pbr to scan requirements.txt and inject them into
the install_requires.

Change-Id: Iae1517ae0bfd3575e9d16de4a2ca42e114d956fb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agoUplifting docs to D-3 25/36225/1
tomsou [Tue, 20 Jun 2017 08:10:07 +0000 (08:10 +0000)]
Uplifting docs to D-3

Change-Id: Iff2f924886bae8e4bf84f4325cde3d7f8546b487
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoRestore peering within testcase3 for Apex 31/34831/2
tomsou [Tue, 16 May 2017 08:50:49 +0000 (08:50 +0000)]
Restore peering within testcase3 for Apex

Change-Id: I7f3a4892e6ef73fb13512e427fab3e42ff1b69d9
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoCleanup after testcase running 35/35135/2
tomsou [Mon, 22 May 2017 09:14:22 +0000 (09:14 +0000)]
Cleanup after testcase running

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>
7 years agoMerge "Fix fail of pinging a floating IP- testcase8"
Nikolas Hermanns [Mon, 29 May 2017 16:27:49 +0000 (16:27 +0000)]
Merge "Fix fail of pinging a floating IP- testcase8"

7 years agoFix failure in router association- testcase8 57/35357/1
tomsou [Thu, 25 May 2017 12:58:33 +0000 (12:58 +0000)]
Fix failure in router association- testcase8

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>
7 years agoFix fail of pinging a floating IP- testcase8 37/35337/1
tomsou [Thu, 25 May 2017 09:42:15 +0000 (09:42 +0000)]
Fix fail of pinging a floating IP- testcase8

-Raise the upper bound for ping action

JIRA: SDNVPN-154

Change-Id: Ifadf58f551f706a90cc17b0b1f8d05718e4908f9
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoFix the wrong image path for base image 33/35133/1
helenyao [Mon, 22 May 2017 08:21:11 +0000 (16:21 +0800)]
Fix the wrong image path for base image

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>
7 years agoMerge "Put the ubuntu images in new directory"
Jose Lausuch [Fri, 19 May 2017 09:44:36 +0000 (09:44 +0000)]
Merge "Put the ubuntu images in new directory"

7 years agoUpdate logger via logging.getLogger() 51/34751/9
Linda Wang [Mon, 15 May 2017 07:57:59 +0000 (07:57 +0000)]
Update logger via logging.getLogger()

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>
7 years agoFix the zrpcd running check within testcase3 91/34491/1
tomsou [Tue, 9 May 2017 12:54:47 +0000 (12:54 +0000)]
Fix the zrpcd running check within testcase3

Check specifically the "running" state of the zrpcd service

JIRA: SDNVPN-150

Change-Id: I1b63f25dfab5fd4507cc219fb1c21291064a8bab
Signed-off-by: tomsou <soth@intracom-telecom.com>
7 years agoPut the ubuntu images in new directory 05/34205/3
helenyao [Thu, 4 May 2017 06:42:32 +0000 (14:42 +0800)]
Put the ubuntu images in new directory

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>
7 years agoadd lable for both scenarios 77/34277/2
Nikolas Hermanns [Thu, 4 May 2017 15:34:39 +0000 (17:34 +0200)]
add lable for both scenarios

Change-Id: I9b4cd79a40a6c0c0b057f5eb3cb2a4197f3264e7
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoremoving multiple labels 75/34275/1
Nikolas Hermanns [Thu, 4 May 2017 15:25:22 +0000 (17:25 +0200)]
removing multiple labels

Change-Id: I28fe4db7598c20ca7be90bc7cd57bf0d9770847b
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoRemoving peering testcase for Apex 49/34249/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>
7 years agoMerge "Stop and start quagga when reinstalling"
Nikolas Hermanns [Thu, 4 May 2017 11:37:07 +0000 (11:37 +0000)]
Merge "Stop and start quagga when reinstalling"

7 years agoStop and start quagga when reinstalling 45/34145/2
Nikolas Hermanns [Wed, 3 May 2017 14:23:02 +0000 (16:23 +0200)]
Stop and start quagga when reinstalling

Change-Id: Iba9a5980de0cbdf9c04bdd4dad704c12abb55048
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoUplifting docs to D-2 65/34165/1
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>
7 years agoClean always and change order 61/34161/2
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>
7 years agoRemove dependence inet 57/34157/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>
7 years agoCleanup br-ex/br-quagga from testcase_3 53/34053/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>
7 years agoremove unused tempest blacklist 11/33111/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>
7 years agoChecking if hacked quagga bridge exsists and contiune 75/33075/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>
7 years agoCorrect testcase 8 description 59/33059/2
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>
7 years agoRemoving groups from ovs and deleting odl folder 49/32949/3
Nikolas Hermanns [Tue, 4 Apr 2017 15:21:32 +0000 (11:21 -0400)]
Removing groups from ovs and deleting odl folder

Change-Id: If9ceadfb363c37084f4cf907d7c7945061952ba1
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoDo not stop tests if exception in testcase 11/32911/3
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>
7 years agoMerge "Add Labels"
Nikolas Hermanns [Mon, 3 Apr 2017 14:08:07 +0000 (14:08 +0000)]
Merge "Add Labels"

7 years agoMerge "Fix security group rule conflict"
Nikolas Hermanns [Mon, 3 Apr 2017 14:07:21 +0000 (14:07 +0000)]
Merge "Fix security group rule conflict"

7 years agoFix permission when installing 09/32909/1
Nikolas Hermanns [Fri, 31 Mar 2017 09:05:06 +0000 (11:05 +0200)]
Fix permission when installing

Change-Id: I8f5546bddbf634fa05337caa7c4d48a3f4f1db6b
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoIf not ODL is installed install it on first controller 47/32047/2
Nikolas Hermanns [Tue, 28 Mar 2017 09:36:12 +0000 (11:36 +0200)]
If not ODL is installed install it on first controller

Change-Id: I0fa5f3e6141a92b99c446569dae8b8db631176ec
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Add possibility to install rpms"
Nikolas Hermanns [Fri, 31 Mar 2017 08:45:26 +0000 (08:45 +0000)]
Merge "Add possibility to install rpms"

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 agoAdd Labels 79/32279/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>
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 agoAdd possibility to install rpms 45/32045/1
Nikolas Hermanns [Tue, 28 Mar 2017 09:25:51 +0000 (11:25 +0200)]
Add possibility to install rpms

Change-Id: I1e5950e3331e76d71aca748f962ba2c5c3ea7541
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoFix security group rule conflict 43/32043/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>
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>