Juju Charm - Neutron API
Go to file
Billy Olsen eea709291d Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: I8192c13ea0821ae333e5b82420436a6a57349d89
2016-03-15 20:12:59 -07:00
actions Action managed upgrade 2015-09-25 09:09:26 -07:00
files MidoNet support up until Liberty 2016-01-22 16:14:59 +01:00
hooks Changes for Calico networking with OpenStack Liberty 2016-03-04 16:21:18 +00:00
templates Changes for Calico networking with OpenStack Liberty 2016-03-04 16:21:18 +00:00
tests Remove debug 2016-02-26 19:11:58 +00:00
unit_tests Changes for Calico networking with OpenStack Liberty 2016-03-04 16:21:18 +00:00
.coveragerc Added openstack upgrade, unit tests and lint fixes 2014-06-20 11:02:09 +01:00
.gitignore Resync charm-helpers 2016-03-02 12:08:34 +00:00
.gitreview Add gitreview prior to migration to openstack 2016-02-24 21:53:32 +00:00
.project Rationalize endpoint generation, rework tests, add support for multiple network support 2014-06-27 12:55:45 +01:00
.pydevproject Rationalize endpoint generation, rework tests, add support for multiple network support 2014-06-27 12:55:45 +01:00
.testr.conf Add tox support 2015-11-02 09:28:57 +00:00
Makefile Use tox in Makefile targets 2016-03-15 20:12:59 -07:00
README.md Advertise API readiness to subordinates, allow subordinate specification of api_extensions 2016-02-03 11:17:14 -08:00
actions.yaml Action managed upgrade 2015-09-25 09:09:26 -07:00
charm-helpers-hooks.yaml Merge from lp:~openstack-charmers/.../next 2015-08-20 06:45:36 -07:00
charm-helpers-tests.yaml Add amulet tests 2015-02-17 07:10:15 +00:00
config.yaml Add vni-ranges option for supporting vxlan 2016-03-04 08:56:25 +09:00
copyright Updated with fixes suggested from bug comments 2014-06-23 12:18:17 +01:00
icon.svg Updated with fixes suggested from bug comments 2014-06-23 12:18:17 +01:00
metadata.yaml MidoNet support up until Liberty 2016-01-22 16:14:59 +01:00
requirements.txt Add tox support 2015-11-02 09:28:57 +00:00
setup.cfg Added openstack upgrade, unit tests and lint fixes 2014-06-20 11:02:09 +01:00
test-requirements.txt Add tox support 2015-11-02 09:28:57 +00:00
tox.ini Tidy tox targets 2016-02-16 07:04:15 +00:00

README.md

Overview

This principle charm provides the OpenStack Neutron API service which was previously provided by the nova-cloud-controller charm.

When this charm is related to the nova-cloud-controller charm the nova-cloud controller charm will shutdown its api service, de-register it from keystone and inform the compute nodes of the new neutron url.

Usage

To deploy (partial deployment only):

juju deploy neutron-api
juju deploy neutron-openvswitch

juju add-relation neutron-api mysql
juju add-relation neutron-api rabbitmq-server
juju add-relation neutron-api neutron-openvswitch
juju add-relation neutron-api nova-cloud-controller

This charm also supports scale out and high availability using the hacluster charm:

juju deploy hacluster neutron-hacluster
juju add-unit neutron-api
juju set neutron-api vip=<VIP FOR ACCESS>
juju add-relation neutron-hacluster neutron-api

Deploying from source

The minimum openstack-origin-git config required to deploy from source is:

openstack-origin-git: include-file://neutron-juno.yaml

neutron-juno.yaml
    repositories:
    - {name: requirements,
       repository: 'git://github.com/openstack/requirements',
       branch: stable/juno}
    - {name: neutron,
       repository: 'git://github.com/openstack/neutron',
       branch: stable/juno}

Note that there are only two 'name' values the charm knows about: 'requirements' and 'neutron'. These repositories must correspond to these 'name' values. Additionally, the requirements repository must be specified first and the neutron repository must be specified last. All other repostories are installed in the order in which they are specified.

The following is a full list of current tip repos (may not be up-to-date):

openstack-origin-git: include-file://neutron-master.yaml

neutron-master.yaml
    repositories:
    - {name: requirements,
       repository: 'git://github.com/openstack/requirements',
       branch: master}
    - {name: oslo-concurrency,
       repository: 'git://github.com/openstack/oslo.concurrency',
       branch: master}
    - {name: oslo-config,
       repository: 'git://github.com/openstack/oslo.config',
       branch: master}
    - {name: oslo-context,
       repository: 'git://github.com/openstack/oslo.context',
       branch: master}
    - {name: oslo-db,
       repository: 'git://github.com/openstack/oslo.db',
       branch: master}
    - {name: oslo-i18n,
       repository: 'git://github.com/openstack/oslo.i18n',
       branch: master}
    - {name: oslo-messaging,
       repository: 'git://github.com/openstack/oslo.messaging',
       branch: master}
    - {name: oslo-middleware,
       repository': 'git://github.com/openstack/oslo.middleware',
       branch: master}
    - {name: oslo-rootwrap',
       repository: 'git://github.com/openstack/oslo.rootwrap',
       branch: master}
    - {name: oslo-serialization,
       repository: 'git://github.com/openstack/oslo.serialization',
       branch: master}
    - {name: oslo-utils,
       repository: 'git://github.com/openstack/oslo.utils',
       branch: master}
    - {name: pbr,
       repository: 'git://github.com/openstack-dev/pbr',
       branch: master}
    - {name: stevedore,
       repository: 'git://github.com/openstack/stevedore',
       branch: 'master'}
    - {name: python-keystoneclient,
       repository: 'git://github.com/openstack/python-keystoneclient',
       branch: master}
    - {name: python-neutronclient,
       repository: 'git://github.com/openstack/python-neutronclient',
       branch: master}
    - {name: python-novaclient,
       repository: 'git://github.com/openstack/python-novaclient',
       branch: master}
    - {name: keystonemiddleware,
       repository: 'git://github.com/openstack/keystonemiddleware',
       branch: master}
    - {name: neutron-fwaas,
       repository': 'git://github.com/openstack/neutron-fwaas',
       branch: master}
    - {name: neutron-lbaas,
       repository: 'git://github.com/openstack/neutron-lbaas',
       branch: master}
    - {name: neutron-vpnaas,
       repository: 'git://github.com/openstack/neutron-vpnaas',
       branch: master}
    - {name: neutron,
       repository: 'git://github.com/openstack/neutron',
       branch: master}

Restrictions

This charm only support deployment with OpenStack Icehouse or better.