heat.engine.clients.os.keystone package

Submodules

Module contents

class heat.engine.clients.os.keystone.KeystoneClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

IDENTITY = 'identity'
exceptions_module = [<module 'keystoneauth1.exceptions' from '/home/zuul/src/opendev.org/openstack/heat/.tox/docs/lib/python3.10/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)[source]
get_group_id(group, domain=None)[source]
get_project_id(project, domain=None)[source]
get_region_id(region)[source]
get_role_id(role, domain=None)[source]
get_service_id(service)[source]
get_user_id(user, domain=None)[source]
is_conflict(ex)[source]

Returns True if the exception is a conflict.

is_not_found(ex)[source]

Returns True if the exception is a not-found.

is_over_limit(ex)[source]

Returns True if the exception is an over-limit.

parse_entity_with_domain(entity_with_domain, entity_type)[source]

Parse keystone entity user/role/project with domain.

entity_with_domain should be in entity{domain} format.

Returns a tuple of (entity, domain).

service_types = ['identity']