Trees | Indices | Help |
|
---|
|
Hooks master.
This class distributes the run commands to the nodes based on the specific LU class.
In order to remove the direct dependency on the rpc module, the constructor needs a function which actually does the remote call. This will usually be rpc.call_hooks_runner, but any function which behaves the same works.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Compute the environment and the target nodes. Based on the opcode and the current node list, this builds the environment for the hooks and the target node list for the run. |
Simple wrapper over self.callfn. This method fixes the environment before doing the rpc call. |
Run all the scripts for a phase. This is the main function of the HookMaster.
|
Run the special configuration update hook This is a special hook that runs only on the master after each top-level LI if the configuration has been updated. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:55:47 2010 | http://epydoc.sourceforge.net |