aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/openstack_tacker.py
diff options
context:
space:
mode:
authorhelenyao <yaohelan@huawei.com>2016-12-15 22:49:06 -0500
committerhelenyao <yaohelan@huawei.com>2016-12-16 01:14:37 -0500
commit384a9784d2deb3aa07ef28d0efb767c0932452b3 (patch)
tree8ae1ccb952559788131736f1297315a21380ed9c /functest/utils/openstack_tacker.py
parentad77594f5846ebc4a28f52aa827db7e6c7970088 (diff)
Fix the issue of unexpected keyword argument 'endpoint_type'
JIRA: FUNCTEST-662 Different OpenStack has different version of RC file thus the environment variables vary. The keystoneauth1 initialization only support limited input. This patch only feed the required input to keystoneauth1. Moreover, the patch optimized the code by removing hardcode and improved the scalability. Change-Id: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11 Signed-off-by: helenyao <yaohelan@huawei.com>
Diffstat (limited to 'functest/utils/openstack_tacker.py')
-rwxr-xr-x[-rw-r--r--]functest/utils/openstack_tacker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/utils/openstack_tacker.py b/functest/utils/openstack_tacker.py
index 6ab056683..f17b421e8 100644..100755
--- a/functest/utils/openstack_tacker.py
+++ b/functest/utils/openstack_tacker.py
@@ -21,7 +21,7 @@ logger = ft_logger.Logger("tacker_utils").getLogger()
def get_tacker_client():
- creds_tacker = os_utils.get_credentials('tacker')
+ creds_tacker = os_utils.get_credentials()
return tackerclient.Client(**creds_tacker)