Charm Interface - Keystone FID Service Provider
Go to file
Alex Kavanagh be0926efaf Migrate from testr to stestr
Note that the interface doesn't actually have any unit tests yet.

Change-Id: I6da11fb42c1b9568276359d2a6042d02effbd696
2021-02-10 12:33:54 +00:00
.gitreview Add gitreview 2020-11-12 16:44:19 -03:00
.stestr.conf Migrate from testr to stestr 2021-02-10 12:33:54 +00:00
.zuul.yaml Switch to Ussuri jobs 2019-10-31 17:54:07 +08:00
interface.yaml initial 2018-05-10 14:19:29 +03:00
LICENSE initial 2018-05-10 14:19:29 +03:00
provides.py Fix nit 2019-03-27 22:02:39 +00:00
README.md initial 2018-05-10 14:19:29 +03:00
test-requirements.txt Migrate from testr to stestr 2021-02-10 12:33:54 +00:00
tox.ini Migrate from testr to stestr 2021-02-10 12:33:54 +00:00

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()