Tim Irnich [Wed, 22 Mar 2017 13:14:25 +0000 (13:14 +0000)]
Merge "Fix broken call to re.search()" into stable/danube
tomsou [Fri, 17 Mar 2017 09:26:06 +0000 (09:26 +0000)]
Create flavor for Quagga ubuntu VM
- Implement a new function in lib/utils ensures
(gets or creates) a new flavor existence
- Use this new function within Testcase3, in order
to create a flavor big enough to start ubuntu with
JIRA: SDNVPN-120
Change-Id: I5c7d9c855f083b96bfd056bb5d935baa851420c9
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit
f368948e25f78c64c328662b52d6b139b02826b4)
Romanos Skiadas [Fri, 17 Mar 2017 16:01:14 +0000 (18:01 +0200)]
Fix broken call to re.search()
Change-Id: I3d49c683c81e136967432acd1d28b6d305cfe90f
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit
28c5fc2391e133e4b76f1bed8675bc9610ebdf9b)
Romanos Skiadas [Tue, 14 Mar 2017 08:11:54 +0000 (10:11 +0200)]
Fix most end-to-end issues with testcase 3 and reenable it
- Make the test work end-to-end on Fuel
- Use the instance log to verify quagga started
- Don't attempt to check for peering, as that is for
a future release
- Use the external IP of the controller for peering
- Fix not getting the output of OpenDaylight commands
Change-Id: Ia7bb533ab65e0fca6b7f48bb64133f6d8f3ff8ae
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit
6674049b09d02fe0dc7e11e007e710643cdd49ca)
Nikolas Hermanns [Thu, 16 Mar 2017 12:28:30 +0000 (12:28 +0000)]
Merge "Adding Labels" into stable/danube
Nikolas Hermanns [Thu, 16 Mar 2017 12:28:06 +0000 (12:28 +0000)]
Merge "Set unlimited instance quotas to fix CI" into stable/danube
tomsou [Wed, 15 Mar 2017 08:41:30 +0000 (08:41 +0000)]
Set unlimited instance quotas to fix CI
JIRA: SDNVPN-115
Change-Id: I4e24800e897702b8b5aa5ef0227925d66d552f02
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit
38e72ad1c9e4fbf4421e6314ab9a5468a5b29d34)
ShubhamRathi [Wed, 8 Mar 2017 09:23:44 +0000 (14:53 +0530)]
Adding Labels
Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst
Change-Id: Iaba02fccac1cbd164a44a7fef913572b1819b00c
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit
611651c82af07246775ec4aedb3ffeac74ea1ea7)
tomsou [Fri, 3 Feb 2017 13:18:06 +0000 (13:18 +0000)]
Implement a get VM IP function in utils to be used within test cases
Change-Id: Iaedbfb2fc626eb7d88badee2530593b43c0d1152
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit
7efb216ca8357533dd040cccc49cb5effec42615)
Nikolas Hermanns [Tue, 14 Mar 2017 08:31:31 +0000 (08:31 +0000)]
Merge "Fix typo in quagga script and call to glance" into stable/danube
Nikolas Hermanns [Tue, 14 Mar 2017 08:31:26 +0000 (08:31 +0000)]
Merge "Fix quagga peering by working around the NAT" into stable/danube
Romanos Skiadas [Mon, 13 Mar 2017 13:08:54 +0000 (15:08 +0200)]
Fix quagga peering by working around the NAT
Quagga peering doesn't seem to work over the NATted openstack external
network. To work around this, directly patch the quagga instance to the
external network and give it a fixed IP in that network. Then, all the
peering traffic goes over that patched interface.
Change-Id: I8d9d8fef4e86839c821f83e564d5c49cc15e43ae
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit
1ad4cd4d35bcd0d4d9898650eb0452b184b55f77)
Romanos Skiadas [Fri, 10 Mar 2017 08:39:51 +0000 (10:39 +0200)]
Fix typo in quagga script and call to glance
Change-Id: I80ce2f3b442bc7862486368822c8fe2cd13a0f1b
JIRA: SDNVPN-114
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit
7b1e45de5574cd35013910e746756d0718a45ceb)
Romanos Skiadas [Wed, 8 Mar 2017 09:10:49 +0000 (11:10 +0200)]
Fix bgpd.conf path and duplication in tc_3
Change-Id: I78e521fddd8a156d5c9597d6307ac9b6f2571f5c
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
(cherry picked from commit
4c9d7aa555b450c5c3cb88debed7f2f62f884346)
tomsou [Tue, 7 Mar 2017 09:19:08 +0000 (09:19 +0000)]
Fix functest failing in apex case- testcase3
- Check the INSTALLER_TYPE environment variable
- Differentiate fuel from apex case
JIRA: SDNVPN-101
Change-Id: I10fa26f5c0b7f95601b29db86e756a20c9e921ec
Signed-off-by: tomsou <soth@intracom-telecom.com>
Nikolas Hermanns [Mon, 6 Mar 2017 11:59:58 +0000 (11:59 +0000)]
Merge "Set unlimited network and subnet quotas to fix CI"
Nikolas Hermanns [Mon, 6 Mar 2017 11:59:08 +0000 (11:59 +0000)]
Merge "Implement quagga peering"
Romanos Skiadas [Thu, 2 Mar 2017 14:58:28 +0000 (16:58 +0200)]
Set unlimited network and subnet quotas to fix CI
Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1
JIRA: SDNVPN-100
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Romanos Skiadas [Thu, 8 Sep 2016 13:23:40 +0000 (16:23 +0300)]
Implement quagga peering
- Create an openstack instance
- Assign it a floating IP
- Execute a quagga bootstrap script using cloud init
- Tell ODL to peer with the instance
- Start an instance in a VPN
- make sure the route was exchanged between the peered quagga and ODL
Change-Id: I73bcaec5425df2b953c2bceaca7d4f09ff28f3d0
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Romanos Skiadas [Thu, 23 Feb 2017 16:33:02 +0000 (18:33 +0200)]
Update release notes for Danube
JIRA: SDNVPN-96
Change-Id: I0bb0d7f065bdd0f356b995f24374eb32f77344d1
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
tomsou [Thu, 16 Feb 2017 14:48:09 +0000 (14:48 +0000)]
Implement testcase 3: Quagga-ODL integration
Testcase 3, which verifies OpenDaylight can start and
communicate with zrpcd/Quagga
- Verify that zrpdc service is running
- Issue bgp speaker start to OpenDaylight
- Verify that zrpcd has started bgpd
JIRA: SDNVPN-98
Change-Id: Ia0c497292a724161259c669425229d189a317ba2
Signed-off-by: tomsou <soth@intracom-telecom.com>
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Romanos Skiadas [Tue, 21 Feb 2017 08:19:08 +0000 (10:19 +0200)]
TC 8:Fix argument passed to create_glance_image
Change-Id: Ibed4febf84f4384ffcca951bd95d5284add454ea
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
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>
Jose Lausuch [Thu, 16 Feb 2017 08:33:18 +0000 (08:33 +0000)]
Merge "Fix incompatibility with new tempest functest API"
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>
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>
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>
Nikolas Hermanns [Tue, 31 Jan 2017 14:45:54 +0000 (14:45 +0000)]
Merge "Updates ODL Pipeline scripts for CSIT"
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>
Nikolas Hermanns [Wed, 25 Jan 2017 16:10:19 +0000 (16:10 +0000)]
Merge "Test for router assoc and floating IP"
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>
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>
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>
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>
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>
Jose Lausuch [Mon, 19 Dec 2016 15:06:57 +0000 (15:06 +0000)]
Merge "Fix table formatting in testcase 7"
Jose Lausuch [Mon, 19 Dec 2016 15:06:23 +0000 (15:06 +0000)]
Merge "Modify tests to require 100% subtest success, fix tempest"
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>
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>
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>
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>
Nikolas Hermanns [Fri, 16 Dec 2016 11:55:57 +0000 (11:55 +0000)]
Merge "Make sdnvpn a package"
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>
Nikolas Hermanns [Wed, 14 Dec 2016 12:25:36 +0000 (12:25 +0000)]
Merge "Execute script in lib folder/Use vjumb as Gateway"
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>
Nikolas Hermanns [Wed, 14 Dec 2016 06:36:32 +0000 (06:36 +0000)]
Merge "Testcase for router/FloatingIP & net assoc mutual exclusivity"
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"
Jose Lausuch [Tue, 13 Dec 2016 18:11:08 +0000 (18:11 +0000)]
Merge "Encapsulate some functionality in Results class"
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>
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>
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>
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>
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>
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>
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>
Nikolas Hermanns [Tue, 13 Dec 2016 14:07:03 +0000 (14:07 +0000)]
Merge "adding common/config"
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>
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>
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>
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>
Nikolas Hermanns [Tue, 13 Dec 2016 10:26:11 +0000 (10:26 +0000)]
Merge "adding odl-pipeline"
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>
Jose Lausuch [Wed, 7 Dec 2016 15:22:57 +0000 (15:22 +0000)]
Merge "Move logging instance creation to create_instance"
Nikolas Hermanns [Mon, 5 Dec 2016 10:05:07 +0000 (10:05 +0000)]
Merge "Modified testcase_2 according to the Limitations of Boron"
Nikolas Hermanns [Mon, 5 Dec 2016 09:22:35 +0000 (09:22 +0000)]
Merge "Enable basic router assoc test (testcase 4)"
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"
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>
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>
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>
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>
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>
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>
Tim Irnich [Mon, 14 Nov 2016 16:45:26 +0000 (16:45 +0000)]
Merge "Fix router assoc in Boron"
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>
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>
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>
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>
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>
Tim Irnich [Wed, 21 Sep 2016 10:37:58 +0000 (10:37 +0000)]
Merge "Final edits for scenario description"
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>
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>
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>
Jose Lausuch [Fri, 16 Sep 2016 08:34:48 +0000 (08:34 +0000)]
Merge "update release notes cause of exclude of rally"
Jose Lausuch [Thu, 15 Sep 2016 13:04:00 +0000 (13:04 +0000)]
Merge "Refactoring"
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>
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>
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>
Nikolas Hermanns [Mon, 12 Sep 2016 08:30:54 +0000 (08:30 +0000)]
Merge "Updating release notes for Colorado"
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tim Irnich [Fri, 12 Aug 2016 11:56:07 +0000 (11:56 +0000)]
Merge "Applying the userguide template for the SDN VPN userguide documentation."
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>
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>