Changes between Initial Version and Version 1 of HowTo/SetupOVSSwitch


Ignore:
Timestamp:
06/27/17 14:09:32 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/SetupOVSSwitch

    v1 v1  
     1= Open vSwitch (OVS) Switch =
     2
     3Running an OVS Switch on Ubuntuu 16 outlined here:
     4
     5 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time.
     6
     7 2. On the node you plan to use as a switch run the following:
     8{{{
     9 sudo apt-get install openvswitch-switch -y
     10}}}
     11
     12 3. Once OVS is installed, a service script is created on your node:
     13{{{/etc/systemd/system/multi-user.target.wants/openvswitch-switch.service}}}.  This allows you to stop and start the openvswitch server.  Service is automatically started for you, to check it status:
     14{{{
     15sudo systemctl status openvswitch-switch
     16}}}
     17
     18 4. A script [https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh geniovs.sh] is available to the dataplane interface to the OVS bridge:
     19{{{
     20wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh
     21sh ./geniovs.sh
     22}}}
     23
     24Your switch is now ready to use!
     25
     26--------
     27
     28If you would like to skip the 4 steps above, and simple load a custom image that has the OVS service running with all dataplane interface on its bridge, then you can use the custom image below:
     29{{{
     30 <disk_image url="https://www.instageni.sox.net/image_metadata.php?uuid=06c6ff42-5aa4-11e7-9a2c-000000000000" name="urn:publicid:IDN+instageni.sox.net+image+ch-geni-net:OVSnonOF:0"/>
     31}}}
     32
     33----
     34
     35If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following:
     36
     37{{{
     38  sudo ovs-vsctl set-fail-mode br0 secure
     39  sudo ovs-vsctl set-controller br0 tcp:<controller_ip>:6633
     40}}}