Charm Interface - Neutron Plugin
Go to file
Frode Nordahl bc908fb587
Implement generation of shared secret for metadata
The ``nova-compute`` charm gates enablement of the local Nova
metadata service on presence of the ``metadata-shared-secret``
key in the relation data in the subordinate relation with
``neutron-plugin`` interface.  This is implemented in the classic
``neutron-openvswitch`` charm today.

Add the bits necessary for a reactive charm to participate in this
part of the relation.

Also adds units tests to the interface.

Change-Id: I358e60c40a7f7c0cd33b31f2b7a8c58d6cb83326
2019-10-08 08:23:39 +02:00
unit_tests Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
.gitignore Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:40 +00:00
.stestr.conf Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
.zuul.yaml import zuul job settings from project-config 2018-10-04 12:46:14 +00:00
LICENSE Add minimal requires.py 2016-11-18 09:28:01 +00:00
README.md Add minimal requires.py 2016-11-18 09:28:01 +00:00
interface.yaml Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
provides.py Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
requires.py Add ``host`` attribute on requires side 2019-10-02 06:25:23 +02:00
test-requirements.txt Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00
tox.ini Implement generation of shared secret for metadata 2019-10-08 08:23:39 +02:00

README.md

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.