keystone.identity.mapping_backends.base.MappingDriverBase[source]¶Bases: keystone.common.provider_api.ProviderAPIMixin, object
Interface description for an ID Mapping driver.
create_id_mapping(local_entity, public_id=None)[source]¶Create and store a mapping to a public_id.
| Parameters: |
|
|---|---|
| Returns: | public ID |
delete_id_mapping(public_id)[source]¶Delete an entry for the given public_id.
| Parameters: | public_id – The public ID for the mapping to be deleted. |
|---|
The method is silent if no mapping is found.
get_domain_mapping_list(domain_id, entity_type=None)[source]¶Return mappings for the domain.
| Parameters: |
|
|---|---|
| Returns: | list of mappings. |
get_id_mapping(public_id)[source]¶Return the local mapping.
| Parameters: | public_id – The public ID for the mapping required. |
|---|---|
| Returns dict: | Containing the entity domain, local ID and type. If no mapping is found, it returns None. |
keystone.identity.mapping_backends.sql.IDMapping(*args, **kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.ModelDictMixin
domain_id¶entity_type¶local_id¶public_id¶keystone.identity.mapping_backends.sql.Mapping[source]¶Bases: keystone.identity.mapping_backends.base.MappingDriverBase
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.