Bases: object
Interface description for a Domain Config driver.
Create config options for a domain.
Any existing config options will first be deleted.
Parameters: |
|
---|
Option schema:
type: dict
properties:
group:
type: string
option:
type: string
value:
type: depends on the option
sensitive:
type: boolean
required: [group, option, value, sensitive]
additionalProperties: false
Delete config options for a domain.
Allows deletion of all options for a domain, all options in a group or a specific option. The driver is silent if there are no options to delete.
Parameters: |
|
---|
The option is uniquely defined by domain_id, group and option, irrespective of whether it is sensitive ot not.
Get the config option for a domain.
Parameters: |
|
---|---|
Returns: | dict containing group, option and value |
Raises keystone.exception.DomainConfigNotFound: | |
the option doesn’t exist. |
Get a config options for a domain.
Parameters: |
|
---|---|
Returns: | list of dicts containing group, option and value |
Try and register this domain to use the type specified.
Parameters: |
|
---|---|
Returns: | True if the domain was registered, False otherwise. Failing to register means that someone already has it (which could even be the domain being requested). |
Get the domain ID of who is registered to use this type.
Parameters: | type – type of registration |
---|---|
Returns: | domain_id of who is registered. |
Raises keystone.exception.ConfigRegistrationNotFound: | |
If nobody is registered. |
Release registration if it is held by the domain specified.
If the specified domain is registered for this domain then free it, if it is not then do nothing - no exception is raised.
Parameters: |
|
---|
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.ModelDictMixin
Bases: keystone.resource.config_backends.base.DomainConfigDriverV8