Package ganeti :: Package cmdlib :: Package cluster :: Module verify :: 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, uuid=None, vm_capable=True)
x.__init__(...) initializes x; see help(type(x)) 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)
  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)
float pv_max
size in MiB of the biggest PVs
float pv_min
size in MiB of the smallest PVs
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)
string uuid
the node UUID to which this object refers
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, uuid=None, vm_capable=True)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)