ClusterShell tree worker Class.
|
|
|
|
|
|
|
|
|
|
|
_distribute(self,
fanout,
dst_nodeset)
distribute target nodes between next hop gateways |
source code
|
|
|
|
_copy_remote(self,
source,
dest,
targets,
gateway,
timeout,
reverse)
run a remote copy in tree mode (using gateway) |
source code
|
|
|
|
_execute_remote(self,
cmd,
targets,
gateway,
timeout)
run command against a remote node via a gateway |
source code
|
|
|
|
|
|
|
_on_remote_node_msgline(self,
node,
msg,
sname,
gateway)
remote msg received |
source code
|
|
|
|
_on_remote_node_rc(self,
node,
rc,
gateway)
remote rc received |
source code
|
|
|
|
_on_remote_node_timeout(self,
node,
gateway)
remote node timeout received |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_write_remote(self,
buf)
Write buf to remote clients only. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Worker.DistantWorker:
iter_buffers,
iter_errors,
iter_keys_timeout,
iter_node_buffers,
iter_node_errors,
iter_node_retcodes,
iter_retcodes,
last_error,
last_node,
last_read,
last_retcode,
node_buffer,
node_error,
node_error_buffer,
node_rc,
node_retcode,
num_timeout
Inherited from Worker.Worker:
did_timeout,
flush_buffers,
flush_errors,
read
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|