Code Review
/
multicloud
/
openstack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cb1f27e
)
Fix tenants API issue for keystone v3
author
Bin Yang
<bin.yang@windriver.com>
Tue, 14 Mar 2017 05:42:44 +0000
(13:42 +0800)
committer
Bin Yang
<bin.yang@windriver.com>
Tue, 14 Mar 2017 05:42:44 +0000
(13:42 +0800)
Change-Id: I68db478cebdd036982000298ad36f128dba618a2
Issue-Id: MULTIVIM-22
Signed-off-by: Bin Yang <bin.yang@windriver.com>
newton/newton/requests/views/tenants.py
patch
|
blob
|
history
diff --git
a/newton/newton/requests/views/tenants.py
b/newton/newton/requests/views/tenants.py
index
e9d5428
..
f94140c
100644
(file)
--- a/
newton/newton/requests/views/tenants.py
+++ b/
newton/newton/requests/views/tenants.py
@@
-44,9
+44,9
@@
class Tenants(APIView):
if '/v2' in vim["url"]:
req_resouce = "/v2.0/tenants"
elif '/v3' in vim["url"]:
- req_resouce = "/
v3/
projects"
+ req_resouce = "/projects"
else:
- req_resouce = "/
v3/
projects"
+ req_resouce = "/projects"
sess = VimDriverUtils.get_session(vim)
resp = sess.get(req_resouce, endpoint_filter=self.service)