wiki:OVSTool

Version 1 (modified by Jeanne Ohren, 5 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.

Example:

$ sudo ovs-vsctl show
sudo: unable to resolve host VM
caf49df6-ead4-45a0-ba21-07e65ced5ad2
    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"

Images

ExoGENI:

url: http://www.gpolab.bbn.com/experiment-support/images/ovstool/ubuntu12.04-ovs-1.0.0.xml
version: fae8cd4bd06956a47b1769190eb99f9e61bb543e

InstaGENI:

"url": "https://www.instageni.wisc.edu/image_metadata.php?uuid=9e39d771-c1cf-11e3-853f-000000000000",
"urn": "urn:publicid:IDN+instageni.wisc.edu+image+ch-geni-net:U1204OVSautoconfv5"

Git repository

This repository is only accessible within BBN.

trac.gpolab.bbn.com:/srv/git/ovstools.git