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
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
Method Details [hide private]

Add(self, diskie)

source code 

Adds an import/export object to the loop.

Parameters: