sdnvpn.git
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"

6 years agoMerge "Stop relying on internal Functest utils"
Periyasamy Palanisamy [Tue, 27 Feb 2018 08:46:49 +0000 (08:46 +0000)]
Merge "Stop relying on internal Functest utils"

6 years agoUpdate the way of running tempest 29/52629/2
Linda Wang [Mon, 26 Feb 2018 09:19:59 +0000 (09:19 +0000)]
Update the way of running tempest

Use 'tempest run' instead of 'run_tempest.sh', which has
been removed by tempest 16.0.0
Also, 'tempest.py' has been renamed to 'run_tempest.py', to
avoid package importing conflict

Change-Id: I61e802e0381d1f33281610e98d05813c9b96faf9
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agocomment setup quagga playbook 71/52671/3
Periyasamy Palanisamy [Mon, 26 Feb 2018 16:04:21 +0000 (17:04 +0100)]
comment setup quagga playbook

In order to enable verify jobs in XCI for sdnvpn, commenting quagga
install playbook until its upstream review
(https://review.openstack.org/#/c/523907/) is merged

Change-Id: Ibeded8fe458e826259f2fb1cf82843f018aa3648
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoStop relying on internal Functest utils 83/52683/2
Cédric Ollivier [Mon, 26 Feb 2018 18:40:43 +0000 (19:40 +0100)]
Stop relying on internal Functest utils

It switches from functest_utils.get_functest_config() to
config.CONF(). download_url is now hosted in sfc as it's unused by
Functest.

The next functions will be considered as part of Functest framework
(then it must be well covered and documented):
  - ft_utils.execute_command_raise()
  - ft_utils.execute_command()
  - ft_utils.get_parameter_from_yaml()

Change-Id: I076c6ced430df8387de8eaeac6f3a94d93201b19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoHost openstack utils in SDNVPN 31/52631/1
Cédric Ollivier [Mon, 26 Feb 2018 09:42:02 +0000 (10:42 +0100)]
Host openstack utils in SDNVPN

SDNVPN is the last project using the deprecated openstack utils which
are being removed from Functest tree.

All methods unused by SDNVPN could be safely removed in a second change.
This patch aims at publishing them asis.

Change-Id: I4e479e6def2c691799c9bd86ba325e3d1544ef0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fixing return value in tempest test suite"
Periyasamy Palanisamy [Fri, 23 Feb 2018 15:42:05 +0000 (15:42 +0000)]
Merge "Fixing return value in tempest test suite"

6 years agoFixing return value in tempest test suite 15/52515/1
Georg Kunz [Fri, 23 Feb 2018 11:34:26 +0000 (12:34 +0100)]
Fixing return value in tempest test suite

The result processing framework of the SDNVPN project expects "FAIL" as
value for failed sub-tests to determine the overall result. The value
returned by the tempest sub-tests was "FAILED", causing incorrect
reporting to Functest.

Change-Id: I320e6f1fb1fc7ee540813e454484b11bd5b227b2
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
6 years agoSwitch from CONST to CONF 45/52445/2
Cédric Ollivier [Thu, 22 Feb 2018 07:41:11 +0000 (08:41 +0100)]
Switch from CONST to CONF

CONST is not the right Functest object to get config data.

Change-Id: I764a0a2a24447c941d1e726f3116593b29dd1c1e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoresync and ecmp testcase failure 03/52303/1
Periyasamy Palanisamy [Mon, 19 Feb 2018 14:35:19 +0000 (15:35 +0100)]
resync and ecmp testcase failure

This provide fix for resync and ecmp test case failures
at the CI master runs. Please have a look at the comments
in each testcase for more details.

Change-Id: I26c40da144e34a48ad44897988675db8d37c062a
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoMerge "fix for sdnvpn CI test failure"
Periyasamy Palanisamy [Thu, 15 Feb 2018 13:33:52 +0000 (13:33 +0000)]
Merge "fix for sdnvpn CI test failure"

6 years agoUse bgvpn-delete and create instead of update 47/50847/3
tomsou [Fri, 19 Jan 2018 14:15:33 +0000 (16:15 +0200)]
Use bgvpn-delete and create instead of update

Testcases 1 and 4 fail because of netvirt bug [1]

The same functionality is now achieved by using
bgvpn-delete and bgpvpn-create cli commands instead
of bgpvpn-update

[1] https://jira.opendaylight.org/browse/NETVIRT-1067

Change-Id: Iaba6e06d0f39e356bf364b0640c707b0a83470d7
Signed-off-by: tomsou <soth@intracom-telecom.com>
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agofix for sdnvpn CI test failure 79/52179/2
Periyasamy Palanisamy [Thu, 15 Feb 2018 08:29:01 +0000 (09:29 +0100)]
fix for sdnvpn CI test failure

Change-Id: Ie55ccbe68f57a9bb03efc8b6eebf23a0018a0bca
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoUpdating INFO file - new PTL 43/51443/1
Tim Irnich [Thu, 1 Feb 2018 10:21:23 +0000 (11:21 +0100)]
Updating INFO file - new PTL

Updating project lead and primary contact to Peri after PTL election.

Change-Id: Ief833e2e1479f99f8f0be815d5be43cb96883a4a
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
6 years agocorrect setup-openstack.yml destination path 89/51189/1
Periyasamy Palanisamy [Fri, 26 Jan 2018 11:30:20 +0000 (12:30 +0100)]
correct setup-openstack.yml destination path

Change-Id: I9c1c174529e1802beeab6b4e5ac91d18283aa521
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agocorrect XCI scenario variable 87/51187/1
Periyasamy Palanisamy [Fri, 26 Jan 2018 10:40:35 +0000 (11:40 +0100)]
correct XCI scenario variable

Change-Id: I4fcd3773457b6acb14720b84ba145ed9cac0368c
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoos-odl-bgpvpn scenario for xci deployment 43/48543/7
Periyasamy Palanisamy [Thu, 7 Dec 2017 17:05:04 +0000 (18:05 +0100)]
os-odl-bgpvpn scenario for xci deployment

This includes scenario os-odl-bgpvpn scenario specific configuration
files to make XCI to install Openstack (master and stable/pike) with
OpenDaylight configured as a BGP speaker.
XCI would automatically checkout sdnvpn repo and use scenarios
directory for the configuration during its execution time.

Change-Id: Ic86fcb171c8e97f7d3c3fb649ab0fb00368e6c6d
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoSet unlimited router quotas 63/50763/4
tomsou [Thu, 18 Jan 2018 10:42:57 +0000 (12:42 +0200)]
Set unlimited router quotas

Update router quotas to fix bgpvpn scenario in CIq

JIRA:SDNVPN-208

Change-Id: I25353229d119459c8e961b0f3f6264f715533d13
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoIntra-Data Center ECMP testcase 09/47509/10
Periyasamy Palanisamy [Mon, 20 Nov 2017 12:15:26 +0000 (13:15 +0100)]
Intra-Data Center ECMP testcase

This testcase add a scenario in which one extra route can be reachable
through two VMs which are in a same network attached to a router which
is later associated to a BGPVPN instance.
This extra route ip address is different from subnet of VMs.

After the extra route is configured with VM ips as nexthops, then when
third VM is trying to reach extra route, traffic would split between two
VMs. The traffic split can happen only in heavy loaded scenario, so this
testcase would test only reachability.

JIRA: SDNVPN-23

Change-Id: I4bb4e94f5c98c0f3c22bff7a6998af2a7a919f16
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoResync testcase description 05/50205/2
Periyasamy Palanisamy [Mon, 8 Jan 2018 08:50:08 +0000 (09:50 +0100)]
Resync testcase description

JIRA: SDNVPN-200

Change-Id: Ida111d28591d99cc8d2a73ec1c14920800354a9b
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoMerge "Adding two new committers"
Tim Irnich [Wed, 13 Dec 2017 08:28:21 +0000 (08:28 +0000)]
Merge "Adding two new committers"

6 years agoMerge "Updated from global requirements"
Tim Irnich [Mon, 20 Nov 2017 14:14:53 +0000 (14:14 +0000)]
Merge "Updated from global requirements"

6 years agoAdding two new committers 11/47411/2
Tim Irnich [Fri, 17 Nov 2017 12:04:42 +0000 (13:04 +0100)]
Adding two new committers

Adding Thomas Sounapoglou and Peri Palanisamy as new comitters to the project.
Both have made substantial contributions to the project and are very active.
Existing committers, please approve.

Change-Id: Ib85ced466dbdf90333e555de6a81ef30a77b3ed3
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
6 years agoMerge "add resync testcase"
Tim Irnich [Thu, 16 Nov 2017 17:00:25 +0000 (17:00 +0000)]
Merge "add resync testcase"

6 years agoUpdated from global requirements 77/47277/1
Cédric Ollivier [Wed, 15 Nov 2017 17:51:05 +0000 (18:51 +0100)]
Updated from global requirements

Change-Id: I7a975d6cdeae1f7dbf982eca8f8de16fa1bc3d95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoadd resync testcase 55/46955/4
Periyasamy Palanisamy [Thu, 9 Nov 2017 15:20:22 +0000 (16:20 +0100)]
add resync testcase

It is an extention of testcase_11.py to check resync happens properly
between ODL and OVS when there is no changes from northbound

JIRA: SDNVPN-175

Change-Id: I63bd17f5e5fdab7d5ab90a2be2836e02e7dd54fa
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoAdapt bgp daemon to run properly for testcase3 49/46949/1
tomsou [Thu, 9 Nov 2017 14:53:54 +0000 (16:53 +0200)]
Adapt bgp daemon to run properly for testcase3

Since apex includes a new version of zrpcd compatible with Carbon
and Nitrogen [0], an adaptation is needed for bgp daemon enabling
and running within testcase3

Note that zrpcd run now as a process and not as a service

JIRA: SDNVPN-172

[0] https://jira.opnfv.org/projects/APEX/issues/APEX-508

Change-Id: Ia0ec4ab0f15ecf3d5c76c5fa541fe8338762ecaf
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoMerge "remove flavor at the end of the test"
Tim Irnich [Thu, 9 Nov 2017 08:06:14 +0000 (08:06 +0000)]
Merge "remove flavor at the end of the test"

6 years agoMerge "Fix instance boot when metadata exists"
Tim Irnich [Thu, 9 Nov 2017 08:05:15 +0000 (08:05 +0000)]
Merge "Fix instance boot when metadata exists"

6 years agoMerge "Adapt documentation wo be comply with Apex Integration Guide"
Tim Irnich [Thu, 9 Nov 2017 08:02:13 +0000 (08:02 +0000)]
Merge "Adapt documentation wo be comply with Apex Integration Guide"

6 years agoMerge "Add tetcase suite overview"
Tim Irnich [Thu, 9 Nov 2017 08:00:48 +0000 (08:00 +0000)]
Merge "Add tetcase suite overview"

6 years agoremove flavor at the end of the test 69/46869/3
Periyasamy Palanisamy [Wed, 8 Nov 2017 15:02:26 +0000 (16:02 +0100)]
remove flavor at the end of the test

JIRA: SDNVPN-122

Change-Id: I89f457e0d5a7c7c98bab223e722a5eb5a23387b6
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agouse glance_client for image cleanup 93/46793/5
Periyasamy Palanisamy [Tue, 7 Nov 2017 14:54:56 +0000 (15:54 +0100)]
use glance_client for image cleanup

Change-Id: Ia192a1b26c5f31b6d3465a060c3d8a3097e6ebd4
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoTest groups are deleted after ovs reconnection 19/38919/11
pperiyasamy [Tue, 8 Aug 2017 13:23:11 +0000 (13:23 +0000)]
Test groups are deleted after ovs reconnection

Create a new testcase (Testcase 11)

Testing procedure:
Create a Network with 2 VMs so that a group is added
to ovs. Disconnect ovs. Remove the Network and the VMs.
Connect ovs again. Check that the group is deleted from
it.

JIRA: SDNVPN-151

Change-Id: I4c6f5e16f837bbcc589cbbbf05896a2d17b9cd57
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoAdapt documentation wo be comply with Apex Integration Guide 61/46761/1
tomsou [Mon, 6 Nov 2017 15:20:17 +0000 (17:20 +0200)]
Adapt documentation wo be comply with Apex Integration Guide

Since, Apex installation instructions have been changed, the corresponding section
into docs/release/scenarios/os-odl-bgpvpn/scenario.description.rst is also updated
according https://wiki.opnfv.org/display/apex/Integration+Guide

JIRA: SDNVPN-178

Change-Id: Ie5b5fe677c73669804af71ed4da24dafd98cb5ee
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoAdd tetcase suite overview 85/41185/2
tomsou [Wed, 6 Sep 2017 16:44:20 +0000 (16:44 +0000)]
Add tetcase suite overview

Adds an overview of testcase suite, under:

docs/development/overview/index.rst

JIRA: SDNVPN-179

Change-Id: I003db4b22538b75d7ebf128ddc685b55decca104
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoFix instance boot when metadata exists 69/46169/2
tomsou [Tue, 24 Oct 2017 14:37:37 +0000 (17:37 +0300)]
Fix instance boot when metadata exists

The way that a instance is considered as UP is pretty
strict and returns ERROR in case of instances with userdata

This patch differentiates the instances that are supposed to
boot till login prompt and those with userdata parameter

JIRA: SDNVPN-177

Change-Id: Ic4755366df006669475c90cc0693ac802256f379
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agouse openstack api's instead of CLIs 03/45803/7
Periyasamy Palanisamy [Thu, 19 Oct 2017 12:34:19 +0000 (14:34 +0200)]
use openstack api's instead of CLIs

add two apis update_instance_quota_class and
update_nw_subnet_port_quota and make run_sdnvpn_tests.py to use these
APIs for setting quotas

JIRA:SDNVPN-188

Change-Id: I764bb6897e6c4c5abad4d252c1f3b4ccc742d52e
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoMerge "Remove argparse for adding argument -r"
Tim Irnich [Thu, 19 Oct 2017 20:52:56 +0000 (20:52 +0000)]
Merge "Remove argparse for adding argument -r"

6 years agoMerge "Inheritance from Feature class"
Tim Irnich [Thu, 19 Oct 2017 08:14:00 +0000 (08:14 +0000)]
Merge "Inheritance from Feature class"

6 years agoRemove argparse for adding argument -r 51/45751/2
Linda Wang [Thu, 19 Oct 2017 07:04:08 +0000 (07:04 +0000)]
Remove argparse for adding argument -r

Change-Id: Iaa2ddc3f655a2bf85785a99a519e0df78c298037
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Gather logs only if fuel or apex installer"
Tim Irnich [Wed, 18 Oct 2017 16:28:28 +0000 (16:28 +0000)]
Merge "Gather logs only if fuel or apex installer"

6 years agoAdding scenario documentation 17/45517/4
Tim Irnich [Wed, 18 Oct 2017 11:32:26 +0000 (13:32 +0200)]
Adding scenario documentation

Adding the scenario documentation, which was missing from previous commit.

JIRA: SDNVPN-185

Change-Id: I5b4f79f51ecd50a2bc514ca0e845679604716143
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
6 years agoGather logs only if fuel or apex installer 03/45503/1
Periyasamy Palanisamy [Wed, 18 Oct 2017 10:22:11 +0000 (12:22 +0200)]
Gather logs only if fuel or apex installer

Change-Id: I11988ad86a916d1d7251aacf951c6362fda961ba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoTitle adjusted 01/45501/1
Sofia Wallin [Wed, 18 Oct 2017 10:18:06 +0000 (12:18 +0200)]
Title adjusted

Removed Danube and simplified the title.

Change-Id: I0029b87f5382acecd3dd8e143139920ffd57c696
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
6 years agoInheritance from Feature class 91/45491/3
Jose Lausuch [Wed, 18 Oct 2017 09:16:19 +0000 (11:16 +0200)]
Inheritance from Feature class

Change-Id: I81aa9582452ca43a4eab32ba34a640043c89043e
Signed-off-by: Jose Lausuch <jalausuch@suse.com>
6 years agoMerge "Updating docs for Euphrates"
Tim Irnich [Tue, 17 Oct 2017 20:22:39 +0000 (20:22 +0000)]
Merge "Updating docs for Euphrates"

6 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>
6 years agoMerge "comment multiple subnet configuration"
Tim Irnich [Mon, 16 Oct 2017 15:27:04 +0000 (15:27 +0000)]
Merge "comment multiple subnet configuration"

6 years agoRevert "write sdnvpn test result into db" 33/45233/1
Tim Irnich [Mon, 16 Oct 2017 14:45:40 +0000 (14:45 +0000)]
Revert "write sdnvpn test result into db"

This reverts commit 2907946ee8931f749881e48e9601779be50b7e37.

Turned out the issue requires a different solution.

Change-Id: I6f7924a9ae7baf924b749b3fd3f2d54132c6e85b
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
6 years agowrite sdnvpn test result into db 17/45217/3
Periyasamy Palanisamy [Mon, 16 Oct 2017 12:40:48 +0000 (14:40 +0200)]
write sdnvpn test result into db

The details of the test results are not flushed into db which causes
test report showing empty data

JIRA: SDNVPN-183
JIRA: FUNCTEST-874

Change-Id: Ie539685990014149434d59e61490750ae318b3ba
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agocomment multiple subnet configuration 11/44911/2
Periyasamy Palanisamy [Thu, 12 Oct 2017 10:15:35 +0000 (12:15 +0200)]
comment multiple subnet configuration

* commenting multiple subnet configuration under a neutron network because ODL
doesn't have a support for it yet (netvirt bug: https://bugs.opendaylight.org/show_bug.cgi?id=9239)
* This has to be uncommented once the above bug is fixed.

Change-Id: I4c863fbdd951891035471f1a10cf18546f5218e0
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoSDNVPN-184: resources are not cleaned if tc fails 77/44777/7
Periyasamy Palanisamy [Wed, 11 Oct 2017 11:14:09 +0000 (13:14 +0200)]
SDNVPN-184: resources are not cleaned if tc fails

* moved the cleanup code inside the finally block in each test case

Change-Id: Ifc0fee58451923117c54040c716dad6827fbc7fa
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agomake CommonConfig as singleton 09/44909/1
Periyasamy Palanisamy [Thu, 12 Oct 2017 09:43:05 +0000 (11:43 +0200)]
make CommonConfig as singleton

* It is not necessary to instantiate CommonConfig object from each
testcase and can be made as singleton

Change-Id: I99d995486fbd88ea8a77ec7bd9e41a55047ebaca
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
6 years agoFix logging 49/43449/1
tomsou [Thu, 28 Sep 2017 11:32:57 +0000 (14:32 +0300)]
Fix logging

Change-Id: Ida4393322953db792a5fe469b42f3106e4b1ca5e
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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"

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

6 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>
6 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>
6 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."

6 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>
6 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>
6 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>
6 years agoMerge "Add test case 9"
Tim Irnich [Mon, 24 Jul 2017 15:41:15 +0000 (15:41 +0000)]
Merge "Add test case 9"

6 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>
6 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>
6 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>
6 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>
6 years agoMerge "Update release notes"
Tim Irnich [Wed, 12 Jul 2017 14:54:43 +0000 (14:54 +0000)]
Merge "Update release notes"

6 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>
6 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>
6 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>
6 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"