Changes between Version 5 and Version 6 of HowTo/SetupOVSSwitch
- Timestamp:
- 06/27/17 14:25:12 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/SetupOVSSwitch
v5 v6 3 3 = Open vSwitch (OVS) Switch = 4 4 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. 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. 6 9 7 == Setting up the openvswitch service == 10 The sections below capture ho 8 11 9 To run the OVS Switch on Ubuntu 16, execute the following: 12 == 1. Set up an OVS openvswitch as a service == 13 14 To set up the OVS openvswitch as a service on Ubuntu 16, execute the following: 10 15 11 16 1. Request your topology via omni or GENI Portal. Current default image version is Ubuntu 16, which will change over time. … … 16 21 }}} 17 22 18 3. Once OVS is installed, a service script is createdon 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: 19 24 {{{ 20 25 sudo systemctl status openvswitch-switch 21 26 }}} 22 27 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: 24 29 {{{ 25 30 wget https://raw.githubusercontent.com/GENI-NSF/geni-support/master/Utilities/geniovs.sh … … 29 34 Your OVS switch is now ready to use! 30 35 31 == OVS Switch from Custom Image ==36 == 2. Use OVS Switch from Custom Image == 32 37 33 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: … … 36 41 }}} 37 42 38 == Enable OpenFlow for OVS switch ==43 == 3. Enable OpenFlow for OVS switch == 39 44 40 45 If you have the openvswitch service running and would like to add !OpenFlow to the mix, simply execute the following: