midonet agent #2
Description
The MidoNet agent is a daemon that runs on each of the compute nodes, reads the network configuration from zookeeper and configures the Open vSwitch kernel datapath for the virtual networking.
MidoNet Agent
Overview
This charm installs the MidoNet Agent which is the user-space component that interfaces with Apache Zookeeper to read the virtual network configuration and sets up the kernel Open vSwitch data path flows accordingly. In OpenStack deployments, the MidoNet host agent constitutes Midonet's neutron agent.
The host agent is a daemon that, as aforementioned, uses Apache Zookeeper for the distributed network configuration data store. Additionally it uses Apache Cassandra for storing ephemeral network data. This charm will install the version (upstream opensource or downstream MEM) that its midonet-origin config determines. For an example of a midonet-origin string:
"kilo/midonet-2015.03"
"kilo/mem-1.9" (this would require setting mem-username and
mem-password config)
Usage
juju deploy midonet-agent
then make it connect to the distributed data
juju add-relation midonet-agent zookeeper
juju add-relation midonet-agent cassandra
Then you can connect it to the midonet-api so that it will be added to the default tunnel zone:
juju add-relation midonet-agent midonet-api
Finally, if this is for an OpenStack compute host, relate it to nova-compute charm:
juju add-relation midonet-agent:neutron-plugin \
nova-compute:neutron-plugin
Configuration
- mem-password
- (string) The Midokura Enterprise MidoNet password credentials to access the repository.
- mem-username
- (string) The Midokura Enterprise MidoNet username credentials to access the repository.
- midonet-origin
- (string) 'mem-1.8', 'mem-1.9', 'midonet-2015.06' NOTE: updating this setting to a source that is known to provide a later version of MidoNet (do not change between MEM and MidoNet) will trigger a software upgrade.
- midonet-2015.06
- openstack-origin
- (string) Repository from which to install. May be one of the following: distro (default), ppa:somecustom/ppa, a deb url sources entry, or a supported Cloud Archive release pocket. Supported Cloud Archive sources include: cloud:<series>-<openstack-release> cloud:<series>-<openstack-release>/updates cloud:<series>-<openstack-release>/staging cloud:<series>-<openstack-release>/proposed For series=Trusty we support cloud archives for openstack-release: * juno * kilo * ... NOTE: updating this setting to a source that is known to provide a later version of OpenStack will trigger a software upgrade. NOTE: when openstack-origin-git is specified, openstack specific packages will be installed from source rather than from the openstack-origin repository.
- distro