diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2017-09-14 21:15:55 -0600 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2017-09-14 21:20:41 -0600 |
commit | c9aa53d5912f1d45863a93dfbba0b6d1c80106ff (patch) | |
tree | 7f8d9b0d40fa7ff6f7367e11abfcfc0cdd62139f | |
parent | 3280c32a96f7f7cfc54e6d80971b1e637439bd70 (diff) |
Add more VIM info from AAI
Change-Id: If8462481a581504b1be038485d131675e0175b08
issue-id: MULTICLOUD-93
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
-rw-r--r-- | vio/vio/pub/msapi/extsys.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vio/vio/pub/msapi/extsys.py b/vio/vio/pub/msapi/extsys.py index 5584a3f..b3ed044 100644 --- a/vio/vio/pub/msapi/extsys.py +++ b/vio/vio/pub/msapi/extsys.py @@ -31,6 +31,7 @@ def get_vim_by_id(vim_id): ret['type'] = ret['cloud-type'] ret['version'] = ret['cloud-region-version'] ret['vimId'] = vim_id + ret['name'] = vim_id ret['userName'] = ret['esr-system-info-list'][ 'esr-system-info'][0]['username'] ret['password'] = ret['esr-system-info-list'][ @@ -39,4 +40,10 @@ def get_vim_by_id(vim_id): 'esr-system-info'][0]['default-tenant'] ret['url'] = ret['esr-system-info-list'][ 'esr-system-info'][0]['service-url'] + ret['domain'] = ret['esr-system-info-list'][ + 'esr-system-info'][0]['cloud-domain'] + ret['cacert'] = ret['esr-system-info-list'][ + 'esr-system-info'][0]['ssl-cacert'] + ret['insecure'] = ret['esr-system-info-list'][ + 'esr-system-info'][0]['ssl-insecure'] return ret |