summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Lobankov <ylobankov@mirantis.com>2013-11-29 16:29:37 +0400
committerSergey Lukjanov <slukjanov@mirantis.com>2013-11-29 17:27:13 +0400
commitf51b3028f4e91ba145f5c989f4edac5c60f154a6 (patch)
treec806af89938a162e1ff5cee0258d01ae0d69e7ea
parent82e42db1779033b30bf3b3679ddd8eec7b9ca896 (diff)
downloadpython-saharaclient-0.4.0.tar.gz
Enforce keystone service endpoint URL for auth0.4.0
It's needed to guarantee that the same level (public/private/admin) will be used for tenants/tokens ops inside the savanna client. Change-Id: I65078be500822c475bceaab5eb55910202304aa3
-rw-r--r--savannaclient/api/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/savannaclient/api/client.py b/savannaclient/api/client.py
index d4d6d42..93ba6c1 100644
--- a/savannaclient/api/client.py
+++ b/savannaclient/api/client.py
@@ -53,7 +53,8 @@ class Client(object):
token=input_auth_token,
tenant_id=project_id,
tenant_name=project_name,
- auth_url=auth_url)
+ auth_url=auth_url,
+ endpoint=auth_url)
keystone.authenticate()
token = keystone.auth_token