systemd.id128 module

Python interface to the libsystemd-id128 library.

Provides SD_MESSAGE_* constants and functions to query and generate 128-bit unique identifiers.

id128.SD_MESSAGE_BOOTCHART = UUID('9f26aa56-2cf4-40c2-b16c-773d0479b518')
id128.SD_MESSAGE_CONFIG_ERROR = UUID('c772d24e-9a88-4cbe-b9ea-12625c306c01')
id128.SD_MESSAGE_COREDUMP = UUID('fc2e22bc-6ee6-47b6-b907-29ab34a250b1')
id128.SD_MESSAGE_DNSSEC_DOWNGRADE = UUID('36db2dfa-5a90-45e1-bd4a-f5f93e1cf057')
id128.SD_MESSAGE_DNSSEC_FAILURE = UUID('1675d7f1-7217-4098-b110-8bf8c7dc8f5d')
id128.SD_MESSAGE_DNSSEC_TRUST_ANCHOR_REVOKED = UUID('4d4408cf-d0d1-4485-9184-d1e65d7c8a65')
id128.SD_MESSAGE_FORWARD_SYSLOG_MISSED = UUID('0027229c-a064-4181-a76c-4e92458afa2e')
id128.SD_MESSAGE_HIBERNATE_KEY = UUID('b72ea4a2-8815-45a0-b50e-200e55b9b073')
id128.SD_MESSAGE_INVALID_CONFIGURATION = UUID('c772d24e-9a88-4cbe-b9ea-12625c306c01')
id128.SD_MESSAGE_JOURNAL_DROPPED = UUID('a596d6fe-7bfa-4994-828e-72309e95d61e')
id128.SD_MESSAGE_JOURNAL_MISSED = UUID('e9bf28e6-e834-481b-b6f4-8f548ad13606')
id128.SD_MESSAGE_JOURNAL_START = UUID('f77379a8-490b-408b-be5f-6940505a777b')
id128.SD_MESSAGE_JOURNAL_STOP = UUID('d93fb3c9-c24d-451a-97ce-a615ce59c00b')
id128.SD_MESSAGE_JOURNAL_USAGE = UUID('ec387f57-7b84-4b8f-a948-f33cad9a75e6')
id128.SD_MESSAGE_LID_CLOSED = UUID('b72ea4a2-8815-45a0-b50e-200e55b9b070')
id128.SD_MESSAGE_LID_OPENED = UUID('b72ea4a2-8815-45a0-b50e-200e55b9b06f')
id128.SD_MESSAGE_MACHINE_START = UUID('24d8d445-2573-4024-9606-8381a6312df2')
id128.SD_MESSAGE_MACHINE_STOP = UUID('58432bd3-bace-477c-b514-b56381b8a758')
id128.SD_MESSAGE_OVERMOUNTING = UUID('1dee0369-c7fc-4736-b709-9b38ecb46ee7')
id128.SD_MESSAGE_POWER_KEY = UUID('b72ea4a2-8815-45a0-b50e-200e55b9b071')
id128.SD_MESSAGE_SEAT_START = UUID('fcbefc5d-a23d-4280-93f9-7c82a9290f7b')
id128.SD_MESSAGE_SEAT_STOP = UUID('e7852bfe-4678-4ed0-accd-e04bc864c2d5')
id128.SD_MESSAGE_SESSION_START = UUID('8d45620c-1a43-48db-b174-10da57c60c66')
id128.SD_MESSAGE_SESSION_STOP = UUID('33549394-24b4-456d-9802-ca8333ed424a')
id128.SD_MESSAGE_SHUTDOWN = UUID('98268866-d1d5-4a49-9c4e-98921d93bc40')
id128.SD_MESSAGE_SLEEP_START = UUID('6bbd95ee-9779-41e4-97c4-8be27c254128')
id128.SD_MESSAGE_SLEEP_STOP = UUID('8811e6df-2a8e-40f5-8a94-cea26f8ebf14')
id128.SD_MESSAGE_SPAWN_FAILED = UUID('64125765-1c1b-4ec9-a862-4d7a40a9e1e7')
id128.SD_MESSAGE_STARTUP_FINISHED = UUID('b07a249c-d024-414a-82dd-00cd181378ff')
id128.SD_MESSAGE_SUSPEND_KEY = UUID('b72ea4a2-8815-45a0-b50e-200e55b9b072')
id128.SD_MESSAGE_SYSTEM_DOCKED = UUID('f5f416b8-6207-4b28-927a-48c3ba7d51ff')
id128.SD_MESSAGE_SYSTEM_UNDOCKED = UUID('51e171bd-5852-4856-8110-144c517cca53')
id128.SD_MESSAGE_TIME_CHANGE = UUID('c7a78707-9b35-4eaa-a9e7-7b371893cd27')
id128.SD_MESSAGE_TIMEZONE_CHANGE = UUID('45f82f4a-ef7a-4bbf-942c-e861d1f20990')
id128.SD_MESSAGE_UNIT_FAILED = UUID('be02cf68-55d2-428b-a40d-f7e9d022f03d')
id128.SD_MESSAGE_UNIT_RELOADED = UUID('7b05ebc6-6838-4222-baa8-881179cfda54')
id128.SD_MESSAGE_UNIT_RELOADING = UUID('d34d037f-ff18-47e6-ae66-9a370e694725')
id128.SD_MESSAGE_UNIT_STARTED = UUID('39f53479-d3a0-45ac-8e11-786248231fbf')
id128.SD_MESSAGE_UNIT_STARTING = UUID('7d4958e8-42da-4a75-8f6c-1cdc7b36dcc5')
id128.SD_MESSAGE_UNIT_STOPPED = UUID('9d1aaa27-d601-40bd-9636-5438aad20286')
id128.SD_MESSAGE_UNIT_STOPPING = UUID('de5b426a-63be-47a7-b6ac-3eaac82e2f6f')
systemd.id128.get_boot() → UUID

Return a 128-bit unique identifier for this boot. Wraps sd_id128_get_boot(3).

systemd.id128.get_machine() → UUID

Return a 128-bit unique identifier for this machine. Wraps sd_id128_get_machine(3).

systemd.id128.randomize() → UUID

Return a new random 128-bit unique identifier. Wraps sd_id128_randomize(3).