wiki:Internal/OpenFlow/SwitchControl/Examples

Version 10 (modified by Olivera Tosic, 14 years ago) ( diff )

SB9 Pronto 3240 Examples

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

  • XorPlus5
  • OF
  • OF NFS

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

Examples

XorPlus5 mode

wget http://inventory.orbit-lab.org:5022/network/deleteOpenFlow?switch=10.19.0.253

OF mode

wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ip=172.16.0.14\&port=6633\&dpid=0x001010162001

ip,port and dpid are optional

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.

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