summaryrefslogtreecommitdiffstats
path: root/sdnvpn/test/functest/config.yaml
AgeCommit message (Collapse)AuthorFilesLines
2018-12-11Using heat orchestrator for sdnvpn - test case 8nikoskarandreas1-0/+24
Heat orchestrator and the use of Heat Orchestrator Templates is introduced in sdnvpn test cases. The deployment of the nodes and networks under test is performed as a stack with the use of the heat api and the use of the other apis is kept to as little as possible. The scenarios that are executed are the same as in the orginal test cases. This is the implementation of sdnvpn test case 8: Test floating IP and router assoc coexistence JIRA: SDNVPN-219 Change-Id: I8a61d40e9decf4297b8714c93ce77ba05f033b66 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-11-01Using heat orchestrator for sdnvpn - test case 2nikoskarandreas1-1/+38
Heat orchestrator and the use of Heat Orchestrator Template is introduced in sdnvpn test cases. The deployment of the nodes and networks under test is performed as a stack with the use of the openstack api and the use of the other apis is kept to as little as possible. The scenarios that are executed are the same as in the orginal test cases. This is the implementation of sdnvpn test case 2: Tenant separation JIRA: SDNVPN-219 Change-Id: I20f5ed8f7d250873f0223c1cd00c6c05d00fbfa8 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-10-22Using heat orchestrator for sdnvpn - test case 4nikoskarandreas1-0/+26
Heat orchestrator and the use of Heat Orchestrator Templates is introduced in sdnvpn test cases. The deployment of the nodes and networks under test is performed as a stack with the use of the openstack api and the use of the other apis is kept to as little as possible. The scenarios that are executed are the same as in the orginal test cases. This is the implementation of sdnvpn test case 4: VPN provides connectivity between subnets using router association JIRA: SDNVPN-219 Change-Id: If3783dd25577d22c18be5f088ab6657c38531d73 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-10-18Merge "Add flake8 and yamllint tox environments and fix tox errors"Nikos Karandreas1-7/+12
2018-10-15Add flake8 and yamllint tox environments and fix tox errorsStamatis Katsaounis1-7/+12
JIRA: SDNVPN-231 This patch adds flake8 and yamllint tox environments. Furthermore, it fixes tox errors and applies general tox improvements. Change-Id: Id180695ef034562efb236932e6f783b0e91157c2 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-10-15Using heat orchestrator for sdnvpn - test case 1nikoskarandreas1-0/+25
Heat orchestrator and the use of Heat Orchestrator Templates is introduced in sdnvpn test cases. The deployment of the nodes and networks under test is performed as a stack with the use of the heat api and the use of the other apis is kept to as little as possible. The scenarios that are executed are the same as in the orginal test cases. This is the implementation of sdnvpn test case 1: VPN provides connectivity between subnets and also base functions for heat api access and some utilities. JIRA: SDNVPN-219 Change-Id: Ic284722e600652c9058da96d349dff9398bcacf1 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-10-02Remove tempest networking bgpvpn testcasesStamatis Katsaounis1-13/+0
JIRA: SDNVPN-230 This patch removes networking bgpvpn testcases from sdnvpn project. The testcases from gambia release and up until now they run by functest project inside smoke container. There is no reason to run them inside features functest container any more. Change-Id: Iae031c17d15822358bfe21448c0d16fa14bc35de Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-09-21Fix run_tempest testcaseStamatis Katsaounis1-0/+7
JIRA: SDNVPN-221 This patch makes run_tempest testcase functional again. Due to changes to functest codebase this tescase was failing due to an exception when trying to get verifier id, because no verifier is created from functest, as it used to happen before. Change-Id: Ia31e913b81672215f607055765cac368b8ad5412 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2018-06-26Route exchange test with testcase3tomsou1-2/+7
This review brings up quagga VM installed with 6WIND quagga, configures with external ip prefix and making sure that it gets exchanged with ODL peer. Change-Id: I9ba677e74f24258f7cc59db70b013fbdbbec917a Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-06-13Create and pass references of flavor and image to tempestnikoskarandreas1-0/+1
When invoked from SDNVPN, Tempest scenario functest test cases try to use flavor and image references from the tempest.conf file which are currently empty. This patch uses the default flavor that is created by the test suite and the creates an image using the availabe cirros image, which is deleted at the end. JIRA: SDNVPN-209 Change-Id: I6a6fd636fec2c0fa7d35981ca51d59f06a4d9d69 Signed-off-by: nikoskarandreas <nick@intracom-telecom.com>
2018-06-13Fix so that testcases run in order.dimitris.tsiolakis1-193/+204
A new key "order" was added in config.py file to prevent the testcases executed in random order. JIRA: SDNVPN-216 Change-Id: I4ee72cb98351e35bf50ecf9c6dd1506a59e34f6e Signed-off-by: dimitris.tsiolakis <dmts@intracom-telecom.com>
2018-02-27Update the way of running tempestLinda Wang1-1/+1
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>
2018-01-09Intra-Data Center ECMP testcasePeriyasamy Palanisamy1-0/+29
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>
2017-11-10add resync testcasePeriyasamy Palanisamy1-0/+12
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>
2017-11-08Test groups are deleted after ovs reconnectionpperiyasamy1-0/+13
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>
2017-10-19Remove argparse for adding argument -rLinda Wang1-3/+1
Change-Id: Iaa2ddc3f655a2bf85785a99a519e0df78c298037 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-09-14Fix testcase_10 module pathtomsou1-1/+1
Update config file with the full path for testcase 10 Change-Id: I81ec9eaecc2c36f07f4608cdd65db6f64b43c4f9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-09-04Adapt SDNVPN Functest test according to new frameworkjose.lausuch1-8/+0
- 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>
2017-08-28Merge "Add/Remove testcase"Tim Irnich1-0/+16
2017-08-23Fix import module functionality for each testcasetomsou1-8/+8
Fix the path, from where import_module runs each testcase JIRA: SDNVPN-176 Change-Id: Ibc6880b4865d3ac0c276d1aa81a08e90af3d809e Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-08-02Add/Remove testcasepanageo21-0/+16
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>
2017-07-18Add test case 9panageo21-0/+5
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>
2017-03-17Create flavor for Quagga ubuntu VMtomsou1-1/+0
- 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>
2017-03-16Fix most end-to-end issues with testcase 3 and reenable itRomanos Skiadas1-1/+1
- 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>
2017-03-02Implement quagga peeringRomanos Skiadas1-1/+21
- 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>
2017-02-23Implement testcase 3: Quagga-ODL integrationtomsou1-1/+1
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>
2017-02-17Enable floating IP and router assoc testRomanos Skiadas1-1/+1
Change-Id: I2bc538fd055a14c5295f955ed700674cf60ad452 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-01-20Test for router assoc and floating IPRomanos Skiadas1-0/+20
JIRA: SDNVPN-90 Change-Id: I81a38c3b707dd836512c9afbab93808cb6b91adc Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-16Modify tests to require 100% subtest success, fix tempestRomanos Skiadas1-6/+0
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>
2016-12-15Make sdnvpn a packageRomanos Skiadas1-0/+122
- 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>