def GetNodeBootID(self, name):
    """Returns the last boot ID of a node or None.

    """
    ndata = self._data["node"]

    if name in ndata and KEY_BOOT_ID in ndata[name]:
      return ndata[name][KEY_BOOT_ID]
    return None
dataset/ETHPy150Open ganeti/ganeti/lib/watcher/state.py/WatcherState.GetNodeBootID/original