Workaround secure connection for Openstack 11/34911/2 amsterdam
authorYun Huang <yun.huang@windriver.com>
Tue, 20 Mar 2018 14:45:35 +0000 (22:45 +0800)
committerYun Huang <yun.huang@windriver.com>
Tue, 20 Mar 2018 14:45:35 +0000 (22:45 +0800)
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>
kilo/Notice-EOL.md [new file with mode: 0644]
newton/newton/requests/views/util.py

diff --git a/kilo/Notice-EOL.md b/kilo/Notice-EOL.md
new file mode 100644 (file)
index 0000000..4cd718d
--- /dev/null
@@ -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.
+
index ba38347..6cd99c4 100644 (file)
@@ -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