summaryrefslogtreecommitdiffstats
path: root/newton/newton/registration
diff options
context:
space:
mode:
Diffstat (limited to 'newton/newton/registration')
-rw-r--r--newton/newton/registration/views/registration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/newton/newton/registration/views/registration.py b/newton/newton/registration/views/registration.py
index 131a58e0..25231d7c 100644
--- a/newton/newton/registration/views/registration.py
+++ b/newton/newton/registration/views/registration.py
@@ -33,9 +33,9 @@ DEBUG=True
class Registry(APIView):
def __init__(self):
+ self.proxy_prefix = config.MULTICLOUD_PREFIX
self._logger = logger
-
def update_tenant(self, cloud_owner, cloud_region_id, tenantinfo):
'''
populate tenant into AAI
@@ -668,7 +668,7 @@ class Registry(APIView):
# populate proxy identity url
cloud_owner, cloud_region_id = extsys.decode_vim_id(vimid)
self.update_proxy_identity_endpoint(cloud_owner, cloud_region_id,
- config.MULTICLOUD_PREFIX + "/%s/identity/v3" % vimid)
+ self.proxy_prefix + "/%s/identity/v3" % vimid)
# prepare request resource to vim instance
# get token: