summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-02-03 12:22:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-03 12:22:59 +0000
commitf6f929ae158be1b52cd0ffc0c1f02eb7709504f1 (patch)
tree1ddcee0f380e6e32ee4805bf68bf37b00ee036bc
parent2e9757725ef3bf6045eeb69191d96314c268f6ca (diff)
parentea37a2f542a9e978773689dfb8f8f541f49483b6 (diff)
Merge "Get tacker client using session authentication"
-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 f17b421e8..d143ad6f3 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)
# *********************************************