From ea37a2f542a9e978773689dfb8f8f541f49483b6 Mon Sep 17 00:00:00 2001 From: George Paraskevopoulos Date: Thu, 2 Feb 2017 16:35:45 +0200 Subject: Get tacker client using session authentication Update getting tacker client logic to use session for authentication Change-Id: Ibc46e3d6b749540e1a23d08f6635c323e4dcf08d Signed-off-by: George Paraskevopoulos --- functest/utils/openstack_tacker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'functest/utils/openstack_tacker.py') 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) # ********************************************* -- cgit 1.2.3-korg