c59f42e35d
This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ia287d2df93cd4515378b03150feed8560f6d2f9d Story: #2002586 Task: #24317 |
||
---|---|---|
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
README.md | ||
interface.yaml | ||
provides.py | ||
test-requirements.txt | ||
tox.ini |
README.md
Overview
This interface layer handles the communication with Keystone via the 'keystone-domain-backend' interface protocol.
Usage
Provides
The interface layer will set the following state:
{relation_name}.connected
The relation is established.
For example:
from charms.reactive import when
@when('domain-backend.connected')
@when('configuration.complete')
def configure_domain(domain):
domain.domain_name('mynewkeystonedomain')
domain.trigger_restart()
Typically a domain backend charm should validate that that it
has sufficient and good configuration for the domain backend,
write its configuration to
/etc/keystone/domains/keystone.<domain-name>.conf
and then
trigger a restart of keystone using the trigger_restart
method of the inteface, supplying the domain name at this
point in time as well.
The keystone charm will create the domain in the keystone database, mapping to the underlying domain configuration on disk.