diff options
author | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2018-10-12 03:33:37 +0000 |
---|---|---|
committer | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2018-10-12 03:33:37 +0000 |
commit | 746d316b6c14885dc0fd8e0784f9ab88050cdbeb (patch) | |
tree | 51118a99282871b974bb05b5aeccc25e97520170 /windriver/titanium_cloud/registration/views | |
parent | 5a1608bfe48b2ac2a402e70b55df6602f2638527 (diff) |
Fix vimid typo when updating multi-regions in AAI
Change-Id: I51cce54c47ab34b4c4c07efc2c9b8c20defe4519
Issue-ID: MULTICLOUD-364
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration/views')
-rw-r--r-- | windriver/titanium_cloud/registration/views/registration.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py index 57888456..c5620618 100644 --- a/windriver/titanium_cloud/registration/views/registration.py +++ b/windriver/titanium_cloud/registration/views/registration.py @@ -262,7 +262,8 @@ class APIv1Registry(newton_registration.Registry): self._logger.info("create a cloud region: %s,%s,%s" % (cloud_owner,gen_cloud_region_id,regionid)) self._update_cloud_region(cloud_owner, gen_cloud_region_id, regionid, viminfo) - super(APIv1Registry, self).post(request, vimid) + new_vimid = extsys.encode_vim_id(cloud_owner, gen_cloud_region_id) + super(APIv1Registry, self).post(request, new_vimid) # update the specified region |