Frode Nordahl 78d6c208b4
ovsdb_subordinate: Flip requires and provides
Across the OpenStack Engineering team charms we are using requires
and provides for subordinates in the opposite direction of what
is documented in Juju.

Given the end user experience is unaffected I'll bury this detail
for the sake of consistency across the charms.

Change-Id: Ia304cd25dbdd130338837f149a79efe59681f794
2020-02-05 17:37:31 +01:00
2019-10-18 09:57:36 +02:00
2019-10-18 09:57:36 +02:00
2019-09-20 15:07:38 +02:00
2019-10-18 09:57:36 +02:00
2019-09-20 15:07:38 +02:00
2019-09-20 15:07:38 +02:00
2019-09-20 15:07:38 +02:00
2019-10-18 09:57:36 +02:00

Overview

This repository contains a set of similar interfaces with common code broken out to a separate module.

This interface facilitates a provider charm to publish connection properties of a OVSDB and a requirer charm to consume a remote OVSDB.

Usage

No explicit handler is required to consume this interface in charms that consume this interface.

In addittion to the states automatically set based on relation data by charms.reactive.Endpoint, the interface provides the ovsdb.available state.

metadata

To consume this interface in your charm or layer, add the following to layer.yaml:

includes: ['interface:ovsdb']

and add a provider or requires interface of type ovsdb to your charm or layers metadata.yaml:

requires:
  ovsdb:
    interface: ovsdb

Bugs

Please report bugs on Launchpad.

For development questions please refer to the OpenStack Charm Guide.

Description
Charm Interface - OVSDB
Readme 159 KiB
Languages
Python 100%