Changes between Version 5 and Version 6 of HowTo/SetupOVSSwitch


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

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/SetupOVSSwitch

    v5 v6  
    33= Open vSwitch (OVS) Switch =
    44
    5 This page captures how to setup an OVS openvswitch is set up on an Ubuntu 16 system and how it can be expanded to add !OpenFlow.
     5This page captures how to:
     6 1. Setup an OVS openvswitch as a service,
     7 2. Or use an OVS Switch from a fully configured Custom Image
     8 3. Configure the OVS switch from either set up to add !OpenFlow.
    69
    7 == Setting up the openvswitch service ==
     10The sections below capture ho
    811
    9 To run the OVS Switch on Ubuntu 16, execute the following:
     12== 1. Set up an OVS openvswitch as a service ==
     13
     14To set up the OVS openvswitch as a service on Ubuntu 16, execute the following:
    1015
    1116 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time.
     
    1621}}}
    1722
    18  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:
     23 3. Once OVS is installed, a service script is available 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:
    1924{{{
    2025sudo systemctl status openvswitch-switch
    2126}}}
    2227
    23  4. A script [https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh geniovs.sh] is available to create a bridge and add the dataplane interfaces:
     28 4. A script [https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh geniovs.sh] is available to create an oVS bridge and add the dataplane interfaces:
    2429{{{
    2530wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh
     
    2934Your OVS switch is now ready to use!
    3035
    31 == OVS Switch from Custom Image ==
     36== 2. Use OVS Switch from Custom Image ==
    3237
    3338If 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:
     
    3641}}}
    3742
    38 == Enable OpenFlow for OVS switch ==
     43== 3. Enable OpenFlow for OVS switch ==
    3944
    4045If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following: