Changes between Version 8 and Version 9 of Internal/OpenFlow/SwitchControl/Examples
- Timestamp:
- May 2, 2011, 12:07:40 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/SwitchControl/Examples
v8 v9 1 1 = SB9 Pronto 3240 Examples = 2 2 Pronto switches can be configured to work in one of following modes: 3 3 4 * XorPlus 4 5 * OF … … 6 7 7 8 To be able to switch between modes you have to be logged in conosole.sb9. 9 10 == Examples == 11 XorPlus mode 8 12 {{{ 9 13 wget http://inventory.orbit-lab.org:5022/network/deleteOpenFlow?switch=10.19.0.253 10 14 }}} 15 16 OF mode 11 17 {{{ 12 wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253 &ip=172.16.0.14&port=6633&dpid=0x00101016200118 wget http://inventory.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ip=172.16.0.14\&port=6633\&dpid=0x001010162001 13 19 }}} 14 ip,port and dpid are optional, if omitted 20 ip,port and dpid are optional 21 22 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. 15 23 {{{ 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=uInitrd2m24 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 17 25 }}} 18 26