Charm Interface - Keystone FID Service Provider
be0926efaf
Note that the interface doesn't actually have any unit tests yet. Change-Id: I6da11fb42c1b9568276359d2a6042d02effbd696 |
||
---|---|---|
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
interface.yaml | ||
LICENSE | ||
provides.py | ||
README.md | ||
test-requirements.txt | ||
tox.ini |
Overview
This interface layer handles the communication with Keystone via the 'keystone-federated-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(federated-backend.connected')
@when('configuration.complete')
def configure_federation(federation):
domain.wsgi_config_fragment('wsgi_fragment_path')
domain.trigger_restart()