Juju Charm - Neutron API - plugin for Arista CVX
Go to file
Alex Kavanagh 3dfa5d6edd Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: Ia8e4390dea57e7ce55950fb4296cf54ca7be7d7f
2022-02-16 12:11:33 +00:00
docs Improve README to follow our template 2020-07-30 10:34:33 +02:00
src Update to build using charmcraft 2022-02-16 12:11:33 +00:00
unit_tests Sync libraries & common files prior to freeze 2020-09-28 09:41:42 +01:00
.gitignore Update to build using charmcraft 2022-02-16 12:11:33 +00:00
.gitreview Add .gitreview and .zuul.yaml files 2020-07-01 13:56:11 +02:00
.stestr.conf fix unit testing 2019-06-07 15:18:48 -04:00
.zuul.yaml Make it a proper neutron-api plugin 2020-07-23 09:55:23 +02:00
LICENSE first pass on unittests, some cleanup 2018-07-31 10:04:49 -04:00
README.md Improve README to follow our template 2020-07-30 10:34:33 +02:00
build-requirements.txt Update to build using charmcraft 2022-02-16 12:11:33 +00:00
charmcraft.yaml Update to build using charmcraft 2022-02-16 12:11:33 +00:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-27 21:44:45 +00:00
osci.yaml Update to build using charmcraft 2022-02-16 12:11:33 +00:00
pip.sh Add xena bundles 2021-09-27 15:23:47 +01:00
rebuild Add xena bundles 2021-09-27 15:23:47 +01:00
rename.sh Update to build using charmcraft 2022-02-16 12:11:33 +00:00
requirements.txt Add yoga bundles and release-tool syncs 2021-11-12 11:17:56 -05:00
test-requirements.txt Update to build using charmcraft 2022-02-16 12:11:33 +00:00
tox.ini Update to build using charmcraft 2022-02-16 12:11:33 +00:00

README.md

Overview

This subordinate charm provides the Arista ML2 Plugin support to the OpenStack Neutron API service.

Note: For upgrading from earlier prototypes of this charm see Upgrading to stable charm.

When this charm is related to the neutron-api charm it will install the Arista Neutron packages on each neutron-api unit in the region and supply the desired configuration to the neutron-api service.

Usage

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

eapi-host

The eapi-host option is the IP address serving the Arista API (a.k.a. eAPI) from the charm's perspective.

eapi-username

The eapi-username option is the username to be used for authenticating to the Arista API.

eapi-password

The eapi-password option is the password to be used for authenticating to the Arista API.

Deployment

Because this is a subordinate charm a relation will need to be added to another application to have the charm deployed on a machine.

To deploy (partial deployment only):

juju deploy neutron-api
juju deploy neutron-openvswitch
juju deploy neutron-api-plugin-arista --config eapi-host=...

juju add-relation neutron-api neutron-api-plugin-arista
juju add-relation neutron-api neutron-openvswitch

Bugs

Please report bugs on Launchpad.

For general questions please refer to the OpenStack Charm Guide.