Changes between Version 10 and Version 11 of HowTo/SetupOVSSwitch
- Timestamp:
- 07/11/17 13:05:53 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/SetupOVSSwitch
v10 v11 3 3 = Open vSwitch (OVS) Switch = 4 4 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 Image8 3. Configure the OVS switch from either set up to add !OpenFlow.5 This 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. 9 9 10 The sections below describe how to approach each of these three scenarios. 10 == 1. Use the self-configuring OVS Switch Custom Image (InstaGENI) == 11 A 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 15 The 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 }}} 11 19 12 == 1. Set up an OVS openvswitch as a service == 20 Your OVS switch is now ready to use and each of your dataplane interfaces will be part of the OVS bridge "br0"! 13 21 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 == 26 If you want to install and configure OVS on Ubuntu 16 instead of using the custom image described above, follow the following steps: 15 27 16 28 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time. … … 34 46 Your OVS switch is now ready to use! 35 47 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.46 48 47 49 == 3. Enable OpenFlow for OVS switch == 48 50 49 If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following:51 If you have the Open vSwtich service running and would like to add !OpenFlow to the mix, simply execute the following: 50 52 51 53 {{{