Package ganeti :: Package masterd :: Module instance :: Class ImportExportLoop
[hide private]
[frames] | no frames]

Class ImportExportLoop

source code


Instance Methods [hide private]
 
__init__(self, lu)
Initializes this class.
source code
 
Add(self, diskie)
Adds an import/export object to the loop.
source code
 
_AddPendingToQueue(self)
Adds all pending import/export objects to the internal queue.
source code
 
Run(self)
Utility main loop.
source code
 
FinalizeAll(self)
Finalizes all pending transfers.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_CollectDaemonStatus(lu, daemons)
Collects the status for all import/export daemons.
source code
 
_GetActiveDaemonNames(queue)
Gets the names of all active daemons.
source code
Class Variables [hide private]
  MIN_DELAY = 1.0
  MAX_DELAY = 20.0
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, lu)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

Add(self, diskie)

source code 

Adds an import/export object to the loop.

Parameters: