|
__init__(self,
opcode,
hooks_path,
nodes,
hooks_execution_fn,
hooks_results_adapt_fn,
build_env_fn,
prepare_post_nodes_fn,
log_fn,
htype=None,
cluster_name=None,
master_name=None,
master_uuid=None,
job_id=None)
Base class for hooks masters. |
source code
|
|
|
|
|
_CheckParamsAndExecHooks(self,
node_list,
hpath,
phase,
env)
Check rpc parameters and call hooks_execution_fn (rpc). |
source code
|
|
|
_RunWrapper(self,
node_list,
hpath,
phase,
phase_env,
is_global=False,
post_status=None)
Simple wrapper over self.callfn. |
source code
|
|
|
RunPhase(self,
phase,
node_uuids=None,
is_global=False,
post_status=None)
Run all the scripts for a phase. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|