class documentation

class Instance(object):

View In Hierarchy

Abstraction for a Virtual Machine instance.

Method __init__ Undocumented
Method ActivateDisks Encapsulates the activation of all disks of an instance.
Method NeedsCleanup Determines whether the instance needs cleanup.
Method Restart Encapsulates the start of an instance.
Instance Variable config_state Undocumented
Instance Variable config_state_source Undocumented
Instance Variable disk_template Undocumented
Instance Variable disks_active Undocumented
Instance Variable name Undocumented
Instance Variable snodes Undocumented
Instance Variable status Undocumented
def __init__(self, name, status, config_state, config_state_source, disks_active, snodes, disk_template):

Undocumented

def ActivateDisks(self, cl):

Encapsulates the activation of all disks of an instance.

def NeedsCleanup(self):

Determines whether the instance needs cleanup.

Determines whether the instance needs cleanup after having been shutdown by the user.

Returns
boolTrue if the instance needs cleanup, False otherwise.
def Restart(self, cl):

Encapsulates the start of an instance.

config_state =

Undocumented

config_state_source =

Undocumented

disk_template =

Undocumented

disks_active =

Undocumented

name =

Undocumented

snodes =

Undocumented

status =

Undocumented