class documentation

class NodeImage(object):

View In Hierarchy

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

Method __init__ Undocumented
Instance Variable dfree free disk, as reported by the node (runtime)
Instance Variable ghost whether this is a known node or not (config)
Instance Variable hyp_fail whether the RPC call didn't return the instance list
Instance Variable instances a list of running instances (runtime)
Instance Variable lvm_fail whether the RPC call didn't return valid LVM data
Instance Variable mfree free memory, as reported by hypervisor (runtime)
Instance Variable offline the offline status (config)
Instance Variable os_fail whether the RPC call didn't return valid OS data
Instance Variable oslist list of OSes as diagnosed by DiagnoseOS
Instance Variable pinst list of configured primary instances (config)
Instance Variable pv_max size in MiB of the biggest PVs
Instance Variable pv_min size in MiB of the smallest PVs
Instance Variable rpc_fail whether the RPC verify call was successfull (overall, not whether the individual keys were correct) (runtime)
Instance Variable sbp dictionary of {primary-node: list of instances} for all instances for which this node is secondary (config)
Instance Variable sinst list of configured secondary instances (config)
Instance Variable uuid the node UUID to which this object refers
Instance Variable vm_capable whether the node can host instances
Instance Variable volumes a structure as returned from ganeti.backend.GetVolumeList (runtime)
def __init__(self, offline=False, uuid=None, vm_capable=True):

Undocumented

dfree: int =

free disk, as reported by the node (runtime)

ghost: boolean =

whether this is a known node or not (config)

hyp_fail: boolean =

whether the RPC call didn't return the instance list

instances: list =

a list of running instances (runtime)

lvm_fail: boolean =

whether the RPC call didn't return valid LVM data

mfree: int =

free memory, as reported by hypervisor (runtime)

offline =

the offline status (config)

os_fail: boolean =

whether the RPC call didn't return valid OS data

oslist: list =

list of OSes as diagnosed by DiagnoseOS

pinst: list =

list of configured primary instances (config)

pv_max: float =

size in MiB of the biggest PVs

pv_min: float =

size in MiB of the smallest PVs

rpc_fail: boolean =

whether the RPC verify call was successfull (overall, not whether the individual keys were correct) (runtime)

sbp: dict =

dictionary of {primary-node: list of instances} for all instances for which this node is secondary (config)

sinst: list =

list of configured secondary instances (config)

uuid: string =

the node UUID to which this object refers

vm_capable: boolean =

whether the node can host instances

volumes: dict =

a structure as returned from ganeti.backend.GetVolumeList (runtime)