26 | | has been commented and an new function setPxeEnvMulti has been implemented. |
| 26 | has been commented and an new function setPxeEnvMulti has been implemented. |
| 27 | |
| 28 | '''Backward compatibility between the Ruby version of CMC, PXE and the nodeHandler (Changes only in CMC and PXE)''' |
| 29 | |
| 30 | 1) The pxe.rb file from version rel-3.2.3 has been used. |
| 31 | |
| 32 | 2) The following changes have been made to cmc.rb, |
| 33 | a) def CMCService.mount(prefix = '/cmc') |
| 34 | <service name="off"> |
| 35 | <info>Switch on a node at a specific coordinate</info> |
| 36 | <args><arg name="x" value="x_coord"/></args> |
| 37 | <args><arg name="y" value="y_coord"/></args> |
| 38 | </service> |
| 39 | |
| 40 | GridService.mount("#{prefix}/off", SwitchOffNodeServlet) |
| 41 | ''The above lines have been added'' |
| 42 | |
| 43 | b) "class SwitchOffNodeServlet" ''has been added''. |