Script move_instance :: Class InstanceMove
[hide private]
[frames] | no frames]

Class InstanceMove


Status class for instance moves.

Instance Methods [hide private]
 
__init__(self, src_instance_name, dest_instance_name, dest_pnode, dest_snode, compress, dest_iallocator, dest_disk_template, hvparams, beparams, osparams, nics, opportunistic_tries, opportunistic_delay)
Initializes this class.

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, src_instance_name, dest_instance_name, dest_pnode, dest_snode, compress, dest_iallocator, dest_disk_template, hvparams, beparams, osparams, nics, opportunistic_tries, opportunistic_delay)
(Constructor)

 

Initializes this class.

Parameters:
  • src_instance_name (string) - Instance name on source cluster
  • dest_instance_name (string) - Instance name on destination cluster
  • dest_pnode (string or None) - Name of primary node on destination cluster
  • dest_snode (string or None) - Name of secondary node on destination cluster @type compress; string
  • compress - Compression mode to use (has to be supported on both clusters)
  • dest_iallocator (string or None) - Name of iallocator to use
  • dest_disk_template (string or None) - Disk template to use instead of the original one
  • hvparams (dict or None) - Hypervisor parameters to override
  • beparams (dict or None) - Backend parameters to override
  • osparams (dict or None) - OS parameters to override
  • nics (dict or None) - NICs to override
  • opportunistic_tries (int or None) - Number of opportunistic creation attempts to perform
  • opportunistic_delay (int or None) - Delay between successive creation attempts, in seconds
Overrides: object.__init__