Changes between Version 10 and Version 11 of HowTo/SetupOVSSwitch


Ignore:
Timestamp:
07/11/17 13:05:53 (7 years ago)
Author:
Vic Thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/SetupOVSSwitch

    v10 v11  
    33= Open vSwitch (OVS) Switch =
    44
    5 This 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.
     5This page shows how to:
     6 1. Use an OVS Switch from a self-configuring Custom Image available to all experimenters
     7 1. Or, set up and configure OVS on Ubuntu 16
     8 1. Turn an OVS switch set up using one of the above methods into an OpenFlow switch.
    99
    10 The sections below describe how to approach each of these three scenarios.
     10== 1. Use the self-configuring OVS Switch Custom Image (InstaGENI) ==
     11A self-configuring custom image that has OVS installed is available to all GENI experimenters.  This image, on startup, automatically:
     12   i. Creates a bridge (switch)
     13   i. Adds all data plane interface to ports on the bridge
     14   i. Puts the bridge in standalone more
     15The following RSpec snippet includes the URL and URN for this custom image:
     16{{{
     17 <disk_image url="https://www.instageni.sox.net/image_metadata.php?uuid=93e879bf-5c25-11e7-9a2c-000000000000" name="urn:publicid:IDN+instageni.sox.net+image+ch-geni-net:OVSnonOF:0"/>
     18}}}
    1119
    12 == 1. Set up an OVS openvswitch as a service ==
     20Your OVS switch is now ready to use and each of your dataplane interfaces will be part of the OVS bridge "br0"!
    1321
    14 To set up the OVS openvswitch as a service on Ubuntu 16, execute the following:
     22'''Note:''' IP is disabled on all data plane interfaces of the VM containing this OVS switch.  A file '''''/tmp/InterfacesInfo''''' on the OVS switch includes all interface information before IP was shutdown.
     23
     24
     25== 2. Install and create an OVS switch on Ubuntu 16 ==
     26If you want to install and configure OVS on Ubuntu 16 instead of using the custom image described above, follow the following steps:
    1527
    1628 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time.
     
    3446Your OVS switch is now ready to use!
    3547
    36 == 2. Use OVS Switch from Custom Image ==
    37 
    38 If 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:
    39 {{{
    40  <disk_image url="https://www.instageni.sox.net/image_metadata.php?uuid=93e879bf-5c25-11e7-9a2c-000000000000" name="urn:publicid:IDN+instageni.sox.net+image+ch-geni-net:OVSnonOF:0"/>
    41 }}}
    42 
    43 Your OVS switch is now ready to use and each of your dataplane interfaces will be part of the OVS bridge "br0"!
    44 
    45 '''Note:''' IP is disabled on all data plane interfaces of the VM containing this OVS switch.  A file '''''/tmp/InterfacesInfo''''' on the OVS switch includes all interface information before IP was shutdown.
    4648
    4749== 3. Enable OpenFlow for OVS switch ==
    4850
    49 If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following:
     51If you have the Open vSwtich service running and would like to add !OpenFlow to the mix, simply execute the following:
    5052
    5153{{{