9 | | That base URL renders an XML response detailing all requests implemented by the service. Parameter values, such as to address a particular port (port #) on a particular switch (switch IP address), be passed as URL arguments in the HTTP request. For example, to retrieve the details of particular port (say 5) on the top switch ('''IP=10.19.0.253'''), the requested URL is: |
10 | | |
11 | | = Switch Control Service = |
| 11 | That base URL renders an XML response detailing all requests implemented by the service. Parameter values, such as to address a particular port (port #) on a particular switch (switch IP address), can be passed as URL arguments in the HTTP request. For example, to retrieve the details of particular port (say 5) on the SB9 switch ('''IP=10.19.0.253'''), the requested URL is: |
| 31 | |
| 32 | == Pronto 3240 Management == |
| 33 | Pronto switches can be configured for of following modes: |
| 34 | |
| 35 | * !XorPlus |
| 36 | * Production Indigo !OpenFlow image (i.e. internal flash image) |
| 37 | * User define !OpenFlow image (i.e. NFS booted image) |
| 38 | |
| 39 | To be able to switch between these modes you have to be logged in conosole.sb9. |
| 40 | |
| 41 | === Examples === |
| 42 | |
| 43 | Force switch into !XorPlus mode (i.e. out of !OpenFlow mode) |
| 44 | {{{ |
| 45 | wget http://nox.orbit-lab.org:5052/network/deleteOpenFlow?switch=10.19.0.253 |
| 46 | }}} |
| 47 | |
| 48 | Force switch into !OpenFlow mode with controller at node1-1.sb9.orbit-lab.org |
| 49 | {{{ |
| 50 | wget http://nox.orbit-lab.org:5052/network/addOpenFlow?switch=10.19.0.253\&ofip=10.19.1.1\&ofp=6633 |
| 51 | \&dpid=0x001010162001 |
| 52 | }}} |
| 53 | ofp and dpid are optional (if omitted will be configured with the default set). |
| 54 | |
| 55 | Force switch into !OpenFlow NFS mode |
| 56 | 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 (for sb9 operation NSF server is provided on the console so the experimenter should place the image file names uInitrd2m into /tftpboot directory before issiong this command) |
| 57 | |
| 58 | {{{ |
| 59 | wget http://nox.orbit-lab.org:5022/network/addOpenFlow?switch=10.19.0.253\&ofip=10.19.1.1\&ofp=6633 |
| 60 | \&dpid=0x001010162001\&bootmode=nfs\&nfsip=10.19.0.10\&roothpath='\/config'\&bootfile=uInitrd2m |
| 61 | }}} |