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>
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):