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

Class ClusterQueryData

source code


Instance Methods [hide private]
 
__init__(self, cluster, nodes, drain_flag, watcher_pause)
Initializes this class.
source code
 
__iter__(self) 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, cluster, nodes, drain_flag, watcher_pause)
(Constructor)

source code 

Initializes this class.

Parameters:
  • cluster (objects.Cluster) - Instance of cluster object
  • nodes (dict; node UUID as key) - Node objects
  • drain_flag (bool) - Whether job queue is drained
  • watcher_pause (number) - Until when watcher is paused (Unix timestamp)
Overrides: object.__init__