Midonet Kilo Release

Midonet Deployment

  • According to this page, Midostack is not an option for us because it is deprecated in favor of Devstack
  • According to the instruction on this page, the Current devstack version is kilo
  • According to this page Current midonet version is v2015.03

Steps for install Midonet on kilo version Devstack

  1. Go to https://horizon.csail.mit.edu and login through horizon dashboard
  2. Before you create an instance, you should have your ssh public uploaded, have your ssh security group added. Then create an instance using the image of ubuntu 14.04-LTS-i386, and assign your uploaded ssh public key pair to the instance and set ‘inet’ as the network. Flavor should be at least have 4, recommend 8GB RAM.
    • After creating the instance, it will automatically give your a floating IP address, which is the IP address of your instance.
  3. ssh into the VM
    `$ ssh ubuntu@128.52.181.207` (the ip address here is random selected here and it should match your instance IP address )
  1. Once you shh the VM, first install git using:
    `$ sudo apt-get install git`

Then install the devstack:

    `git clone http://github.com/openstack-dev/devstack`
    
    `cd devstack`

After install devstack, you need to create a new file called ‘local.conf’ and copy the following snippet to the file you just created:

    `$ sudo vim local.conf`

         #!/usr/bin/env bash
         [[local|localrc]]
         # Specify Neutron plugin to use
         Q_PLUGIN_CLASS=neutron.plugins.midonet.plugin.MidonetPluginV2

         # Load the devstack plugin for midonet
         enable_plugin networking-midonet http://github.com/openstack/networking-midonet.git

         # Load the LBaaS driver for midonet
         enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas
         NEUTRON_LBAAS_SERVICE_PROVIDERV1="LOADBALANCER:Midonet:midonet.neutron.services.loadbalancer.
         driver.MidonetLoadbalancerDriver:default"

         enable_service horizon

In the Q_PLUGIN_CLASS, we specify the version of kilo plugin that for installing midonet. For more details, please go to http://wiki.midonet.org/Devstack and https://github.com/openstack/networking-midonet/tree/master/devstack

  1. Install the Devstack ./stack.sh It will take a while to install. After installation, type the IP address in your browser and login through Horizon dashboard to see if there is a tab called Network under the Project tab.

Current Status

Successfully Install Devstack with Midonet Plugin on the instance hosted on CSAIL Opentack.