| 23 | ==== HTTP commands ==== |
| 24 | |
| 25 | These are the commands that can be accessed through HTTP. They all return XML pages with the success or failure of the command |
| 26 | |
| 27 | || /<command> || || |
| 28 | || /HardOff || Hard power off command || |
| 29 | || /SoftOff || Soft power off command || |
| 30 | || /Reset || Resets the node || |
| 31 | || /PowerOn || Turns node on || |
| 32 | || /LantronixReset || Resets lantronix device (CM) || |
| 33 | || /Status || Returns the power state of the node|| |
| 34 | |
| 35 | These commands are entered after the cm address, i.e. |
| 36 | {{{ |
| 37 | http://10.1.x.x/Reset |
| 38 | }}} |
| 39 | |
| 40 | Format for the XML return pages is as follows. |
| 41 | ===== Success ===== |
| 42 | <<command>> OK </<command>> |
| 43 | e.g. |
| 44 | {{{ |
| 45 | <Reset>OK<Reset> |
| 46 | }}} |
| 47 | |
| 48 | ===== Failure ===== |
| 49 | <error><command></error> |
| 50 | e.g. |
| 51 | {{{ |
| 52 | <error>Reset</error> |
| 53 | }}} |
| 54 | |
| 55 | ===== Status ===== |
| 56 | <power>on/off</power> |
87 | | ==== HTTP commands ==== |
88 | | |
89 | | There are 5 commands that can be accessed through HTTP |
90 | | |
91 | | || /<command> || || |
92 | | || /HardOff || Hard power off command || |
93 | | || /SoftOff || Soft power off command || |
94 | | || /Reset || Resets the node || |
95 | | || /PowerOn || Turns node on || |
96 | | || /LantronixReset || resets lantronix device (CM) || |
97 | | |
98 | | These commands are entered after the cm address, i.e. |
99 | | {{{ |
100 | | http://10.1.x.x/Reset |
101 | | }}} |
102 | | If the cm has not been accessed through http prior since the last reset, then it will ask for the administrative username and password. |
103 | | |