Charm Interface - Neutron Plugin
3fba729d3e
The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Note that https://github.com/openstack/charms.openstack is used during tests and he need `mock`, unfortunatelly it doesn't declare `mock` in its requirements so it retrieve mock from other charm project (cross dependency). So we depend on charms.openstack first and when Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI will pass without errors. Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142 Change-Id: Id390874b58b796fe6b8b6c9f03d8aa61381e00d5 |
||
---|---|---|
unit_tests | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
interface.yaml | ||
LICENSE | ||
provides.py | ||
README.md | ||
requires.py | ||
test-requirements.txt | ||
tox.ini |
Overview
This interface provides the reactive interface for the neutron-plugin relation. This is used by the neutron-openvswitch subordinate amongst others.
metadata
To consume this interface in your charm or layer, add the following to
layer.yaml
:
includes: ['interface:neutron-plugin']
and add a provides interface of type <name>
to your charm or layers
metadata.yaml
:
provides:
<name>:
interface: neutron-plugin
scope: container
where name
is what you want to refer to the interface in the principal charm.
Bugs
Please report bugs on Launchpad.
For development questions please refer to the OpenStack Charm Guide.