Changes between Version 8 and Version 9 of Internal/OpenFlow/SwitchControl/Examples


Ignore:
Timestamp:
May 2, 2011, 12:07:40 PM (13 years ago)
Author:
Olivera Tosic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/SwitchControl/Examples

    v8 v9  
    11= SB9 Pronto 3240 Examples =
    22Pronto switches can be configured to work in one of following modes:
     3
    34 * XorPlus
    45 * OF
     
    67
    78To be able to switch between modes you have to be logged in conosole.sb9.
     9
     10== Examples ==
     11XorPlus mode
    812{{{
    913wget http://inventory.orbit-lab.org:5022/network/deleteOpenFlow?switch=10.19.0.253
    1014}}}
     15
     16OF mode
    1117{{{
    12 wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253&ip=172.16.0.14&port=6633&dpid=0x001010162001
     18wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ip=172.16.0.14\&port=6633\&dpid=0x001010162001
    1319}}}
    14 ip,port and dpid are optional, if omitted
     20ip,port and dpid are optional
     21
     22To configure switch in OpenFlow NFS mode, bootmode parameter has to be specified. Additional 3 parameters can be specified, nfsip, roottpath and bootfile. These parameters are optional. 
    1523{{{
    16 wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253&ip=172.16.0.14&port=6633&dpid=0x001010162001&bootmode=nfs&nfsip=10.50.0.10&roothpath='\/config'&bootfile=uInitrd2m
     24wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ip=172.16.0.14&port=6633&dpid=0x001010162001&bootmode=nfs&nfsip=10.50.0.10&roothpath='\/config'&bootfile=uInitrd2m
    1725}}}
    1826