sdnvpn.git
5 years agoConform to interface change of ODL node in Fuel Deployment 79/65779/1 master
Stamatis Katsaounis [Thu, 13 Dec 2018 09:54:55 +0000 (11:54 +0200)]
Conform to interface change of ODL node in Fuel Deployment

JIRA: FUEL-393

This patch changes the interface where the odl node obtains the public
ip. This patch is a follow-up of [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/65705/1

Change-Id: I12c144f80a7fcffbcc5cc7d57995d0a1501538a6
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoUpdate Release Notes for Gambia 7.1 Release 75/65775/1
dimitris.tsiolakis [Thu, 13 Dec 2018 08:10:42 +0000 (03:10 -0500)]
Update Release Notes for Gambia 7.1 Release

Change-Id: I5da637e3f348da9ac179a8edfa9c86c5ac7c9a3c
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoMerge "Update installation procedure for Fuel Installer"
Nikos Karandreas [Wed, 12 Dec 2018 08:42:07 +0000 (08:42 +0000)]
Merge "Update installation procedure for Fuel Installer"

5 years agoUpdate installation procedure for Fuel Installer 25/65725/2
Stamatis Katsaounis [Tue, 11 Dec 2018 09:14:55 +0000 (11:14 +0200)]
Update installation procedure for Fuel Installer

This patch updates the documentation related to installation procedure
of bgpvpn scenario with Fuel Installer. Furthermore, it removes the
ha scenario because it is not supported in the current version of Fuel.
Finally, any deprecated information is also removed.

Change-Id: I68610317d732e23fb1ad8edc47ca0486314a557c
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoUsing heat orchestrator for sdnvpn - test case 8 05/64605/3
nikoskarandreas [Tue, 6 Nov 2018 15:31:11 +0000 (17:31 +0200)]
Using heat orchestrator for sdnvpn - test case 8

Heat orchestrator and the use of Heat Orchestrator Templates
is introduced in sdnvpn test cases. The deployment of the
nodes and networks under test is performed as a stack with the
use of the heat api and the use of the other apis is kept to
as little as possible. The scenarios that are executed are the
same as in the orginal test cases.

This is the implementation of sdnvpn test case 8:
Test floating IP and router assoc coexistence

JIRA: SDNVPN-219

Change-Id: I8a61d40e9decf4297b8714c93ce77ba05f033b66
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
5 years agoUpdate release date 67/64767/1
dimitris.tsiolakis [Thu, 8 Nov 2018 10:45:11 +0000 (12:45 +0200)]
Update release date

Change-Id: I10d30cf5be8370676813c1501c0ed73e189d19c2
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoUsing heat orchestrator for sdnvpn - test case 2 03/63903/2
nikoskarandreas [Tue, 23 Oct 2018 11:07:29 +0000 (14:07 +0300)]
Using heat orchestrator for sdnvpn - test case 2

Heat orchestrator and the use of Heat Orchestrator Template
is introduced in sdnvpn test cases. The deployment of the
nodes and networks under test is performed as a stack with the
use of the openstack api and the use of the other apis is kept
to as little as possible. The scenarios that are executed are
the same as in the orginal test cases.

This is the implementation of sdnvpn test case 2:
Tenant separation

JIRA: SDNVPN-219

Change-Id: I20f5ed8f7d250873f0223c1cd00c6c05d00fbfa8
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
5 years agoAdd suport for fuel installer 15/63415/6
Stamatis Katsaounis [Thu, 11 Oct 2018 12:13:33 +0000 (15:13 +0300)]
Add suport for fuel installer

JIRA: FUEL-393

This patch adds support for fuel installer by modifying relevant
pieces of code.

Change-Id: I5245e84022dd258c96648b0985660e093ca98b52
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "Find the ODL owner of the BGP entity in the cluster in TC 3"
Nikos Karandreas [Wed, 31 Oct 2018 12:01:14 +0000 (12:01 +0000)]
Merge "Find the ODL owner of the BGP entity in the cluster in TC 3"

5 years agoMerge "Fix false message instance is down"
Nikos Karandreas [Wed, 31 Oct 2018 11:17:00 +0000 (11:17 +0000)]
Merge "Fix false message instance is down"

5 years agoUsing heat orchestrator for sdnvpn - test case 4 21/63521/2
nikoskarandreas [Mon, 15 Oct 2018 14:26:21 +0000 (17:26 +0300)]
Using heat orchestrator for sdnvpn - test case 4

Heat orchestrator and the use of Heat Orchestrator Templates
is introduced in sdnvpn test cases. The deployment of the
nodes and networks under test is performed as a stack with the
use of the openstack api and the use of the other apis is kept
to as little as possible. The scenarios that are executed are
the same as in the orginal test cases.

This is the implementation of sdnvpn test case 4:
VPN provides connectivity between subnets using router
association

JIRA: SDNVPN-219

Change-Id: If3783dd25577d22c18be5f088ab6657c38531d73
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
5 years agoFix false message instance is down 41/63441/2
Stamatis Katsaounis [Fri, 12 Oct 2018 07:17:09 +0000 (10:17 +0300)]
Fix false message instance is down

JIRA: SDNVPN-232

This patch fixes the false message instance is down. The message
occurs because a wrong method was used to check if instance is
alive. This instance does not proceed to login so the previous
method cound not find "login" regex inside its console output.

Change-Id: I35733f634595a9d2eeb9148c2476444afab710a6
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "Add flake8 and yamllint tox environments and fix tox errors"
Nikos Karandreas [Thu, 18 Oct 2018 09:49:17 +0000 (09:49 +0000)]
Merge "Add flake8 and yamllint tox environments and fix tox errors"

5 years agoFind the ODL owner of the BGP entity in the 71/63571/3
dimitris.tsiolakis [Tue, 16 Oct 2018 07:01:28 +0000 (10:01 +0300)]
Find the ODL owner of the BGP entity in the
cluster in TC 3

After new Apex release Opendaylight run in container.
This fix finds the ODL owner of the BGP entity in the cluster for
containerised installations.

SDNVPN-234

Change-Id: Iec1abfe3e0be899ab51fe52057b394a4fa15cc49
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoReplace heat client calls with openstack sdk 03/62703/10
Stamatis Katsaounis [Mon, 15 Oct 2018 07:18:27 +0000 (10:18 +0300)]
Replace heat client calls with openstack sdk

JIRA: SDNVPN-220

This patch replaces all calls of heat client with openstack sdk.

Change-Id: I75571e8de8c06d144204af787ce240c99faea6d3
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoAdd flake8 and yamllint tox environments and fix tox errors 31/63331/5
Stamatis Katsaounis [Tue, 9 Oct 2018 12:16:25 +0000 (15:16 +0300)]
Add flake8 and yamllint tox environments and fix tox errors

JIRA: SDNVPN-231

This patch adds flake8 and yamllint tox environments. Furthermore, it
fixes tox errors and applies general tox improvements.

Change-Id: Id180695ef034562efb236932e6f783b0e91157c2
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoUsing heat orchestrator for sdnvpn - test case 1 71/59771/9
nikoskarandreas [Thu, 12 Jul 2018 16:40:30 +0000 (19:40 +0300)]
Using heat orchestrator for sdnvpn - test case 1

Heat orchestrator and the use of Heat Orchestrator Templates
is introduced in sdnvpn test cases. The deployment of the
nodes and networks under test is performed as a stack with the
use of the heat api and the use of the other apis is kept to
as little as possible. The scenarios that are executed are the
same as in the orginal test cases.

This is the implementation of sdnvpn test case 1:
VPN provides connectivity between subnets
and also base functions for heat api access and some utilities.

JIRA: SDNVPN-219

Change-Id: Ic284722e600652c9058da96d349dff9398bcacf1
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
5 years agoFix error on querying neutron quota 39/63439/2
Stamatis Katsaounis [Fri, 12 Oct 2018 07:09:06 +0000 (10:09 +0300)]
Fix error on querying neutron quota

JIRA: SDNVPN-233

This patch fixes the bug which exists when trying to query neutron
quota with openstacksdk.

Change-Id: Iead824ca44f381ba314f38933cf48fe7932f74f3
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
(cherry picked from commit 7e52a1809501699a6da9fda5c2613a76abe384d3)

5 years agoMerge "Updated from global requirements"
Dimitris Tsiolakis [Thu, 11 Oct 2018 06:49:37 +0000 (06:49 +0000)]
Merge "Updated from global requirements"

5 years agoMerge "Replace cinder client calls with openstack sdk"
Dimitris Tsiolakis [Tue, 9 Oct 2018 14:21:25 +0000 (14:21 +0000)]
Merge "Replace cinder client calls with openstack sdk"

5 years agoReplace neutron client calls with openstack sdk 05/61905/7
Stamatis Katsaounis [Thu, 6 Sep 2018 11:44:48 +0000 (14:44 +0300)]
Replace neutron client calls with openstack sdk

JIRA: SDNVPN-220

This patch replaces almost all calls of neutron client with
openstack sdk. The calls regarding bgpvpn are not replaced
due to lack of support from openstack sdk at the moment.

Change-Id: Idf52b8c57b895f87ba6320e350bf170faa24d0a7
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoUpdated from global requirements 35/63235/3
Cédric Ollivier [Tue, 9 Oct 2018 01:02:41 +0000 (03:02 +0200)]
Updated from global requirements

Change-Id: I2dd50c10be5d1c1a845292d2c637d721ca6cfa4b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoReplace cinder client calls with openstack sdk 37/62437/2
Stamatis Katsaounis [Tue, 18 Sep 2018 08:51:45 +0000 (11:51 +0300)]
Replace cinder client calls with openstack sdk

JIRA: SDNVPN-220

This patch replaces all calls of cinder client with openstack sdk.

Change-Id: Iee73a33ee6c2d87236c6bad3ea6a4ca7b100ced0
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoReplace nova client calls with openstack sdk 23/62123/12
Stamatis Katsaounis [Wed, 12 Sep 2018 10:00:09 +0000 (13:00 +0300)]
Replace nova client calls with openstack sdk

JIRA: SDNVPN-220

This patch replaces all calls of nova client with openstack sdk.

Change-Id: I9e3a0fe08ba36bfb64483238cd286acad829ae90
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "Replace glance client calls with openstack sdk"
Nikos Karandreas [Mon, 8 Oct 2018 08:30:09 +0000 (08:30 +0000)]
Merge "Replace glance client calls with openstack sdk"

5 years agoMerge "Fix testcase_3"
Nikos Karandreas [Fri, 5 Oct 2018 10:50:12 +0000 (10:50 +0000)]
Merge "Fix testcase_3"

5 years agoMerge "Fix testcase_9"
Nikos Karandreas [Fri, 5 Oct 2018 10:48:04 +0000 (10:48 +0000)]
Merge "Fix testcase_9"

5 years agoFix testcase_3 27/63127/4
dimitris.tsiolakis [Wed, 3 Oct 2018 14:12:47 +0000 (17:12 +0300)]
Fix testcase_3

After new Apex release Opendaylight run in container.
This enhancement identifies the controllers where the
Opendaylight runs, for both containerized and none
containerized installations.

Change-Id: I336176a9a74486a3f91a36508bb848a90bc6bda2
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoFix testcase_9 01/63101/5
dimitris.tsiolakis [Tue, 2 Oct 2018 14:34:27 +0000 (17:34 +0300)]
Fix testcase_9

After new Apex release Opendaylight run in container.
This enhancement identifies the controllers where the
Opendaylight runs, for both containerized and none
containerized installations.

Change-Id: I5821bfa7ddce40eb76d3c2cddfcbc112b058f737
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoMerge "Local Documentation Builds"
Nikos Karandreas [Thu, 4 Oct 2018 10:02:01 +0000 (10:02 +0000)]
Merge "Local Documentation Builds"

5 years agoReplace glance client calls with openstack sdk 13/62313/5
Stamatis Katsaounis [Fri, 14 Sep 2018 11:07:02 +0000 (14:07 +0300)]
Replace glance client calls with openstack sdk

JIRA: SDNVPN-220

This patch replaces all calls of glance client with openstack sdk.

Change-Id: I8bf9913e3be9615c462791a20267e4dc71ffd727
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoLocal Documentation Builds 01/62501/4
Aric Gardner [Tue, 18 Sep 2018 15:05:26 +0000 (11:05 -0400)]
Local Documentation Builds

    This adds configuration for performing local documentation builds
    with the following simple command:

    tox -e docs

added index.rst so that docs build succsesfully

Change-Id: Ib0c7626c37b7f733641fcf2174d9951bf2371886
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
5 years agoRemove tempest networking bgpvpn testcases 91/63091/1
Stamatis Katsaounis [Tue, 2 Oct 2018 10:57:47 +0000 (13:57 +0300)]
Remove tempest networking bgpvpn testcases

JIRA: SDNVPN-230

This patch removes networking bgpvpn testcases from sdnvpn project.
The testcases from gambia release and up until now they run by
functest project inside smoke container. There is no reason to run them
inside features functest container any more.

Change-Id: Iae031c17d15822358bfe21448c0d16fa14bc35de
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "Fix run_tempest testcase"
Nikos Karandreas [Mon, 1 Oct 2018 12:01:10 +0000 (12:01 +0000)]
Merge "Fix run_tempest testcase"

5 years agoMerge "Update Release notes for Gambia release"
Nikos Karandreas [Fri, 28 Sep 2018 09:39:02 +0000 (09:39 +0000)]
Merge "Update Release notes for Gambia release"

5 years agoUpdate Release notes for Gambia release 87/62087/4
dimitris.tsiolakis [Tue, 11 Sep 2018 06:55:33 +0000 (09:55 +0300)]
Update Release notes for Gambia release

JIRA: SDNVPN-226

Change-Id: I839e95f23f8c1faf9fe231dad39b50b2e380841d
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoMerge "Wait for instance deletion"
Nikos Karandreas [Thu, 27 Sep 2018 09:16:26 +0000 (09:16 +0000)]
Merge "Wait for instance deletion"

5 years agoWait for instance deletion 35/62035/2
Stamatis Katsaounis [Mon, 10 Sep 2018 08:11:49 +0000 (11:11 +0300)]
Wait for instance deletion

JIRA: SDNVPN-222

Confirm the deletion of instance in order to prevent its port
existence when trying to delete relevant subnet in a later stage.

Change-Id: Iace0fbbd90d50f05764ac09682caae59baba22fa
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoMerge "Update Scenario description document for Gambia release"
Nikos Karandreas [Wed, 26 Sep 2018 10:38:32 +0000 (10:38 +0000)]
Merge "Update Scenario description document for Gambia release"

5 years agoMerge "Update Overview document for Gambia release"
Nikos Karandreas [Wed, 26 Sep 2018 10:05:03 +0000 (10:05 +0000)]
Merge "Update Overview document for Gambia release"

5 years agoMerge "Update Installation document for Gambia release"
Nikos Karandreas [Wed, 26 Sep 2018 09:48:55 +0000 (09:48 +0000)]
Merge "Update Installation document for Gambia release"

5 years agoMerge "Replace % operator with format method"
Nikos Karandreas [Wed, 26 Sep 2018 08:50:14 +0000 (08:50 +0000)]
Merge "Replace % operator with format method"

5 years agoMerge "Fix reference-before-assignment errors when getting exceptions"
Nikos Karandreas [Wed, 26 Sep 2018 08:39:23 +0000 (08:39 +0000)]
Merge "Fix reference-before-assignment errors when getting exceptions"

5 years agoFix run_tempest testcase 61/61961/3
Stamatis Katsaounis [Fri, 7 Sep 2018 06:44:30 +0000 (09:44 +0300)]
Fix run_tempest testcase

JIRA: SDNVPN-221

This patch makes run_tempest testcase functional again. Due to
changes to functest codebase this tescase was failing due to an
exception when trying to get verifier id, because no verifier is
created from functest, as it used to happen before.

Change-Id: Ia31e913b81672215f607055765cac368b8ad5412
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoNominating Dimitrios Tsiolakis as SDNVPN committer 33/62633/1
Periyasamy Palanisamy [Thu, 20 Sep 2018 11:34:08 +0000 (13:34 +0200)]
Nominating Dimitrios Tsiolakis as SDNVPN committer

I would like to nominate Dimitrios Tsiolakis as a SDNVPN committer as he
is working with SDNVPN project for several months and looking to BGPVPN
tempest testsuite and other CI issues on daily basis.

Here are his contributions: https://gerrit.opnfv.org/gerrit/#/q/owner:%22Dimitris+Tsiolakis+%253Cdmts%2540intracom-telecom.com%253E%22+project:sdnvpn

Change-Id: I093df6949993888b137430d384aba0cd1bcdd33c
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoUpdate Installation document for Gambia release 59/62059/2
dimitris.tsiolakis [Mon, 10 Sep 2018 14:39:10 +0000 (17:39 +0300)]
Update Installation document for Gambia release

JIRA: SDNVPN-225

Change-Id: Ibc883d5e38ae88538735d52a114b65dda86770b9
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoUpdate Scenario description document for Gambia release 57/62057/3
dimitris.tsiolakis [Mon, 10 Sep 2018 14:04:04 +0000 (17:04 +0300)]
Update Scenario description document for Gambia release

JIRA: SDNVPN-227

Change-Id: I916cd78d94ba49d84a334a3bae4cb09975a972df
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoUpdate Overview document for Gambia release 51/62051/6
dimitris.tsiolakis [Mon, 10 Sep 2018 11:51:19 +0000 (14:51 +0300)]
Update Overview document for Gambia release

JIRA: SDNVPN-224

Change-Id: Id02780698fc84f750c6d633fbcf0b86a04c13d32
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoNominating Nikos Karandreas as SDNVPN committer 53/62553/1
Periyasamy Palanisamy [Wed, 19 Sep 2018 12:15:29 +0000 (14:15 +0200)]
Nominating Nikos Karandreas as SDNVPN committer

I would like to nominate Nikos Karandreas as SDNVPN committer due to
his wide knowledge and working experience with SDNVPN project. He is
currently working to incorporate HEAT templates for BGPVPN orchestration
and fixing up CI issues.

His contributions are: https://gerrit.opnfv.org/gerrit/#/q/owner:%22Nikos+Karandreas+%253Cnick%2540intracom-telecom.com%253E%22+project:sdnvpn

Change-Id: Ibe7fd66573f8e0beeb073e3f3cf0d4907c671d0f
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoMerge "Auto Generated INFO.yaml file"
Periyasamy Palanisamy [Wed, 19 Sep 2018 12:09:12 +0000 (12:09 +0000)]
Merge "Auto Generated INFO.yaml file"

5 years agoAuto Generated INFO.yaml file 05/51705/2
agardner [Mon, 5 Feb 2018 19:25:24 +0000 (14:25 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Going forward comitter promotions must be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

Change-Id: I322646af57e0fd69e4fb40f0e346cc9e21b683e5
Signed-off-by: agardner <agardner@linuxfoundation.org>
5 years agoFix reference-before-assignment errors when getting exceptions 99/62099/2
Stamatis Katsaounis [Tue, 11 Sep 2018 13:47:48 +0000 (16:47 +0300)]
Fix reference-before-assignment errors when getting exceptions

JIRA: SDNVPN-228

This patch checks that variables have been set before trying to
perfom actions uppon them.

Change-Id: I6e81a3e7756d3ef0aee4f436766128631439f43a
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoReplace % operator with format method 37/62037/1
Stamatis Katsaounis [Mon, 10 Sep 2018 08:34:17 +0000 (11:34 +0300)]
Replace % operator with format method

JIRA: SDNVPN-223

Running the testcase 3 with the % operator was causing an error
on formating the string. This patch replace % operator with
format method.

Change-Id: I33d3a4539bd7e1914f8c52ea8e91ae15083ce0b1
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
5 years agoUpdate entry_point to conform with Xtesting 13/61713/2
Cédric Ollivier [Sun, 2 Sep 2018 11:33:51 +0000 (13:33 +0200)]
Update entry_point to conform with Xtesting

Functest is being updated to Xtesting 0.60 which leverages on
stevedore [1].

[1] https://docs.openstack.org/stevedore/latest/

Change-Id: Ic47a61b547ee41ca60c5d393f82c907ca27ba97a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoChange ODL check url to be diagstatus 85/60185/1
Tim Rozet [Wed, 25 Jul 2018 19:58:14 +0000 (15:58 -0400)]
Change ODL check url to be diagstatus

With OOO the password is no longer hardcoded to 'admin' and is
dynamically generated a run time. This causes this curl check to fail.
Instead, use the diagstatus URL which is new in ODL and provides a more
accurate way (without authentication) to check if ODL is ready.

Change-Id: I7eb034cd3f20c5f5daa52a1e9b2d8e2a52118f6e
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoDetach quagga vm in the cleanup block 15/59615/1
Periyasamy Palanisamy [Mon, 9 Jul 2018 12:22:14 +0000 (14:22 +0200)]
Detach quagga vm in the cleanup block

Change-Id: I45145dacaeec0f7b518ab61a33d3a824458e9af5
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoMerge "Route exchange test with testcase3"
Periyasamy Palanisamy [Mon, 2 Jul 2018 07:59:29 +0000 (07:59 +0000)]
Merge "Route exchange test with testcase3"

5 years agoMerge "Clean up stale routers and gateway routers."
Periyasamy Palanisamy [Thu, 28 Jun 2018 13:17:00 +0000 (13:17 +0000)]
Merge "Clean up stale routers and gateway routers."

5 years agoClean up stale routers and gateway routers. 27/59027/4
dimitris.tsiolakis [Tue, 26 Jun 2018 08:20:31 +0000 (11:20 +0300)]
Clean up stale routers and gateway routers.

During snaps_smoke test all floating IPs are allocated
by routers as external IP's, as a result there are no
more floating IPs left.
This patch clean up stale routers and free the assigned
IPs.

JIRA: SNAPS-318

Change-Id: Ifbf01ce38db63315e692dca9ffa5d993dbfa4337
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoupdate sdnvpn release notes for fraser 6.2 75/59075/2
Periyasamy Palanisamy [Wed, 27 Jun 2018 09:39:25 +0000 (11:39 +0200)]
update sdnvpn release notes for fraser 6.2

Change-Id: I752fba0ba0d434ae1bc37b975479361f9d53e3b3
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoAdds support for docker based opendaylight 17/59017/5
Tim Rozet [Mon, 25 Jun 2018 21:58:36 +0000 (17:58 -0400)]
Adds support for docker based opendaylight

Previously we used ODL as a systemd service. However in newer OOO it is
ran as a docker container. For reinstalling ODL in this case we determined
that the best way is to not mess with docker and simply shut it down,
and use the systemd for the CSIT verification.

This patch stops the docker container, then copies a systemd service
file (since RPM may never have been installed), and then allows ODL
reinstall to proceed as usual.

Change-Id: Ib0996ed5494f1ef37bcc232f087f563c99db62fc
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoRoute exchange test with testcase3 75/36575/11
tomsou [Tue, 27 Jun 2017 11:48:31 +0000 (11:48 +0000)]
Route exchange test with testcase3

This review brings up quagga VM installed with 6WIND quagga,
configures with external ip prefix and making sure that it gets
exchanged with ODL peer.

Change-Id: I9ba677e74f24258f7cc59db70b013fbdbbec917a
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoUse Neutron API for attaching floating ip address 47/58647/2
Periyasamy Palanisamy [Mon, 18 Jun 2018 10:30:55 +0000 (12:30 +0200)]
Use Neutron API for attaching floating ip address

The Nova API for attaching floating ip address with vm instance is
removed in latest Openstack release. Hence moving to neutron API for
attaching floating ip address with VM.

JIRA: SDNVPN-217

Change-Id: If321191eca0915cfd816eabc8890b28ed79cefc7
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoMerge "[Bug Fix] Determine the BGP entity owner in ODL Cluster"
Periyasamy Palanisamy [Fri, 15 Jun 2018 15:16:10 +0000 (15:16 +0000)]
Merge "[Bug Fix] Determine the BGP entity owner in ODL Cluster"

5 years ago[Bug Fix] Determine the BGP entity owner in ODL Cluster 83/58283/9
Dimitrios Markou [Wed, 6 Jun 2018 11:14:15 +0000 (14:14 +0300)]
[Bug Fix] Determine the BGP entity owner in ODL Cluster

In HA deployments is essential to determine which is the ODL
BGP entity owner and transform that ODL to BGP speaker.
This is necessary because of this bug [0] in netvirt. So
we can consider this as a workaround for the testcase_3.

Note: This patch is dependent on this task resolution [1]
      for master branch.

Note: This patch works fine in stable/fraser branch.

[0] https://jira.opendaylight.org/browse/NETVIRT-1308
[1] https://jira.opnfv.org/browse/SDNVPN-217

Jira: SDNVPN-214

Change-Id: I383987e650da45400a3a6437dbdaaea904db9265
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
5 years agoCreate and pass references of flavor and image to tempest 31/58031/3
nikoskarandreas [Tue, 29 May 2018 13:00:47 +0000 (16:00 +0300)]
Create and pass references of flavor and image to tempest

When invoked from SDNVPN, Tempest scenario functest test cases
try to use flavor and image references from the tempest.conf file
which are currently empty.
This patch uses the default flavor that is created by the test
suite and the creates an image using the availabe cirros image,
which is deleted at the end.

JIRA: SDNVPN-209

Change-Id: I6a6fd636fec2c0fa7d35981ca51d59f06a4d9d69
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
5 years agoFix so that testcases run in order. 51/58451/3
dimitris.tsiolakis [Tue, 12 Jun 2018 11:12:25 +0000 (14:12 +0300)]
Fix so that testcases run in order.

A new key "order" was added in config.py file to prevent the
testcases executed in random order.

JIRA: SDNVPN-216

Change-Id: I4ee72cb98351e35bf50ecf9c6dd1506a59e34f6e
Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
5 years agoMerge "Add own logger for SdnvpnFuncTest class"
Periyasamy Palanisamy [Thu, 7 Jun 2018 14:29:24 +0000 (14:29 +0000)]
Merge "Add own logger for SdnvpnFuncTest class"

5 years agoAdd own logger for SdnvpnFuncTest class 11/58311/2
Periyasamy Palanisamy [Thu, 7 Jun 2018 08:35:48 +0000 (10:35 +0200)]
Add own logger for SdnvpnFuncTest class

The functest xtesting Testcase class removed the logger instance
variable, so let SdnvpnFuncTest use its own logger.

JIRA: SDNVPN-215

Change-Id: I8b611273e44204d5051fad1140e6ecaddc2a4334
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years ago[Bug Fix] Use correct image for the Quagga instance 51/58151/7
Dimitrios Markou [Fri, 1 Jun 2018 13:09:47 +0000 (16:09 +0300)]
[Bug Fix] Use correct image for the Quagga instance

In testcase_3 the Quagga image is downloaded from the
opnfv.artifacts repository to the /home/opnfv/functest/data
directory.

But the testcase_3 after that tries to find the image in the
/home/opnfv/functest/images directory.

This results in using a wrong image

Jira: SDNVPN-213

Change-Id: I99539fc9a7a2d016a97ed51fca0cde81f82b3911
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
5 years agoFix the logging to be compatible with functest 19/58119/1
Periyasamy Palanisamy [Thu, 31 May 2018 14:59:54 +0000 (16:59 +0200)]
Fix the logging to be compatible with functest

Change-Id: I62b432497175e79bcf2cd241be54d8a7f5db2799
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
5 years agoRe-enabling execution of tempest tests 05/58005/1
Georg Kunz [Mon, 28 May 2018 22:58:08 +0000 (00:58 +0200)]
Re-enabling execution of tempest tests

My previous patch broke the execution of tempest tests, causing tempest
to complain about a missing .testr.conf file. This fix adds the explicit
use of the --config-file CLI flag back to the tempest test framework.

Change-Id: If65c65a227f0058180e0d5bca47cce502948c4c9
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agopotential fix for attaching router with external network gateway 47/57747/3
Periyasamy Palanisamy [Wed, 23 May 2018 10:28:50 +0000 (12:28 +0200)]
potential fix for attaching router with external network gateway

In the CI environment, whenever testcases attaches a router with
external network gateway sometimes it throws the error "No more IP
addresses available on network". This could be due to stale floating
ip's exist in the deployment which is cleaned up now before executing
sdnvpn testsuite.

JIRA: SDNVPN-212

Change-Id: I027a833f13b1bdddd83dc8c7e7f7292e20b10bb8
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoFixing invocation of Tempest tests 99/57299/3
Georg Kunz [Thu, 10 May 2018 22:13:57 +0000 (00:13 +0200)]
Fixing invocation of Tempest tests

Only 7 bgpvpn Tempest tests were run by the SDNVPN Tempest test instead
of the full set of Tempest tests. This patch fixes and simplifies the
invocation of bgpvpn Tempest tests.

Change-Id: I1b207ea3da27dd43ab034b84f81992a5e0be2ec1
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoSDNVPN-99 NAT doesn't seem to work 81/57181/1
Periyasamy Palanisamy [Tue, 8 May 2018 15:24:10 +0000 (17:24 +0200)]
SDNVPN-99 NAT doesn't seem to work

Currently ODL is not able to accomodate both network and router in a
BGPVPN instance (https://jira.opendaylight.org/browse/NETVIRT-932 - see
the comment section). So until the fix is available, testing NAT
functionality using router without bgpvpn instance across subnets.

Change-Id: I6bedfc8e818ddd542036a87245caf4949152d66f
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agocreate log file only if it doesn't exist 27/57127/1
Periyasamy Palanisamy [Mon, 7 May 2018 14:50:11 +0000 (16:50 +0200)]
create log file only if it doesn't exist

Change-Id: I97e4f0cf8f27ff719253967ac14e74bcd55b0559
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agocreate log file during logger initialization 11/57111/1
Periyasamy Palanisamy [Mon, 7 May 2018 13:17:21 +0000 (15:17 +0200)]
create log file during logger initialization

Currently the log messages from utils and openstack_utils
python modules are not logged into bgpvpn.log. This is
because this file is created during SDNVPN Feature
initialization. So creating this file during logger
initialization itself.

Change-Id: I538acdfb2119f1eaa562f61dac3b6bf7c3a58e41
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoFix os-odl-bgpvpn-[no]ha scenario reference 11/56911/1
Trevor Bramwell [Mon, 30 Apr 2018 20:28:46 +0000 (13:28 -0700)]
Fix os-odl-bgpvpn-[no]ha scenario reference

These shouldn't be prefixed with a '-' nor duplicated.

Change-Id: I88f5b2d18436a258d6ac573a1fbc6dee735b48da
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoUpdated scenario documentation 09/56509/5
Sofia Wallin [Wed, 25 Apr 2018 16:11:25 +0000 (18:11 +0200)]
Updated scenario documentation

Change-Id: I125988afe557e5117fcbbace23b5e48e740d216c
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoupdate fraser release date 79/56479/1
Periyasamy Palanisamy [Wed, 25 Apr 2018 14:18:59 +0000 (16:18 +0200)]
update fraser release date

Change-Id: If38328d7814497e9e213ec6edeff5057584d4601
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoFix version in setup.cfg 51/56151/1
Cédric Ollivier [Fri, 20 Apr 2018 13:28:34 +0000 (15:28 +0200)]
Fix version in setup.cfg

It cannot be installed due the new branch.

Change-Id: I1898190cbf522dbfbaeaa89e3d65a7b2e27fb2cc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMake sdnvpn logging proper 19/55819/2
Periyasamy Palanisamy [Mon, 16 Apr 2018 13:09:16 +0000 (15:09 +0200)]
Make sdnvpn logging proper

* Currently no log messages are getting written into log file due to
file handler is registered for logger object created at different
modules. Now corresponding handler is registered for logger objects.
* Making sdnvpn Feature class to use its parent class logger object to
avoid unnecessary logger object creation.

Change-Id: I4ec61951ba4ac39cecc137dbb818da72f0b43b35
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoUpdated from global requirements 31/55531/1
Cédric Ollivier [Thu, 12 Apr 2018 07:20:13 +0000 (09:20 +0200)]
Updated from global requirements

Change-Id: I094aa8c5cc901c4b5f083651a8224d64324dfc44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "testcase_10 intermittent failure"
Periyasamy Palanisamy [Wed, 11 Apr 2018 07:26:36 +0000 (07:26 +0000)]
Merge "testcase_10 intermittent failure"

6 years agotestcase_10 intermittent failure 25/55225/2
Periyasamy Palanisamy [Mon, 9 Apr 2018 09:56:04 +0000 (11:56 +0200)]
testcase_10 intermittent failure

There are vm monitor threads running incorrectly which causes this
testcase to fail intermittently. It is fixed properly now.

Change-Id: I61abf7e33700abdcb2e9ab7cfa72f6e3ad6c7a67
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agorouter and network association failure 63/55063/3
Periyasamy Palanisamy [Fri, 6 Apr 2018 14:29:14 +0000 (16:29 +0200)]
router and network association failure

comment few sub tests till ODL provides fix for BGPVPN having both
router and network association: https://jira.opnfv.org/browse/SDNVPN-94.
Till then let us comment required subtests in testcase_4.py and update the
release note for fraser.

Change-Id: I498ee95c74b525f65e40a540e0f1162d78ec5504
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoDocument updates for Fraser 69/54969/2
nikoskarandreas [Thu, 5 Apr 2018 07:00:37 +0000 (10:00 +0300)]
Document updates for Fraser

Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
Document updates for Fraser

Fixed wrong release date.
Removed a closed issue and a reference to it.

Change-Id: I002848374caf28c0e6f4184bc9bd9e87b1918255
Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
6 years agoxci: Lowercase ansible variables 17/54417/1 6.0.0
Fatih Degirmenci [Sat, 24 Mar 2018 06:15:11 +0000 (23:15 -0700)]
xci: Lowercase ansible variables

Change-Id: I4aa8ca5f8fcd5626e4334fd1217930c065a1dc04
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
6 years agoremove extra specs for the flavor 69/53569/1
Periyasamy Palanisamy [Mon, 12 Mar 2018 14:12:44 +0000 (15:12 +0100)]
remove extra specs for the flavor

It has problem in booting up VMs which are with custom flavor
configured. So removing extra specs from the flavor which
anyway is not needed.

Change-Id: I38fe1449ea585a3a6db95a7f21fd1d3fca0f528e
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agotestcase execution halt fix 27/53527/1
Periyasamy Palanisamy [Mon, 12 Mar 2018 12:13:24 +0000 (13:13 +0100)]
testcase execution halt fix

It's found that sys.exit is used in utils.py which caused testcase
execution is stopped abruptly while running bgpvpn testsuite.
This is now replaced with Exception.

Change-Id: I69df4be705985994318f58d57b152d6db4087610
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoworkaround for bgpvpn tempest run 79/53379/1
Periyasamy Palanisamy [Fri, 9 Mar 2018 09:00:50 +0000 (10:00 +0100)]
workaround for bgpvpn tempest run

Adding tempest.conf file in the /etc/tempest directory as it is needed
for tempest run command.

Change-Id: I754dca76908014dcbb17e82a2e7b561d4826bff0
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agopotential fix for custom flavor creation issue 93/53093/2
Periyasamy Palanisamy [Mon, 5 Mar 2018 09:47:48 +0000 (10:47 +0100)]
potential fix for custom flavor creation issue

Change-Id: Ic079e6d699927a400ca5f1530b18efacf3465629
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoMove import_modules inside try block 97/53297/1
Periyasamy Palanisamy [Thu, 8 Mar 2018 11:34:08 +0000 (12:34 +0100)]
Move import_modules inside try block

Its still sdnvpn testsuite is failing at testcase_8 for bgpvpn ha
scenario whereas it runs fine in the local setup. There is no logs
generated from the CI run, moving import_modules inside try block
and added few info logs to find out what is going on CI setup.
[1] http://artifacts.opnfv.org/logs/functest/lf-pod1/2018-03-03_23-12-24/bgpvpn.log
[2] https://build.opnfv.org/ci/job/functest-apex-baremetal-daily-master/827//console

Change-Id: Icffa48cd56222bc1063ca16704e90a899380634d
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoremove block comment for testcase_8 65/53165/2
Periyasamy Palanisamy [Tue, 6 Mar 2018 13:14:13 +0000 (14:14 +0100)]
remove block comment for testcase_8

somehow bgpvpn testsuite is not running in the bgpvpn-ha ci loop
because of testcase_8. when bgpvpn tries to execute this testcase,
somehow execution is stopped and no logs being generated from the
setup. The only different is this testcase is having block comment
with delimeter and this is being imported as a module inside
run_sdnvpn_tests. Hence replacing block comment with single line
comments. This issue is very sporadic even in the local setup
and running fine after changing it with single line comments.

Change-Id: I5d71ec2a8c532b5dd77b2136ca7e95a7838683dc
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoUpdate networking-bgpvpn to 7.0.0 05/53005/1
Cédric Ollivier [Fri, 2 Mar 2018 16:14:31 +0000 (17:14 +0100)]
Update networking-bgpvpn to 7.0.0

networking-bgpvpn 7.0.0 was released for Pike [1]

[1] https://docs.openstack.org/releasenotes/networking-bgpvpn/pike.html

Change-Id: I4baf1810ee2390c71a0f4b831f11baedabc95360
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch to Xtesting 69/52969/1
Cédric Ollivier [Fri, 2 Mar 2018 08:04:15 +0000 (09:04 +0100)]
Switch to Xtesting

It inherits from xtesting.core.feature [1].

[1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html

Change-Id: I3d64bce859de7132384b3cf0a6383348cc20b3b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoupdate python modules shebang line for python intrepreter directive 25/52925/1
Periyasamy Palanisamy [Thu, 1 Mar 2018 09:32:23 +0000 (10:32 +0100)]
update python modules shebang line for python intrepreter directive

Change-Id: I1929a5b86a89a96fbf5c21b3bc419c9237034aba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agofix for sdnvpn testsuite execution stops abruptly 21/52921/3
Periyasamy Palanisamy [Thu, 1 Mar 2018 08:40:48 +0000 (09:40 +0100)]
fix for sdnvpn testsuite execution stops abruptly

* updated the recommended shebang line for python intrepreter directive

Change-Id: Icd3023f03c8b5524afcb5d600a9d03749496acea
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoadd user variables for quagga configuration 71/52871/2
Periyasamy Palanisamy [Wed, 28 Feb 2018 19:10:24 +0000 (20:10 +0100)]
add user variables for quagga configuration

As per the review https://git.opendaylight.org/gerrit/#/c/66195 in
ansible-opendaylight role, adding required quagga specific
user variables to configure OpenDaylight with BGPVPN functionality.

Change-Id: I78e3389c4624fe92f34da13bde6a03d3f51c9675
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoMerge "Update the way of running tempest"
Periyasamy Palanisamy [Tue, 27 Feb 2018 08:47:11 +0000 (08:47 +0000)]
Merge "Update the way of running tempest"