Hervé Beraud 3fba729d3e Use unittest.mock instead of mock
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
2021-12-15 09:50:21 +00:00
2019-04-19 19:48:40 +00:00
2016-11-18 09:28:01 +00:00
2016-11-18 09:28:01 +00:00
2021-02-10 10:55:56 +00:00

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.

Description
Charm Interface - Neutron Plugin
Readme 119 KiB
Languages
Python 100%