Authenticate clients with keystoneauth1.session
authorhelenyao <yaohelan@huawei.com>
Thu, 8 Dec 2016 02:24:24 +0000 (21:24 -0500)
committerhelenyao <yaohelan@huawei.com>
Wed, 14 Dec 2016 09:06:25 +0000 (04:06 -0500)
commit703d4477d2385d3c654cdac549b936c08b9c5b31
tree4305d2b9c36c74253336e112b94e385fd2afc77b
parent7bb9e652122482a31992901c9eae7429624aabdf
Authenticate clients with keystoneauth1.session

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>
functest/ci/run_tests.py
functest/opnfv_tests/sdn/odl/odl.py
functest/tests/unit/odl/test_odl.py [changed mode: 0644->0755]
functest/utils/openstack_clean.py
functest/utils/openstack_snapshot.py
functest/utils/openstack_utils.py
run_unit_tests.sh