wiki:Old/omf-4.4/NodeHandler/Commands/allNodes

Version 2 (modified by max, 18 years ago) ( diff )

allNodes: Address all Nodes

This command allows the experimenter to send commands and configure resources on all nodes simultaneously.

Syntax: allNodes.command(), allNodes.resource_path = value, allNodes.resource_path {…}

  • command: Command to issue on all nodes.
  • resource_path: Path to resource.
  • value: Value to assign to resource.

The list of commands currently defined can be found missing. A description of the resource paths can be found mssing.

Usage

allNodes.startApplications
allNodes.net.wo.essid = "orbit"
allNodes.net.wo { |w|
  w.essid = "orbit"
  w.ip = "%192.168.%x.%y"
}

See Also

[Documentation/NodeHandler/Commands/nodes]

Note: See TracWiki for help on using the wiki.