@ConfigSync(shared=1)
  def GetGroupSshPorts(self):
    port_map = {}
    for uuid, group in self._config_data.nodegroups.items():
      ndparams = self._UnlockedGetNdGroupParams(group)
      port = ndparams.get(constants.ND_SSH_PORT)
      port_map[uuid] = port
    return port_map
Get a map of group UUIDs to SSH ports.
dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter.GetGroupSshPorts