def METHOD_NAME (mac):
    """
    Get the machine UUID from GLPI DB layer.
    @param mac: MAC address of inventroied machine
    @type mac: str
    @return: UUID of machine
    @rtype: str
    """
    mmc = MMCProxy()
    if not mmc.failure :
        proxy = mmc.proxy
        try:
            uuid = proxy.glpi.getMachineUUIDByMacAddress(mac)
        except Exception, e:
            logging.getLogger().error("Unable to resolve machine UUID for mac %s using %s, error was: %s" % (str(mac), str(mmc._url), str(e)))
        return uuid
    return None