wiki:Internal/OpenFlow/SwitchControl/Examples

SB9 Pronto 3240 Examples

Pronto switches can be configured to work in one of following modes:

  • XorPlus
  • OF
  • OF NFS

To be able to switch between modes you have to be logged in conosole.sb9.

Examples

XorPlus mode

wget http://internal2dmz.orbit-lab.org:5052/network/deleteOpenFlow?switch=10.19.0.253

OpenFlow mode

wget http://internal2dmz.orbit-lab.org:5052/network/addOpenFlow?switch=10.19.0.253\&ofip=172.16.0.14\&ofp=6633
\&dpid=0x001010162001

ofip, ofp and dpid are optional, if omitted will be configured whit initially set parameters.

OpenFlow NFS mode To 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, if omitted will be configured whit initially set parameters.

wget http://internal2dmz.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ofip=172.16.0.14\&ofp=6633
\&dpid=0x001010162001\&bootmode=nfs\&nfsip=10.50.0.10\&roothpath='\/config'\&bootfile=uInitrd2m
Last modified 9 years ago Last modified on Apr 25, 2012, 12:18:23 AM
Note: See TracWiki for help on using the wiki.