summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-20 22:45:35 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-20 22:45:35 +0800
commitc69e1da2b27cb3cb991bff44a78c22ae13841c5a (patch)
tree8b9ef7763863f37b339f5f5e924a75155801a29f
parent2134d0f56834fa2bb5227d7d10d3764702b3583f (diff)
Workaround secure connection for Openstackamsterdam
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: Ibd72324daede7f5571d079a7511a76aa4ef13eb2 Issue-ID: MULTICLOUD-161 Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r--kilo/Notice-EOL.md6
-rw-r--r--newton/newton/requests/views/util.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/kilo/Notice-EOL.md b/kilo/Notice-EOL.md
new file mode 100644
index 00000000..4cd718d7
--- /dev/null
+++ b/kilo/Notice-EOL.md
@@ -0,0 +1,6 @@
+=======================
+Notice: END OF LIFE
+=======================
+
+This MultiCloud Plugin service for OpenStack Kilo was inherited from OPEN-O and never enabled for ONAP.
+
diff --git a/newton/newton/requests/views/util.py b/newton/newton/requests/views/util.py
index ba383475..6cd99c49 100644
--- a/newton/newton/requests/views/util.py
+++ b/newton/newton/requests/views/util.py
@@ -105,7 +105,7 @@ class VimDriverUtils(object):
if auth_state:
auth.set_auth_state(auth_state)
- return session.Session(auth=auth)
+ return session.Session(auth=auth, verify=(vim['insecure']==False))
@staticmethod