openstack_utils.py 文件源码

python
阅读 15 收藏 0 点赞 0 评论 0

项目:functest 作者: opnfv 项目源码 文件源码
def get_session(other_creds={}):
    auth = get_session_auth(other_creds)
    https_cacert = os.getenv('OS_CACERT', '')
    https_insecure = os.getenv('OS_INSECURE', '').lower() == 'true'
    return session.Session(auth=auth,
                           verify=(https_cacert or not https_insecure))


# *********************************************
#   CLIENTS
# *********************************************
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号