Package ganeti :: Module query :: Class NodeQueryData
[hide private]
[frames] | no frames]

Class NodeQueryData

source code


Data container for node data queries.

Instance Methods [hide private]
 
__init__(self, nodes, live_data, master_uuid, node_to_primary, node_to_secondary, inst_uuid_to_inst_name, groups, oob_support, cluster)
Initializes this class.
source code
 
__iter__(self)
Iterate over all nodes.
source code

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, nodes, live_data, master_uuid, node_to_primary, node_to_secondary, inst_uuid_to_inst_name, groups, oob_support, cluster)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

__iter__(self)

source code 

Iterate over all nodes.

This function has side-effects and only one instance of the resulting generator should be used at a time.