Configuring MidoNet as a Neutron Backend

Configuring MidoNet as a Neutron Backend

This guide assumes that your undercloud is already installed and ready to deploy an overcloud

Deploying the overcloud


You need to build the overcloud image with the overcloud-network-midonet element to have the midonet packages installed on the overcloud-full.qcow2 image. If you have that image, you won’t be able to run overcloud without MidoNet, since MidoNet packages uninstall openvswitch packages.

  1. Copy the MidoNet configuration file to your home directory:

    sudo cp /usr/share/openstack-tripleo-heat-templates/environments/neutron-midonet.yaml ~
  2. Edit the permissions (user is typically stack):

    sudo chown $USER ~/neutron-midonet.yaml
    sudo chmod 644 ~/neutron-midonet.yaml
  3. Edit the file. There are several commented options that you can configure. DO NOT EDIT THE UNCOMMENTED ONES

  4. Continue following the TripleO instructions for deploying an overcloud. Before entering the command to deploy the overcloud, add the environment file that you just configured as an argument:

    openstack overcloud deploy --templates -e ~/neutron-midonet.yaml
  5. Wait for the completion of the overcloud deployment process.

Using Network Isolation

MidoNet is compatible with network isolation, but you can not configure the NICs using openvswitch, but with linux bridges. So an example of deployment with Network Isolation could be:

openstack overcloud deploy --templates -e ~/neutron-midonet.yaml \
    -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
    -e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-linux-bridge-with-vlans.yaml
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.