def GetNodeBootID(self, name):
    ndata = self._data["node"]

    if name in ndata and KEY_BOOT_ID in ndata[name]:
      return ndata[name][KEY_BOOT_ID]
    return None
Returns the last boot ID of a node or None.
dataset/ETHPy150Open ganeti/ganeti/lib/watcher/state.py/WatcherState.GetNodeBootID