summaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-02 16:35:45 +0200
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-02 17:14:13 +0200
commitea37a2f542a9e978773689dfb8f8f541f49483b6 (patch)
tree2e93499b2a9b7093c746fea3392054fbbf0fea0a /functest
parent98bec6c6a3ec015fae82ec5ecd7f2fa7585b126f (diff)
Get tacker client using session authentication
Update getting tacker client logic to use session for authentication Change-Id: Ibc46e3d6b749540e1a23d08f6635c323e4dcf08d Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'functest')
-rw-r--r--functest/utils/openstack_tacker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/utils/openstack_tacker.py b/functest/utils/openstack_tacker.py
index f17b421e..d143ad6f 100644
--- a/functest/utils/openstack_tacker.py
+++ b/functest/utils/openstack_tacker.py
@@ -20,9 +20,9 @@ import time
logger = ft_logger.Logger("tacker_utils").getLogger()
-def get_tacker_client():
- creds_tacker = os_utils.get_credentials()
- return tackerclient.Client(**creds_tacker)
+def get_tacker_client(other_creds={}):
+ sess = os_utils.get_session(other_creds)
+ return tackerclient.Client(session=sess)
# *********************************************