aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/openstack_snapshot.py
AgeCommit message (Collapse)AuthorFilesLines
2017-05-04Delete functest.utils.functest_loggerCédric Ollivier1-2/+3
It deletes functest.utils.functest_logger and the related unit tests. Then it modifies all functest modules to get all loggers via logging.getLogger(). __name__ is mainly used as getLogger arg as proposed by logging [1]. All loggers and handlers are now defined via functest/ci/logging.ini instead of a dict loaded by an external json file. Now only warn messages and info messages from ci and core packages are printed in console. [1] https://docs.python.org/2/library/logging.html Change-Id: Ic192855e0f9bf94825d8f7ec73549a0f3b8d44c5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2016-12-26Enable the tenant related featureshelenyao1-1/+1
JIRA: FUNCTEST-670 The tenant related features were enabled for OpenStack snapshot and cleanup. Change-Id: Ie9a4012c0d29f57ed5a14139ccb5f8e29b6000dd Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-21Refactor test run related modules using new constants providerSerenaFeng1-3/+4
JIRA: FUNCTEST-673 Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-14Authenticate clients with keystoneauth1.sessionhelenyao1-2/+2
JIRA: FUNCTEST-529 1. use keystoneauth1.session to initialize the client for each service The keystoneauth1.session.Session class was introduced into keystoneauth1 as an attempt to bring a unified interface to the various OpenStack clients that share common authentication and request parameters between a variety of services. 2. update ODL case to leverage session to get the endpoint info Change-Id: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-07Revert commits that handle tacker objectsRomanos Skiadas1-53/+0
These break CI in deployments where tacker is not present. Revert them for now and reintroduce them later in a way that will work for cases where tacker is not there. Revert "Tacker objects in openstack clean" This reverts commit 510a71f74ef5f47c28995f93b461cf361a18aa74. Revert "Tacker objects in openstack snapshot" This reverts commit c2f950adc4391d312f84da016e7443758506cf8c. Change-Id: If6c470302a7be6363844eed212d25afd6e57dbc9 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2016-12-05Tacker objects in openstack snapshotGeorge Paraskevopoulos1-0/+53
Add VNFD, VNF, SFC and SFC classifier snapshoting capabilities DEPENDS ON: https://gerrit.opnfv.org/gerrit/#/c/25485/ Change-Id: Ic89ab5be348cbe0cca2180c43352cfa4dac0f327 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao1-4/+2
JIRA: FUNCTEST-533 1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly 2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy 3. Removed unused variables 4. Updated the hardcoded path in Dockerfile by using variable reference 5. Removed "/" ending from all path variables 6. Updated the unit test Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-09Repo structure modificationMorgan Richomme1-0/+166
- create functest subdirectory - rename unit tests - adapt path in exec and config files JIRA: FUNCTEST-525 Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>