# Path: auto_forensicate/hostinfo.py
# def ReadDMI(name):
# def GetChassisSerial():
# def GetMachineUUID():
# def GetRandomUUID():
# def GetIdentifier():
# def GetUdevadmInfo(device_name):
# def GetTime():
# def Which(cmd):


from collections import namedtuple
from auto_forensicate import hostinfo
class BaseStampManager(object):
  """Base class to generate the stamp file."""

  def BasePathElements(self, stamp):
    """Generates upload paths based on information in stamp.

    Args:
      stamp (BaseStamp): device information

    Returns:
      list(str): list of elements from the stamp
    """
    remote_path_elems = [
        stamp.start_time,
        stamp.identifier
    ]

    return remote_path_elems

  def GetStamp(self):
    """Generates the "stamp" metadata to upload.

    This contains information such as when the script is run, and the host's ID.

    Returns:
      BaseStamp: the content of the stamp.
    """

    stamp = BaseStamp(
        identifier=hostinfo.GetIdentifier(),

# Path: auto_forensicate/hostinfo.py
# def ReadDMI(name):
# def GetChassisSerial():
# def GetMachineUUID():
# def GetRandomUUID():
# def GetIdentifier():
# def GetUdevadmInfo(device_name):
# def GetTime():
# def Which(cmd):


# Path: auto_forensicate/stamp/manager.py
from collections import namedtuple
from auto_forensicate import hostinfo

class BaseStampManager(object):
  """Base class to generate the stamp file."""

  def BasePathElements(self, stamp):
    """Generates upload paths based on information in stamp.

    Args:
      stamp (BaseStamp): device information

    Returns:
      list(str): list of elements from the stamp
    """
    remote_path_elems = [
        stamp.start_time,
        stamp.identifier
    ]

    return remote_path_elems

  def GetStamp(self):
    """Generates the "stamp" metadata to upload.

    This contains information such as when the script is run, and the host's ID.

    Returns:
      BaseStamp: the content of the stamp.
    """

    stamp = BaseStamp(
        identifier=hostinfo.GetIdentifier(),

        start_time=hostinfo.GetTime(),