| | 1 | = nodes: Address a set of nodes = |
| | 2 | |
| | 3 | This 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 | |
| | 13 | The list of commands currently defined can be found '''missing'''. A description of the resource paths can be found '''mssing'''. |
| | 14 | |
| | 15 | == Usage == |
| | 16 | |
| | 17 | {{{ |
| | 18 | nodes('sender1').startApplications |
| | 19 | nodes(['s1', 'r1']).net.wo.essid = "orbit" |
| | 20 | nodes('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] |