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, dest_iallocator, dest_disk_template, hvparams, beparams, osparams, nics)
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, dest_iallocator, dest_disk_template, hvparams, beparams, osparams, nics)
(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
  • 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
Overrides: object.__init__