sdnvpn.git
7 years agoEnable floating IP and router assoc test 03/28903/1
Romanos Skiadas [Fri, 17 Feb 2017 07:14:54 +0000 (09:14 +0200)]
Enable floating IP and router assoc test

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

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

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

There were issues with some of the commands that need to be root.  Along
with logging into the undercloud when the tripleo_inspector script is
ran as a non root user.

Change-Id: Ie29b674bd0770759b3bcc22323b424fcc270eef6
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoFix incompatibility with new tempest functest API 51/27851/5
Romanos Skiadas [Wed, 1 Feb 2017 12:41:06 +0000 (12:41 +0000)]
Fix incompatibility with new tempest functest API

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

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

Changes Include:
 - Change to TripleOInspector which only introspect a
   current Apex deployment and dump yaml config to be bundled with
   snapshots.
 - Add TripleOHelper which consists of all tripleO helper functions.
   Many this are done to virsh so the idea is to have at.
   Some point in time a libvirtHelper, or use another libvirt
   python lib. Thatsway it is a class so that we can inherit
   later on.
 - New argument for passing the SSH private key to use to connect to
   nodes is added to the service utils.
 - Some general clean up and consolidation of logic

JIRA: APEX-363

Change-Id: I792db0fac3f4e81969fe85c05fc298fe5af02537
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoMerge "Test for router assoc and floating IP"
Nikolas Hermanns [Wed, 25 Jan 2017 16:10:19 +0000 (16:10 +0000)]
Merge "Test for router assoc and floating IP"

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

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

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

If we specify only the module 'sdnvpn', it
won't install the sub-modules 'lib' and 'functest'.
With find_packages there is no need to specify
the package names.

Change-Id: If7606a2cedbd6f7b8866747e748eadaa8b9bd5e7
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoBug fixes after the Functest refactor 83/26383/5
jose.lausuch [Wed, 21 Dec 2016 15:25:53 +0000 (16:25 +0100)]
Bug fixes after the Functest refactor

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

JIRA: FUNCTEST-673

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

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

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

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

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

Not enough '-'

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

This is required to better align with functest, since that will handle overall
success/failure status. Also if a subestest failed, there were expected failures
that could seem like they pass making the overall success % look the same, which
would make the test look fine, even thought it failed.

Some tests check things that are known not to work. Disable these until they are
fixed upstream.

Also remove the success_criteria field from the config. Fail the test if any
subtest fails. This has the added benefit that it fixes the tempest suite, which
was still trying to read the value of `succes_criteria` that had been renamed to
`success_criteria`.

JIRA: SDNVPN-89
Change-Id: Iba5e5cc0db6c371f29a4cbba66ca16c4a1838e12
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "Make sdnvpn a package"
Nikolas Hermanns [Fri, 16 Dec 2016 11:55:57 +0000 (11:55 +0000)]
Merge "Make sdnvpn a package"

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

- Clean up the test/functest folder and move things to lib/ & artifacts/
- Add a new top level folder for the sdnvpn python code

Change-Id: I5fdc7fa5475fb800f488a17d3481158c9c4f84e1
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoMerge "Execute script in lib folder/Use vjumb as Gateway"
Nikolas Hermanns [Wed, 14 Dec 2016 12:25:36 +0000 (12:25 +0000)]
Merge "Execute script in lib folder/Use vjumb as Gateway"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Router assoc works now, enable it in the CI.

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

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

JIRA: SDNVPN-83

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

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

This patch changes the env variable
repos_dir to REPOS_DIR

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

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

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

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

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

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

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

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

Change-Id: Ib7b9dfab7d2e9f50d5f352d3eadba4d4717ee750
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoFix router assoc in Boron 29/23929/1
Romanos Skiadas [Wed, 2 Nov 2016 12:11:41 +0000 (14:11 +0200)]
Fix router assoc in Boron

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I47108a141390499570677253a5cdad78ebbe9240
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMerge "Updating release notes for Colorado"
Nikolas Hermanns [Mon, 12 Sep 2016 08:30:54 +0000 (08:30 +0000)]
Merge "Updating release notes for Colorado"

7 years agoUse get_functest_config where appropriate 63/20763/2
Romanos Skiadas [Fri, 9 Sep 2016 11:31:47 +0000 (14:31 +0300)]
Use get_functest_config where appropriate

The latest functest enforces using `get_parameter_from_yaml` to only
get test specific parameters from the config file.
`get_functest_config` is given to get functest configuration parameters.

Change-Id: Icb6ec2ed4a9d6c278bf1c403d4d0c4f4b21e51b7
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoUpdating release notes for Colorado 57/20757/2
Nikolas Hermanns [Fri, 9 Sep 2016 10:51:53 +0000 (12:51 +0200)]
Updating release notes for Colorado

Change-Id: Ia4abb1e64ef8643e81953b00ae7e3d5a87640cf4
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoRefactor some common methods into utils 39/20739/3
Romanos Skiadas [Wed, 7 Sep 2016 12:35:52 +0000 (12:35 +0000)]
Refactor some common methods into utils

- generete_ping_userdata(): This method was exactly the same in two
  tests
- create_instance(): The various implementations of this method had
  almost the same signature, but not quite. This was fixed by adding
  extra arguments as needed. Also a global variable was used in the
  function, which was converted into a parameter.
- create_network(): The three implementations of create_network had
  three different signatures and returned different variables. They
  were all unified in a single create_network class and the calls to
  create_network were adjusted accordingly.

Revision 1: Fix flake8 violations
Revision 2: Rename logger in utils

Change-Id: Ib6cfe798dc561a69eb50c901e3aa71c19d465821
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
7 years agoAdapt some calls to functest_utils that don't require logger 65/20365/1
jose.lausuch [Mon, 5 Sep 2016 15:37:35 +0000 (17:37 +0200)]
Adapt some calls to functest_utils that don't require logger

Due to a small refactor of some functions in Functest,
the calls to those are outdated and fail.

Change-Id: I1fdce5d343fc55ecd1b25a837608c7172047f22e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd Router Association testcase 39/20139/6
George Paraskevopoulos [Thu, 1 Sep 2016 13:09:40 +0000 (16:09 +0300)]
Add Router Association testcase

JIRA: SDNVPN-49

This functional test is a variant of testcase 1. Instead of associating
Network 1 and Network 2 to the BGP VPN, we connect Network 1 to a
router and associate that router and Network 2 to the VPN.

The testcase is disabled for now.

Test setup procedure:
- Set up VM1 and VM2 on Node1 and VM3 on Node2, all having ports in the
  same Neutron Network N1 and having 10.10.10/24 addresses in subnet
  SN1. N1/SN1 are connected to router R1.
- Set up VM4 on Node1 and VM5 on Node2, both having ports in Neutron
  Network N2 and having 10.10.11/24 addresses in subnet SN2.

Test execution:
1. Create VPN1 with eRT<>iRT and associate R1 to it
 - Ping from VM1 to VM2 should work
 - Ping from VM1 to VM3 should work
- Ping from VM1 to VM4 should not work
2. Associate SN2 to VPN1
 - Ping from VM4 to VM5 should work
 - Ping from VM1 to VM4 should not work
 - Ping from VM1 to VM5 should not work
3. Change VPN1 so that iRT=eRT
 - Ping from VM1 to VM4 should work
 - Ping from VM1 to VM5 should work

Jira task in SDNVPN: https://jira.opnfv.org/browse/SDNVPN-49

Change-Id: I0e805b042eb645e923f1639179c4c2c37be17835
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoSmall final improvements in userguide. 39/19339/1
Tim Irnich [Mon, 22 Aug 2016 18:12:52 +0000 (20:12 +0200)]
Small final improvements in userguide.

Change-Id: I065d96cf9692155c336476ec3ad4f4bc92287740
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years agoAdd more information how to manually configure 81/19181/1
Nikolas Hermanns [Mon, 22 Aug 2016 10:29:48 +0000 (12:29 +0200)]
Add more information how to manually configure

Change-Id: I143346d5268ad53eafcb8d2f5420173440f4c2a3
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoadding example to the userguide 57/19057/1
Nikolas Hermanns [Fri, 19 Aug 2016 13:57:05 +0000 (15:57 +0200)]
adding example to the userguide

Change-Id: I501845e5200f6df638842dff93ee12346a75ec03
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoMoving documentation content into new template 57/18657/4
Tim Irnich [Mon, 15 Aug 2016 06:56:08 +0000 (08:56 +0200)]
Moving documentation content into new template

JIRA: DOCS-103, DOCS-134, SDNVPN-40

Moving documentation content into new feature description and user guide template.

Change-Id: I2c1549b44ef43e28961f1a0d2885adc0dd161910
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years agoMerge "Applying the userguide template for the SDN VPN userguide documentation."
Tim Irnich [Fri, 12 Aug 2016 11:56:07 +0000 (11:56 +0000)]
Merge "Applying the userguide template for the SDN VPN userguide documentation."

7 years agoApplying the userguide template for the SDN VPN userguide documentation. 85/18385/4
ChristopherPrice [Thu, 11 Aug 2016 06:25:14 +0000 (08:25 +0200)]
Applying the userguide template for the SDN VPN userguide documentation.

Added a draft of the scenario description template for consideration and review.
This is a draft migrating the existing userguide text into the proposed
feature project userguide format for Colorado.  Please review and comment,
correct and merge as needed.  (this is the prototype)

Change-Id: Ia82a0c3ba0f654efc2892aac3a3b2d217ed2ad27
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
7 years ago[DOC] Automatic Installation 67/18167/5
Nikolas Hermanns [Mon, 8 Aug 2016 16:17:55 +0000 (18:17 +0200)]
[DOC] Automatic Installation

Change-Id: I067046949d9cd4a764c279c053a2f54b30645fda
Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
7 years agoAdding New Comitters 63/18163/1
Aric Gardner [Mon, 8 Aug 2016 16:15:27 +0000 (12:15 -0400)]
Adding New Comitters

Change-Id: Ia237ab7347c789761e36bec1cf28372f8fbcefbc
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
7 years agoColorado documentation: scenario install procedure 81/17981/10
Tim Irnich [Wed, 3 Aug 2016 19:08:40 +0000 (21:08 +0200)]
Colorado documentation: scenario install procedure

JIRA: DOCS-134

Adding structure of docs for installation
procedure for virtual deployment.

Introducing a scenario-specific directory level.

Change-Id: I01de7d3b876ba9d5f7b71b91c857842fd3badeef
signed-off-by: Tim Irnich <tim.irnich@ericsson.com>

7 years agoReturn -1 if the tests fail 01/17601/2
jose.lausuch [Wed, 27 Jul 2016 08:29:07 +0000 (10:29 +0200)]
Return -1 if the tests fail

Change-Id: I19c3e8b979376a38b8a5838b7a41a3915f90b57f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoRemove logger from openstack_utils function calls 55/17455/1
jose.lausuch [Sat, 23 Jul 2016 09:44:49 +0000 (11:44 +0200)]
Remove logger from openstack_utils function calls

Change-Id: Iebaa6f15b16f91e451662e13e0542f863f93da52
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoReport overall status of the test results to DB 31/17231/2
jose.lausuch [Wed, 20 Jul 2016 14:22:11 +0000 (16:22 +0200)]
Report overall status of the test results to DB

The reporting Dashboard looks for the test case called
'bgpvpn'. Now, we report the overall status of the tests
into that test case and also each one separatelly.

http://testresults.opnfv.org/test/api/v1/results?case=bgpvpn

Also, fix the 3 flake8 violations

Change-Id: I5b0d816894bf16d3d11085437f1556b5d0446d81
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoCreate a blacklist of Tempest test cases 77/16977/1
jose.lausuch [Fri, 15 Jul 2016 12:02:52 +0000 (14:02 +0200)]
Create a blacklist of Tempest test cases

JIRA: FUNCTEST-369

Change-Id: Ib8bd3dca7c5653e282f7c58023db6bb743db9c6d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd support to push the results to the DB 07/16907/8
jose.lausuch [Thu, 14 Jul 2016 11:40:35 +0000 (13:40 +0200)]
Add support to push the results to the DB

JIRA: SDNVPN-19

The test scripts now return a json object with
the following format:

{"status": criteria, "details": results}

where
criteria: "PASS"|"FAILED" (result of the test case)
details: free output that will be printed to the console
and pushed to the DB

Change-Id: I9e5e0c3b6cb5f4b060929b71a06f6e4f95f814fb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Fix testcase2"
Tim Irnich [Thu, 14 Jul 2016 09:14:31 +0000 (09:14 +0000)]
Merge "Fix testcase2"

7 years agoAdd tempest wrapper to enable the bgpvpn plugin for tempest 95/16895/1
jose.lausuch [Thu, 14 Jul 2016 08:58:33 +0000 (10:58 +0200)]
Add tempest wrapper to enable the bgpvpn plugin for tempest

The tempest.conf is copied to bgpvpn_tempest.conf to be updated
with the needed parameters, in this case, only adding
bgpvpn=True.
The way to execute this module only is with the option -C.
For example:

run_tempest.sh -C bgpvpn_tempest.conf -t
  -N -- networking_bgpvpn_tempest

Change-Id: I465961bc619f59355be964eb94f916cb877b2273
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix testcase2 71/16771/3
jose.lausuch [Tue, 12 Jul 2016 16:25:30 +0000 (18:25 +0200)]
Fix testcase2

JIRA: SDNVPN-31

It seems due to the merge conflict, some of the lines got
reordered and the script failed.

Also, added the private key for the instances.

Change-Id: I58c3dfe5ba2d43e0749ca5cd08b3a87221a68b66
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoBugfix run_tests fails to run python scripts 63/16763/2
jose.lausuch [Tue, 12 Jul 2016 15:28:31 +0000 (17:28 +0200)]
Bugfix run_tests fails to run python scripts

Change-Id: Ibd97de79eb8d824120eb2a1b80017ff1f9f99f14
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdding test case 2 69/16769/1
Tim Irnich [Fri, 8 Jul 2016 15:59:03 +0000 (17:59 +0200)]
Adding test case 2

JIRA: SDNVPN-31

Test case 2 checks tenant IP address space separation.

Now done with this change.

Change-Id: I07ef04de4195b2892c837ac87e53146d133755c6

Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
7 years agoAdd config for testcase 2 35/16635/2
jose.lausuch [Sat, 9 Jul 2016 08:45:47 +0000 (10:45 +0200)]
Add config for testcase 2

JIRA:SDNVPN-31

Change-Id: I0e15afa737e4cc65fb6235ed4400ea6b1523a327
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoAdd testcase1 implementation 33/16333/11
jose.lausuch [Mon, 4 Jul 2016 16:06:59 +0000 (18:06 +0200)]
Add testcase1 implementation

JIRA: SDNVPN-30

Change-Id: I4d31e9c4dc683c031d6a3d44e0d2bf4d80332281
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdded directory structure for the tests and script templates. 39/16039/3
jose.lausuch [Tue, 28 Jun 2016 11:35:21 +0000 (13:35 +0200)]
Added directory structure for the tests and script templates.

JIRA: SDNVPN-19

Change-Id: I358efcb377211182a93b2db43f248ca82c14fb36
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRemoving whitespace to remove build error messages when pulling sdnvpn docs. 05/14305/1
ChristopherPrice [Wed, 18 May 2016 11:24:37 +0000 (13:24 +0200)]
Removing whitespace to remove build error messages when pulling sdnvpn docs.

Change-Id: Ie9728bafed45dbff444102c85ba10501130521ce
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
8 years agoMerge "Reverify"
timirnich [Wed, 27 Apr 2016 16:46:41 +0000 (16:46 +0000)]
Merge "Reverify"

8 years agoReverify 27/10827/5
timirnich [Thu, 25 Feb 2016 14:07:54 +0000 (06:07 -0800)]
Reverify

Adding release notes for Brahmaputra.3.0.

Change-Id: I262f4e0ab7ec785088601b48557555e07e03f870

8 years agoSmall update to configuration guide. 05/12705/1
timirnich [Wed, 27 Apr 2016 08:24:13 +0000 (01:24 -0700)]
Small update to configuration guide.

Change-Id: Ibb7efe2c6a476e205f806e99afdfd041f3740f36

8 years agoChanging filenames to match convention and update index.rst. 61/10761/5
timirnich [Thu, 25 Feb 2016 10:08:07 +0000 (02:08 -0800)]
Changing filenames to match convention and update index.rst.

Some additional content for feature config guide.

Fixing a typo in userguide.

Change-Id: I1f3056535052e74ec893b9f3264a154a145c2350

8 years agoAdding link to BGPVPN user guide. 55/10755/2
timirnich [Thu, 25 Feb 2016 09:06:26 +0000 (01:06 -0800)]
Adding link to BGPVPN user guide.

Change-Id: Id0d67c804d721baf41828b5aff01990b729f3406

8 years agoAdding SDNVPN release documentation. 79/10579/3
ChristopherPrice [Wed, 24 Feb 2016 11:43:52 +0000 (12:43 +0100)]
Adding SDNVPN release documentation.

Change-Id: Iff53422b5e609a21e7165946d776e66fdfdbe431
Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>