class documentation

class GroupQueryData(object):

View In Hierarchy

Data container for node group data queries.

Method __init__ Initializes this class.
Method __iter__ Iterate over all node groups.
Instance Variable cluster Undocumented
Instance Variable group_dp Undocumented
Instance Variable group_ipolicy Undocumented
Instance Variable group_to_instances Undocumented
Instance Variable group_to_nodes Undocumented
Instance Variable groups Undocumented
Instance Variable ndparams Undocumented
Instance Variable want_diskparams Undocumented
def __init__(self, cluster, groups, group_to_nodes, group_to_instances, want_diskparams):

Initializes this class.

Parameters
clusterCluster object
groupsList of node group objects
group_to_nodes:dict; group UUID as keyPer-group list of nodes
group_to_instances:dict; group UUID as keyPer-group list of (primary) instances
want_diskparams:boolWhether diskparamters should be calculated
def __iter__(self):

Iterate over all node groups.

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

cluster =

Undocumented

group_dp =

Undocumented

group_ipolicy =

Undocumented

group_to_instances =

Undocumented

group_to_nodes =

Undocumented

groups =

Undocumented

ndparams =

Undocumented

want_diskparams =

Undocumented