Version 6 (modified by 19 years ago) ( diff ) | ,
---|
Documentation | NodeHandler | Commands | nodes
nodes: Address a set of nodes
This command allows the experimenter to send commands and configure resources on all nodes simultaneously.
Syntax
nodes(setSelector).command()
nodes(setSelector).resource_path = value
nodes(setSelector).resource_path {…}
- setSelector: The set of nodes to use
- command: Command to issue on the set.
- resource_path: Path to resource.
- value: Value to assign to resource.
The supported syntax for the setSelector can be found in defNodes where it is simply called selector.
The list of commands currently defined can be found missing. A description of the resource paths can be found mssing.
Usage
nodes('sender1').startApplications nodes(['s1', 'r1']).net.w0.essid = "orbit" nodes('sender').net.w0 { |w| w.essid = "orbit" w.ip = "%192.168.%x.%y" }
See Also
Note:
See TracWiki
for help on using the wiki.