ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP.pm
(Generate patch)

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.77 by elmex, Thu Sep 3 07:57:30 2009 UTC vs.
Revision 1.78 by root, Thu Sep 3 20:16:36 2009 UTC

158 158
159=item $nodeid = node_of $port 159=item $nodeid = node_of $port
160 160
161Extracts and returns the node ID from a port ID or a node ID. 161Extracts and returns the node ID from a port ID or a node ID.
162 162
163=item configure $profile, key => value...
164
163=item configure key => value... 165=item configure key => value...
164 166
165Before a node can talk to other nodes on the network (i.e. enter 167Before a node can talk to other nodes on the network (i.e. enter
166"distributed mode") it has to configure itself - the minimum a node needs 168"distributed mode") it has to configure itself - the minimum a node needs
167to know is its own name, and optionally it should know the addresses of 169to know is its own name, and optionally it should know the addresses of
174 176
175=item step 1, gathering configuration from profiles 177=item step 1, gathering configuration from profiles
176 178
177The function first looks up a profile in the aemp configuration (see the 179The function first looks up a profile in the aemp configuration (see the
178L<aemp> commandline utility). The profile name can be specified via the 180L<aemp> commandline utility). The profile name can be specified via the
179named C<profile> parameter. If it is missing, then the nodename (F<uname 181named C<profile> parameter or can simply be the first parameter). If it is
180-n>) will be used as profile name. 182missing, then the nodename (F<uname -n>) will be used as profile name.
181 183
182The profile data is then gathered as follows: 184The profile data is then gathered as follows:
183 185
184First, all remaining key => value pairs (all of which are conveniently 186First, all remaining key => value pairs (all of which are conveniently
185undocumented at the moment) will be interpreted as configuration 187undocumented at the moment) will be interpreted as configuration

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines