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

Module mcpu

source code

Module implementing the logic behind the cluster operations

This module implements the logic for doing operations in the cluster. There are two kinds of classes defined:

Classes [hide private]
  LockAcquireTimeout
Exception to report timeouts on acquiring locks.
  LockAttemptTimeoutStrategy
Class with lock acquire timeout strategy.
  OpExecCbBase
Base class for OpCode execution callbacks.
  Processor
Object which runs OpCodes
  HooksMaster
Hooks master.
Functions [hide private]
 
_CalculateLockAttemptTimeouts()
Calculate timeouts for lock attempts.
source code

Imports: logging, random, time, opcodes, constants, errors, rpc, cmdlib, locking