summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/config.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-05[Bug Fix] Use correct image for the Quagga instanceDimitrios Markou1-1/+1
In testcase_3 the Quagga image is downloaded from the opnfv.artifacts repository to the /home/opnfv/functest/data directory. But the testcase_3 after that tries to find the image in the /home/opnfv/functest/images directory. This results in using a wrong image Jira: SDNVPN-213 Change-Id: I99539fc9a7a2d016a97ed51fca0cde81f82b3911 Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-05-31Fix the logging to be compatible with functestPeriyasamy Palanisamy1-2/+2
Change-Id: I62b432497175e79bcf2cd241be54d8a7f5db2799 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-04-19Make sdnvpn logging properPeriyasamy Palanisamy1-2/+2
* 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>
2018-03-01update python modules shebang line for python intrepreter directivePeriyasamy Palanisamy1-1/+1
Change-Id: I1929a5b86a89a96fbf5c21b3bc419c9237034aba Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-02-22Switch from CONST to CONFCédric Ollivier1-6/+9
CONST is not the right Functest object to get config data. Change-Id: I764a0a2a24447c941d1e726f3116593b29dd1c1e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-15fix for sdnvpn CI test failurePeriyasamy Palanisamy1-1/+3
Change-Id: Ie55ccbe68f57a9bb03efc8b6eebf23a0018a0bca Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
2018-01-18Set unlimited router quotastomsou1-0/+1
Update router quotas to fix bgpvpn scenario in CIq JIRA:SDNVPN-208 Change-Id: I25353229d119459c8e961b0f3f6264f715533d13 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-10-25use openstack api's instead of CLIsPeriyasamy Palanisamy1-0/+4
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>
2017-10-12make CommonConfig as singletonPeriyasamy Palanisamy1-27/+41
* 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>
2017-06-30Fix the wrong path of sdnvpnLinda Wang1-9/+7
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>
2017-05-22Fix the wrong image path for base imagehelenyao1-1/+1
The images are put under new directory while the code is still using old path Change-Id: I6dfa59ffe6bde316f155560449979bd10354b43c Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-19Merge "Put the ubuntu images in new directory"Jose Lausuch1-1/+1
2017-05-17Update logger via logging.getLogger()Linda Wang1-2/+2
1. The module functest.utils.functest_logger has been deleted and logger has been reconfigured in functest [1]. 2. Update all related modules to get loggers via logging.getLogger(). [1] https://gerrit.opnfv.org/gerrit/#/c/34019/ JIRA: FUNCTEST-824 Change-Id: I89f5d15342b5f257fbc2700655e255a4e28bd36f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-08Put the ubuntu images in new directoryhelenyao1-1/+1
To adopt the new change of Functest[1], all images are put under ${HOME}/functest/images. Users are allowed to pre-download the images and map the local folder to the new directory. [1] https://gerrit.opnfv.org/gerrit/#/c/34033 Change-Id: Iafee8825af77dfce74ad2ace3346e3f2b70a7c96 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-03-17Create flavor for Quagga ubuntu VMtomsou1-0/+4
- 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-02Implement quagga peeringRomanos Skiadas1-1/+11
- 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-12Add and update license headersjose.lausuch1-0/+9
Change-Id: I8ccb23c9ffa0d511427ad089b033973ffe96360f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-22Bug fixes after the Functest refactorjose.lausuch1-9/+5
Change-Id: I20b9629bd3c9945e98edb94056f459d9f75eec5d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-21Update directory pathjose.lausuch1-2/+2
JIRA: FUNCTEST-673 Change-Id: I8430939c009942cd9f96e526c8acd2115267ed2f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-12-15Make sdnvpn a packageRomanos Skiadas1-0/+53
- 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>