Change the generated cloud region id 40/70340/3 1.2.0
authorXiaohua Zhang <xiaohua.zhang@windriver.com>
Fri, 12 Oct 2018 09:34:43 +0000 (09:34 +0000)
committerXiaohua Zhang <xiaohua.zhang@windriver.com>
Fri, 12 Oct 2018 10:14:10 +0000 (10:14 +0000)
Avoid usage of dot

Change-Id: I685b2d87a413beadc56fc904d32064f6dc177a79
Issue-ID: MULTICLOUD-364
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
windriver/titanium_cloud/registration/views/registration.py

index c562061..e274163 100644 (file)
@@ -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)