Skip to content

linux_clock_device_id_pb2

Generated protocol buffer code.

Classes:

LinuxClockDeviceId

LinuxClockDeviceId(
    *, hostname: str = ..., clock_device_number: int = ...
)

Bases: Message

A unique identifier for a clock device on a given Linux host

Attributes:

  • clock_device_number (int) –

    The number of the clock device on the host, e.g. 0 for /dev/ptp0

  • hostname (str) –

    The hostname of the host

clock_device_number instance-attribute

clock_device_number: int

The number of the clock device on the host, e.g. 0 for /dev/ptp0

hostname instance-attribute

hostname: str

The hostname of the host