Package ganeti :: Module hooksmaster
[hide private]
[frames] | no frames]

Module hooksmaster

source code

Module implementing the logic for running hooks.

Classes [hide private]
  HooksMaster
Functions [hide private]
dict(node: (fail_msg, offline, hooks_results))
_RpcResultsToHooksResults(rpc_results)
Function to convert RPC results to the format expected by HooksMaster.
source code

Imports: constants, errors, utils, compat, pathutils


Function Details [hide private]

_RpcResultsToHooksResults(rpc_results)

source code 

Function to convert RPC results to the format expected by HooksMaster.

Parameters:
Returns: dict(node: (fail_msg, offline, hooks_results))
RPC results unpacked according to the format expected by L({hooksmaster.HooksMaster}