| 729 | This section goes over the !OpenFlow aspects of the switch. |
| 730 | == 4.1 What is !OpenFlow? == #intro |
| 731 | !OpenFlow is a virtualization technology developed by Stanford. Ideally, it allows administrators and researchers to configure the switch's behavior freely, without constraints of TCP/IP or the native firmware. This is achieved by removing traffic switching decisions off of the switch and onto an external, highly configurable controller. More on !OpenFlow can be found at http://www.openflowswitch.org. |
| 732 | |
| 733 | The switch supports !OpenFlow in the form of virtual switches, or "datapaths" that overlay VLAN configurations; Each separate VLAN residing on the same device can be instantiated as a virtual switch that can be controlled by separate controllers and/or scripts, or be kept as a traditional VLAN that does commodity switching. |
| 734 | |
| 735 | == 4.2 Outline == #outline |
| 736 | In order to make the switch !OpenFlow capable, you need to flash the switch with an SD card containing specialized firmware. The rough outline of the steps are the following: |
728 | | == 4.1 What is !OpenFlow? == #intro |
729 | | == 4.2 Preparation == #prep |
730 | | Materials |
731 | | disable STP |
732 | | vlan, port configs |
733 | | == 4.3 Flashing the switch == #flash |
| 738 | 1. disable Spanning Tree (STP) |
| 739 | 1. configure VLANs and ports, telnet |
| 740 | 1. copy firmware and license to SD card |
| 741 | 1. add openflow.conf to SD card |
| 742 | 1. reboot switch with SD card |
| 743 | 1. configure virtual switches |
| 744 | |
| 745 | Since it is easier to describe using examples, this process will be described using the steps involved in configuring [http://orbit-lab.org/wiki/Internal/OpenFlow/OrbitSwitches/sw-sb-combined sw-sb-01], one of the aggregate Sand Box switches currently running in !OpenFlow mode. |
| 746 | |
| 747 | == 4.3 Configuring the switch == #ofconf |
| 748 | This section corresponds to steps 1 and 2 in the Outline. Because virtual switches are based on VLANs, all port and VLAn configs should be done before flashing. This part of the setup is just normal configuration using `vlan`, `interface vlan`, and `interface gigabitethernet` contexts. |
| 749 | |
| 750 | == 4.4 Preparing the SD card == #sdprep |