keystone.py 文件源码

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

项目:vdi-broker 作者: cloudbase 项目源码 文件源码
def delete_trust(trust_id):
    LOG.debug("Deleting trust id: %s", trust_id)

    auth = _get_trusts_auth_plugin(trust_id)
    session = ks_session.Session(
        auth=auth, verify=not CONF.keystone.allow_untrusted)
    client = kc_v3.Client(session=session)
    try:
        client.trusts.delete(trust_id)
    except ks_exceptions.NotFound:
        LOG.debug("Trust id not found: %s", trust_id)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号