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

Class DiskTransfer

source code


Instance Methods [hide private]
 
__init__(self, name, src_io, src_ioargs, dest_io, dest_ioargs, finished_fn)
Initializes this class.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, src_io, src_ioargs, dest_io, dest_ioargs, finished_fn)
(Constructor)

source code 

Initializes this class.

Parameters:
  • name (string) - User-visible name for this transfer (e.g. "disk/0")
  • src_io - Source I/O type
  • src_ioargs - Source I/O arguments
  • dest_io - Destination I/O type
  • dest_ioargs - Destination I/O arguments
  • finished_fn (callable) - Function called once transfer has finished
Overrides: object.__init__