Feature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB...
[osm/osmclient.git] / osmclient / sol005 / vim.py
index 72a0822..4962a91 100644 (file)
@@ -197,6 +197,8 @@ class Vim(object):
         vim_account["vim_user"] = vim_access["vim-username"] or "null"
         vim_account["vim_password"] = vim_access["vim-password"] or "null"
         vim_account["vim_tenant_name"] = vim_access["vim-tenant-name"] or "null"
+        if "prometheus-config" in vim_access:
+            vim_account["prometheus-config"] = vim_access["prometheus-config"]
         return vim_account
 
     def get_id(self, name):