Skip to content

Kathara.model.Interface

Tommaso Caiazzi edited this page Jan 10, 2024 · 1 revision

module Kathara.model.Interface


class Interface

Interface object associated to a Machine network interface.

Attributes:

  • machine (Kathara.model.Machine.Machine): The machine associated to this interface.
  • link (Kathara.model.Link.Link): The collision domain associated to this interface.
  • num (int): The interface number.
  • mac_address (Optional[str]): The MAC address of the interface. If None, a generated MAC address is associated when the Machine is started.

method Interface.__init__

__init__(
    machine: 'MachinePackage.Machine',
    link: 'LinkPackage.Link',
    num: int,
    mac_address: Optional[str] = None
) → None

This file was automatically generated via lazydocs.

Clone this wiki locally