More RWADME updates
This commit is contained in:
parent
bf401a2a27
commit
606c17de4b
|
@ -5,7 +5,7 @@ another charm.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
The interface provides the `service-control.connected` state.
|
The interface provides the `{relation-name}.connected` state.
|
||||||
|
|
||||||
Requesting a restart of all remote services:
|
Requesting a restart of all remote services:
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ def configure(service_control):
|
||||||
service_control.request_restart(service_type='neutron')
|
service_control.request_restart(service_type='neutron')
|
||||||
```
|
```
|
||||||
|
|
||||||
# metadata
|
# Metadata
|
||||||
|
|
||||||
To consume this interface in your charm or layer, add the following to
|
To consume this interface in your charm or layer, add the following to
|
||||||
`layer.yaml`:
|
`layer.yaml`:
|
||||||
|
@ -34,7 +34,7 @@ To consume this interface in your charm or layer, add the following to
|
||||||
includes: ['interface:service-control']
|
includes: ['interface:service-control']
|
||||||
```
|
```
|
||||||
|
|
||||||
and add a provides interface of type `service-control` to your charm or layers
|
and add a requires interface of type `service-control` to your charm or layers
|
||||||
`metadata.yaml` eg:
|
`metadata.yaml` eg:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in New Issue