summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2018-10-12 09:34:43 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2018-10-12 10:14:10 +0000
commit20cdd33c0c65f5862a21130f48bd9333c7f79165 (patch)
treed09e44b36295455ae97357edcd48124eaaa6738b /windriver/titanium_cloud/registration
parentceb8740788a698acc8c4990bead774461c1b408d (diff)
Change the generated cloud region id1.2.0
Avoid usage of dot Change-Id: I685b2d87a413beadc56fc904d32064f6dc177a79 Issue-ID: MULTICLOUD-364 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/registration')
-rw-r--r--windriver/titanium_cloud/registration/views/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py
index c5620618..e2741638 100644
--- a/windriver/titanium_cloud/registration/views/registration.py
+++ b/windriver/titanium_cloud/registration/views/registration.py
@@ -258,7 +258,7 @@ class APIv1Registry(newton_registration.Registry):
continue
#create cloud region with composed AAI cloud_region_id except for the one onboarded externally (e.g. ESR)
- gen_cloud_region_id = cloud_region_id + "." + regionid
+ gen_cloud_region_id = cloud_region_id + "_" + regionid
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)