| Trees | Indices | Help |
|
|---|
|
|
ClusterShell ssh-based worker Class.
Remote Shell (ssh) usage example:
>>> worker = WorkerSsh(nodeset, handler=MyEventHandler(), ... timeout=30, command="/bin/hostname") >>> task.schedule(worker) # schedule worker for execution >>> task.resume() # run
Remote Copy (scp) usage example:
>>> worker = WorkerSsh(nodeset, handler=MyEventHandler(), ... timeout=30, source="/etc/my.conf", ... dest="/etc/my.conf") >>> task.schedule(worker) # schedule worker for execution >>> task.resume() # run
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize Ssh worker instance.
|
Access underlying engine clients.
|
Return code received from a node, update last* stuffs.
|
Update on node timeout.
|
Tell worker to close its writer file descriptor once flushed. Do not perform writes after this call. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 27 21:53:21 2010 | http://epydoc.sourceforge.net |