Juju Charm - Neutron API Plugin Ironic
Go to file
Alex Kavanagh bfda49dd38 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: Iafe802bd1b01c0447dd45ed697c0ea3d003218e5
2022-02-23 14:48:48 -05:00
docs Allign project layout with OS reactive charms 2020-09-16 13:04:52 +00:00
src Update to build using charmcraft 2022-02-23 14:48:48 -05:00
unit_tests Add Zaza functional tests 2020-11-09 13:24:05 +01:00
.gitignore Add gitignore 2020-09-16 13:03:58 +00:00
.gitreview Add Zaza functional tests 2020-11-09 13:24:05 +01:00
.stestr.conf Allign project layout with OS reactive charms 2020-09-16 13:04:52 +00:00
.zuul.yaml Add Zaza functional tests 2020-11-09 13:24:05 +01:00
LICENSE Allign project layout with OS reactive charms 2020-09-16 13:04:52 +00:00
README.md Add gitignore 2020-09-16 13:03:58 +00:00
build-requirements.txt Update to build using charmcraft 2022-02-23 14:48:48 -05:00
charmcraft.yaml Update to build using charmcraft 2022-02-23 14:48:48 -05:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-27 21:46:07 +00:00
osci.yaml Update to build using charmcraft 2022-02-23 14:48:48 -05:00
pip.sh Add xena bundles 2021-09-27 15:26:56 +01:00
rebuild Add xena bundles 2021-09-27 15:26:56 +01:00
rename.sh Update to build using charmcraft 2022-02-23 14:48:48 -05:00
requirements.txt Add yoga bundles and release-tool syncs 2021-11-17 13:53:03 -05:00
test-requirements.txt Update to build using charmcraft 2022-02-23 14:48:48 -05:00
tox.ini Update to build using charmcraft 2022-02-23 14:48:48 -05:00

README.md

Overview

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

When this charm is related to the neutron-api charm it will install the ironic-neutron-agent and the baremetal mechanism driver on each neutron-api unit in the region. The required mechanism driver will be communicated back to the neutron-api service and will be added to the appropriate configuration file.

The ironic agent requires keystone credentials, obtained via a relation with keystone.

Usage

Configuration

This charm requires no special configuration outside of the standard OpenStack configuration options (openstack-origin, region, etc.)

Deployment

This is a subordinate charm that needs to attach itself to an existing neutron-api deployment.

To deploy (partial deployment only):

juju deploy neutron-api
juju deploy neutron-openvswitch
juju deploy neutron-api-plugin-ironic
juju deploy keystone

juju add-relation neutron-api neutron-api-plugin-ironic
juju add-relation neutron-api neutron-openvswitch
juju add-relation neutron-api-plugin-ironic keystone