Changes between Initial Version and Version 1 of Old/NodeHandler/Commands/nodes


Ignore:
Timestamp:
Apr 13, 2006, 12:48:14 PM (18 years ago)
Author:
max
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/NodeHandler/Commands/nodes

    v1 v1  
     1= nodes: Address a set of nodes =
     2
     3This command allows the experimenter to send commands and configure resources on all nodes simultaneously.
     4
     5
     6== Syntax: nodes(nodeSet).command(), allNodes(nodeSet).resource_path = value, allNodes(nodeSet).resource_path {...} ==
     7
     8  * '''nodeSet''': The set of nodes to use
     9  * '''command''': Command to issue on the set.
     10  * '''resource_path:''' Path to resource.
     11  * '''value:''' Value to assign to resource.
     12
     13The list of commands currently defined can be found '''missing'''. A description of the resource paths can be found '''mssing'''.
     14
     15== Usage ==
     16
     17{{{
     18nodes('sender1').startApplications
     19nodes(['s1', 'r1']).net.wo.essid = "orbit"
     20nodes('sender').net.wo { |w|
     21  w.essid = "orbit"
     22  w.ip = "%192.168.%x.%y"
     23}
     24}}}
     25
     26
     27
     28
     29== See Also ==
     30
     31[wiki:Documentation/NodeHandler/Commands/allNodes allNodes]