summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/vesagent
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-08-14 07:35:52 +0000
committerBin Yang <bin.yang@windriver.com>2018-08-14 07:35:52 +0000
commitadeadd2b361a0612e289b5a8dd85de9b1d041193 (patch)
tree07f0ab43ea3964c1efc19f89a455ec416ddf9d01 /windriver/titanium_cloud/vesagent
parentb906025377784de4152de1963b8c7df005d8b59c (diff)
Upgrade API for capacity_check
Change-Id: If53c734294907eb4a4d108a2c7e81d537c53eb8f Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/vesagent')
-rw-r--r--windriver/titanium_cloud/vesagent/vesagent_ctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
index 207ae561..d93ccc22 100644
--- a/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
+++ b/windriver/titanium_cloud/vesagent/vesagent_ctrl.py
@@ -423,5 +423,5 @@ class VesAgentCtrlV1(VesAgentCtrl):
self._logger.debug("with META: %s" % request.META)
#temp realization for API upgrading only, assume cloud_owner does not contains "_" , refactor it later
- vimid = cloud_owner+"_"+cloud_region_id
+ vimid = extsys.encode_vim_id(cloud_owner, cloud_region_id)
return super(VesAgentCtrlV1,self).get(request, vimid)