Changes between Version 1 and Version 2 of HowTo/SetupOVSSwitch


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/SetupOVSSwitch

    v1 v2  
    11= Open vSwitch (OVS) Switch =
     2This page captures how an OVS openvswitch is set up on an Ubuntu 16 system and how it can be expanded to add !OpenFlow.
    23
    3 Running an OVS Switch on Ubuntuu 16 outlined here:
     4== Setting up the openvswitch service ==
     5
     6To run the OVS Switch on Ubuntu 16, execute the following:
    47
    58 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time.
    69
    7  2. On the node you plan to use as a switch run the following:
     10 2. On the node you plan to use as the switch run the following:
    811{{{
    912 sudo apt-get install openvswitch-switch -y
    1013}}}
    1114
    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:
     15 3. Once OVS is installed, a service script is created on your node, {{/etc/systemd/system/multi-user.target.wants/openvswitch-switch.service}}}.  This systemd script allows you to stop and start the openvswitch as a service.  Note that the openvswitch service is automatically started for you when installing the software, to check its status:
    1416{{{
    1517sudo systemctl status openvswitch-switch
     
    2224}}}
    2325
    24 Your switch is now ready to use!
     26Your OVS switch is now ready to use!
    2527
    26 --------
     28== OVS Switch from Custom Image ==
    2729
    28 If 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:
     30If you would like to skip the 4 steps above, and simply 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:
    2931{{{
    3032 <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"/>
    3133}}}
    3234
    33 ----
     35== Enable OpenFlow for OVS switch ==
    3436
    3537If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following: