summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-19 23:42:58 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-19 23:42:58 +0800
commitaacc27236fa4c76ef4a31d513e8bec34ecdb9e3e (patch)
tree3959769c0bad8db703d9a660a0a9d7deadfa4359 /share
parent3d4e63ece641b06f5093473bc7f22013ecc9c97c (diff)
Workaround secure connection for Openstack
Toggle the cert of secured endpoint of OpenStack by option: cloud-region.esr-system-info.ssl-insecure. Now it support ssl-insecure=True only. Change-Id: I77a2792333cc7d2294672baa9fe491573a7eef6d Issue-ID: MULTICLOUD-161 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'share')
-rw-r--r--share/newton_base/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/newton_base/util.py b/share/newton_base/util.py
index 36c47620..e925d99a 100644
--- a/share/newton_base/util.py
+++ b/share/newton_base/util.py
@@ -90,7 +90,7 @@ class VimDriverUtils(object):
if auth_state:
auth.set_auth_state(auth_state)
- return session.Session(auth=auth, verify=False)
+ return session.Session(auth=auth, verify=(vim['insecure']==False))
@staticmethod
def get_auth_state(session_obj):