wiki:Internal/OpenFlow/SwitchControl/Examples

Version 16 (modified by Olivera Tosic, 13 years ago) ( diff )

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

OF 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.

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
Note: See TracWiki for help on using the wiki.