Package ganeti :: Module cmdlib :: Class LUClusterVerifyGroup :: Class NodeImage
[hide private]
[frames] | no frames]

Class NodeImage

source code


A class representing the logical and physical status of a node.

Instance Methods [hide private]
 
__init__(self, offline=False, name=None, vm_capable=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

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

Instance Variables [hide private]
  dfree
free disk, as reported by the node (runtime)
boolean ghost
whether this is a known node or not (config)
boolean hyp_fail
whether the RPC call didn't return the instance list
  instances
a list of running instances (runtime)
boolean lvm_fail
whether the RPC call didn't return valid LVM data
  mfree
free memory, as reported by hypervisor (runtime)
string name
the node name to which this object refers
  offline
the offline status (config)
boolean os_fail
whether the RPC call didn't return valid OS data
list oslist
list of OSes as diagnosed by DiagnoseOS
  pinst
list of configured primary instances (config)
boolean rpc_fail
whether the RPC verify call was successfull (overall, not whether the individual keys were correct) (runtime)
  sbp
dictionary of {primary-node: list of instances} for all instances for which this node is secondary (config)
  sinst
list of configured secondary instances (config)
boolean vm_capable
whether the node can host instances
  volumes
a structure as returned from ganeti.backend.GetVolumeList (runtime)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, offline=False, name=None, vm_capable=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)