summaryrefslogtreecommitdiffstats
path: root/share/common/msapi
diff options
context:
space:
mode:
Diffstat (limited to 'share/common/msapi')
-rw-r--r--share/common/msapi/extsys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/common/msapi/extsys.py b/share/common/msapi/extsys.py
index c0cc7f27..e1534523 100644
--- a/share/common/msapi/extsys.py
+++ b/share/common/msapi/extsys.py
@@ -70,6 +70,9 @@ def get_vim_by_id(vim_id):
viminfo['tenant'] = tmp_authinfo.get('default-tenant')
viminfo['cacert'] = tmp_authinfo.get('ssl-cacert')
viminfo['insecure'] = tmp_authinfo.get('ssl-insecure')
+ viminfo["complex-name"] = tmp_viminfo.get("complex-name")
+ viminfo['openstack_region_id'] = tmp_viminfo.get("cloud-epa-caps") \
+ if tmp_viminfo.get("cloud-epa-caps") else cloud_region_id
return viminfo
return None