def __iter__(self):
    for group in self.groups:
      self.group_ipolicy = self.cluster.SimpleFillIPolicy(group.ipolicy)
      self.ndparams = self.cluster.SimpleFillND(group.ndparams)
      if self.want_diskparams:
        self.group_dp = self.cluster.SimpleFillDP(group.diskparams)
      else:
        self.group_dp = None
      yield group
Iterate over all node groups.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/GroupQueryData.__iter__