Juju Charm - Neutron API - plugin for Open Virtual Network
Go to file
Hervé Beraud 09e5ddc8d0 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: I62e4e03f73db6e4ddd10b8d221a2ae8fda0a4290
2021-12-15 09:32:59 +00:00
src Add yoga bundles and release-tool syncs 2021-11-19 11:23:29 -05:00
unit_tests Use unittest.mock instead of mock 2021-12-15 09:32:59 +00:00
.gitignore Initial commit 2019-09-27 15:44:32 +02:00
.gitreview Expose useful configuration options 2019-10-18 13:03:13 +02:00
.stestr.conf Initial commit 2019-09-27 15:44:32 +02:00
.travis.yml Configure Neutron 2019-10-10 16:17:22 +02:00
.zuul.yaml [ussuri][goal] Updates for python 2.7 drop 2020-03-24 17:13:47 +00:00
LICENSE Initial commit 2019-09-27 15:44:32 +02:00
osci.yaml Add yoga bundles and release-tool syncs 2021-11-19 11:23:29 -05:00
pip.sh Add xena bundles 2021-09-27 15:29:16 +01:00
README.md Update documentation 2019-10-25 10:36:09 +02:00
rebuild Add xena bundles 2021-09-27 15:29:16 +01:00
requirements.txt Pin cffi 1.14.6 2021-11-19 15:29:19 +00:00
test-requirements.txt Use unittest.mock instead of mock 2021-12-15 09:32:59 +00:00
tox.ini Add yoga bundles and release-tool syncs 2021-11-19 11:23:29 -05:00

Overview

OVN provides open source network virtualization for Open vSwitch (OVS).

The neutron-api-plugin-ovn charm is a subordinate charm that augments Neutron's configuration for use with the OVN ML2 driver. On OpenStack Ussuri and onwards the OVN ML2 driver is maintained as an in-tree driver in Neutron. On OpenStack Train it is maintained separately as the networking-ovn plugin.

Usage

OVN makes use of Public Key Infrastructure (PKI) to authenticate and authorize control plane communication. The charm requires a Certificate Authority to be present in the model as represented by the certificates relation.

The OpenStack Base bundle gives an example of how you can deploy OpenStack and OVN with Vault to automate certificate lifecycle management.

Please refer to the OVN Appendix in the OpenStack Charms Deployment Guide for details.

To deploy (partial deployment of linked charms only):

juju config neutron-api manage-neutron-plugin-legacy-mode=false

juju deploy neutron-api-plugin-ovn
juju deploy ovn-central -n 3 --config source=cloud:bionic-train
juju deploy ovn-chassis

juju add-relation neutron-api-plugin-ovn:certificates vault:certificates
juju add-relation neutron-api-plugin-ovn:neutron-plugin \
    neutron-api:neutron-plugin-api-subordinate
juju add-relation ovn-central:certificates vault:certificates
juju add-relation ovn-chassis:ovsdb ovn-central:ovsdb
juju add-relation ovn-chassis:certificates vault:certificates
juju add-relation ovn-chassis:nova-compute nova-compute:neutron-plugin

Bugs

Please report bugs on Launchpad.

For general questions please refer to the OpenStack Charm Guide.