[wiki:Documentation] | [wiki:Documentation/NodeHandler NodeHandler] | [wiki:Documentation/NodeHandler/Commands 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''()[[BR]] nodes(''setSelector'').''resource_path'' = ''value''[[BR]] 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 [wiki:Documentation/NodeHandler/Commands/defNodes 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.wo.essid = "orbit" nodes('sender').net.wo { |w| w.essid = "orbit" w.ip = "%192.168.%x.%y" } }}} == See Also == [wiki:Documentation/NodeHandler/Commands/allNodes allNodes]