Changes between Version 3 and Version 4 of Internal/OpenFlow/Firmware


Ignore:
Timestamp:
Jun 26, 2009, 6:37:59 PM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Firmware

    v3 v4  
    11= Flashing NEC Switches =
     2
    23
    34NEC provides two models of switch that supports !OpenFlow, the IP8800/S3640-24T2XW and the IP8800/S3640-48T2XW.
    45The switches must be manually flashed with !OpenFlow capable firmware to make them !OpenFlow capable. This page explains how to flash the switch to make it !OpenFlow capable.
     6
     7
     8== Overview ==
     9This article is part summary of the !OpenFlow manual NEC provides with the switches, and a documentation of some details that might be worth mentioning.   
    510
    611
     
    1318
    1419
    15 == Overview ==
     20== General steps ==
    1621These are the general steps required to get the switch up and running as an !OpenFlow device:
    17 
     22 
     23 1. Log into switch (this assumes you have already configured everything so you can talk to your switch)
    1824 1. Create VLANs
    1925 1. Create openflow.conf
    2026 1. Save k.img, license.dat, and openflow.conf onto SD card
    21  1. Cold boot switch off of SD card
     27 1. Cold boot switch off of SD card (the manual says a reboot is sufficient, but this was not the case)
    2228 1. Enjoy
    2329
     30The VLANs can also be configured after the switch has been booted off of the !OpenFlow firmware. 
    2431
    2532
    26 = Some Caveats =
     33= The Caveats =
     34Although the manual does a pretty good job at explaining how to do things, some things might be worth mentioning. The following are a summary of things that might be sort of important.
    2735
    2836== The SD card ==
    2937NEC provides a certified SD card with the switch. They recommend that you only use this card.
    30 
    31 
    3238
    3339== The License ==
     
    4955}}}
    5056
    51 In this case, "WA03CL48T2XWS0E0693K007" is the serial number and should match the name of the correct license for this specific switch. 
     57In this case, "WA03CL48T2XWS0E0693K007" (in the first entry under "H/W: Main board) is the serial number and matches the name of the correct license for this specific switch. 
    5258
    53 '''Note: ''' If the license is named after the switch's serial number, the license must be renamed to "license.dat."     
     59'''Note: ''' If the license is named after the switch's serial number, the license must be renamed to "license.dat" before saving onto the SD card .
    5460
    5561
    56 == Creating the openflow.conf file ==
     62== openflow.conf ==
    5763
    58 openflow.conf is a simple text file that contains !OpenFlow specific configurations. The following are the three parameters you can specify in the file.
     64openflow.conf is a text file that contains configurations specific to !OpenFlow switching, or [wiki:Documentation/OpenFlow/VirtualSwitch virtual switching]. The details about the commands that can be used in the file are on pages 12-13 of the NEC manual. Following are a few notes about the commands.
    5965
    6066=== `no-save` ===
    61 when specified in the .conf file, configuration changes won't be saved to the SD card. ''' Specifying this parameter in openflow.conf will prevent you from creating and removing virtual switches from the CLI. '''
     67Specifying this parameter in openflow.conf will prevent you from configuring virtual switches through the CLI (i.e, create new virtual switches). Because the firmware does not include text editors, once you have this parameter on your .conf file you will have to edit your file on a PC if you want to change anything. Basically, if you are planning to change things around after the switch has been booted into !OpenFlow, it is better not to specify this command. 
    6268
    6369=== `double-wide-mode` ===
    64 When specified, all ten !OpenFlow specific header fields will be matched.
     70When specified, all ten !OpenFlow specific header fields will be matched.  
    6571
    6672=== `setvsi` ===
    67 '' more detailed use of this parameter can be found in the [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch] article. ''
    68 
    69 Creates an instance of a [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch]. You can also use this configuration command from the CLI.
     73Creates an instance of a [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch] on a VLAN. You can also use this configuration command from the CLI.
    7074
    7175`setvsi` is followed by several parameters:     
     
    7377`setvsi <vlan id> <list of ports> <tcp|ssl> <controller ip address[:port]> [<cacert> <my cert> <my private key>] [dpid <datapath id>] [hwlimit <max entrynum>] [max-backoff <backoff time>] [echo-interval <interval time>]`
    7478
    75 to get `setvsi` working at minimal, you need only the following parameters:
     79not all parameters need to be used with `setvsi`. The following are the minimal parameters you need to get a virtual switch going:
    7680
    7781`setvsi <vlan id> <list of ports> <tcp|ssl> <controller ip address[:port]> [dpid <datapath id>]`
    7882
    7983
     84== Example openflow.conf file ==
    8085
    81 == Example openflow.conf file ==
    82 openflow.conf resides in /mnt/ once the switch is booted.
     86openflow.conf resides in /mnt/ .
    8387
    8488{{{
     
    9195}}}
    9296
    93 Note that the `no-save` option is omitted to make editing from the CLI easier. 
    9497
     98
     99