Version 7 (modified by, 9 years ago) (diff)


Two Ubuntu images were created with an upstart script that will automatically configure an OVS switch with ports connected to each of the data interfaces. These are the step it takes:

  1. create an OVS switch br-switch
  2. find all interfaces that start with eth and are not the control interface
  3. add these interfaces as ports to br-switch
  4. set the fail mode to "secure"
  5. (IG only) if a controller is specified in the rspec, it will set that controller on the OVS switch.


$ sudo ovs-vsctl show
sudo: unable to resolve host VM
    Bridge br-switch
        fail_mode: secure
        Port "eth2"
            Interface "eth2"
        Port br-switch
            Interface br-switch
                type: internal
        Port "eth1"
            Interface "eth1"
    ovs_version: "1.9.3"



version: fae8cd4bd06956a47b1769190eb99f9e61bb543e


"url": "",
"urn": ""

Git repository

This repository is only accessible within BBN.

Regina Updates to Ubuntu 14 Images


"url": "",

"urn": ""

Notes on creating the image:

  1. Start with the OpenFlow OVS All Xen rspec from the portal, but delete the disk image directive for the ovs host. Get the git repo of ovstool and copy it over to the GENI Ubuntu 14 image:
  1. On the image, type:
       sudo apt-get update
       sudo apt-get install openvswitch-switch qemu-kvm libvirt-bin
       sudo cp geniovs.conf /etc/init
       sudo cp /usr/bin/
       sudo cp /usr/bin/
       sudo chmod +x /usr/bin/
       sudo chmod +x /usr/bin/
       cd /etc/init.d/
       sudo ln -s /lib/init/upstart-job geniovs
  1. Where you have omni access to create the image, for example slice myimage: sliverstatus -a gpo-ig myimage -o

Find the sliver information associated with the ovs host and then type but substitute your urn information: createimage -a gpo-ig myimage ubuntu14ovs -u


   24  apt-get update
   25  apt-get install openvswitch-switch qemu-kvm libvirt-bin
   26  wget
   27  chmod +x
   28  dpkg -i exogeni-geni-get_1.1-1_all.deb
   29  cp geniovs.conf /etc/init
   30  cp /usr/bin
   31  cp /usr/bin
   32  chmod +x /usr/bin/
   33  chmod +x /usr/bin/getcontroller
   37  rm exogeni-geni-get_1.1-1_all.deb
   38  rm geniovs*
   40  rm
   41  rm README
   43  ./ -n ubuntu14.04-ovs-1.0.0 -s 2G -d /tmp -u
   44  cd /tmp/
   46  sha1sum ubuntu14.04-ovs-1.0.0.xml