Changes between Version 18 and Version 19 of Internal/OpenFlow/QuantaSetup


Ignore:
Timestamp:
Sep 4, 2012, 10:27:31 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/QuantaSetup

    v18 v19  
    88 [#II II LB9A facilities] - the bootloader, firmware and their modes, hardware, and how to get to them[[BR]]
    99 [#III III A u-boot Primer] - using the bootloader to configure and troubleshoot[[BR]]
    10  [#IV IV OpenFlow Switching] - setting up !OpenFlow mode - flashing the switch, configuring through u-boot and grid services[[BR]]
     10 [#IV IV OpenFlow Switching] - setting up !OpenFlow mode [[BR]]
    1111 
    1212== I. Preparations == #I
     
    319319 
    320320== IV !OpenFlow Switching == #IV
    321 This section provides example uses of the u-Boot facilities for manipulating the !OpenFlow properties of the LB9A. We will also introduce the ORBIT Grid Service facilities that can be used to configure the switch without dealing with the gory details of u-boot (given the switch has the proper firmware, that is).
    322  
     321the newest method of upgrading the firmware to the !OpenFlow capable one (Indigo) does not require messing around with u-Boot. If for some reason the old method is needed, it is found [#old here].   
     322
    323323== 4.1 Installation == 
    324324Here we go over how to flash the switch with the proper firmware. Caution is needed so as not to brick the switch. Several steps might reiterate things from the previous sections, since this section was actually written way before the other sections.
     
    333333connect
    334334}}}
     335
     336Start up the switch. Eventually you will be given three or four boot options, depending on your firmware. Choose the system shell.
     337
     338== 4.2 update the firmware. ==
     339=== 4.2.1. Getting the image ===
     340Get the latest tarball from [http://www.openflowhub.org/display/Indigo/Indigo+-+Download+Page openflowhub.org]. Currently this is indigo-2012.03.19-pronto-3290.tgz, and it contains, along with some docs, three files that make up the image:
     341
     342 1. uImage-pronto-3290
     343 1. uInitrd2m-indigo-2012.03.19-pronto-3290
     344 1. device-tree.dtb-pronto-3290
     345
     346The files must be renamed to uImage, uInitrd2m, and LB9A.dtb, respectively, before they can be used.
     347
     348=== 4.2.2. Move the files ===
     349Connect one of the switch's management ports, labeled ETH1 and ETH2, to the network. These two ports map to eth0 and eth1; configure them appropriately using `ifconfig` and `route`.
     350{{{
     351ifconfig eth0 inet 192.168.203.156 netmask 0xfffffc00
     352route add default gw 192.168.200.1
     353}}}
     354
     355Next, copy the three files mentioned above to /cf_card . this can be done with either `tftp` or `scp`. If it hasn't been done already, rename the files appropriately.
     356
     357=== 4.2.3. Final configs and reboot ===
     358The switch is configured by a startup script that reads the contents of /cf_card/local/sysenv . If not there, create the file, adding one line for the management IP:
     359{{{
     360mkdir /cf_card/local/
     361cd /cf_card/local/
     362cat > sysenv
     363export switch_ip=192.168.203.156
     364^D
     365}}}
     366And reboot the switch. If all is well, the switch will be running the new firmware. 
     367
     368=== 4.3. The Web GUI ===
     369once the switch starts back up, pointing the browser to the management IP should bring up the management page:
     370{{{
     371http://192.168.203.156
     372}}}
     373 
     374----
     375=== U-Boot method (old) === #old
     376
     377This section provides example uses of the u-Boot facilities for manipulating the !OpenFlow properties of the LB9A. We will also introduce the ORBIT Grid Service facilities that can be used to configure the switch without dealing with the gory details of u-boot (given the switch has the proper firmware, that is).
    335378
    336379Fire up the switch. If you see the U-Boot banner, you can stop the boot process (hit ctrl-c) so you can copy/burn the images onto flash.