charm-interface-keystone-fi.../README.md
Dmitrii Shcherbakov 3fbf0acce7 initial
2018-05-10 14:19:29 +03:00

27 lines
520 B
Markdown

# 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:
```python
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()
```