heat.engine.clients.os.keystone 包

子模块

模块内容

class heat.engine.clients.os.keystone.KeystoneClientPlugin(context)[源代码]

基类: ClientPlugin

IDENTITY = 'identity'
exceptions_module = [<module 'keystoneauth1.exceptions' from '/home/zuul/src/opendev.org/openstack/heat/.tox/docs/lib/python3.12/site-packages/keystoneauth1/exceptions/__init__.py'>, <module 'heat.common.exception' from '/home/zuul/src/opendev.org/openstack/heat/heat/common/exception.py'>]
get_domain_id(domain)[源代码]
get_group_id(group, domain=None)[源代码]
get_project_id(project, domain=None)[源代码]
get_region_id(region)[源代码]
get_role_id(role, domain=None)[源代码]
get_service_id(service)[源代码]
get_user_id(user, domain=None)[源代码]
is_conflict(ex)[源代码]

如果异常是冲突,则返回 True。

is_not_found(ex)[源代码]

如果异常是未找到,则返回 True。

is_over_limit(ex)[源代码]

如果异常是超出限制,则返回 True。

parse_entity_with_domain(entity_with_domain, entity_type)[源代码]

解析 keystone 实体 user/role/project 与 domain。

entity_with_domain 应该为 entity{domain} 格式。

返回一个 (entity, domain) 元组。

service_types = ['identity']