The MidoNet host 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.
Copyright (c) 2015 Midokura SARL, All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This charm installs the MidoNet Host 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-repository
juju deploy midonet-host-agent
then relate to a puppet repository config provider
juju add-relation midonet-host-agent midonet-repository
juju add-relation midonet-host-agent mem-repository
then make it connect to the distributed data
juju add-relation midonet-host-agent zookeeper
juju add-relation midonet-host-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-host_agent midonet-api
Finally, if this is for a compute host, relate it to nova-compute
juju add-relation midonet-host-agent:neutron-plugin nova-compute:neutron-plugin