Skip to content

interface_id_pb2

Generated protocol buffer code.

Classes:

  • InterfaceId

    A unique identifier for a network interface on a given host

InterfaceId

InterfaceId(
    *, hostname: str = ..., interface_name: str = ...
)

Bases: Message

A unique identifier for a network interface on a given host

Attributes:

  • hostname (str) –

    The hostname of the host as

  • interface_name (str) –

    The name of the network interface as reported by ip link

hostname instance-attribute

hostname: str

The hostname of the host as

interface_name instance-attribute

interface_name: str

The name of the network interface as reported by ip link