Revert "Feature 10955: Osmclient changes related to VIM configuration with a Promethe...
[osm/osmclient.git] / osmclient / sol005 / vim.py
index fa40140..72a0822 100644 (file)
@@ -108,6 +108,7 @@ class Vim(object):
         if vim_config:
             vim_account["config"] = vim_config
             # vim_account['config'] = json.dumps(vim_config)
+
         http_code, resp = self._http.post_cmd(
             endpoint=self._apiBase, postfields_dict=vim_account
         )
@@ -196,8 +197,6 @@ 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):