heat.engine.clients.os.keystone package

heat.engine.clients.os.keystone package

Submodules

Module contents

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

Bases: ClientPlugin

IDENTITY = 'identity'
exceptions_module = [<module 'keystoneauth1.exceptions' from '/usr/lib/python3/dist-packages/keystoneauth1/exceptions/__init__.py'>, <module 'heat.common.exception' from '/build/heat-zbX4j5/heat-19.0.0/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']
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.