# Path: autonetkit/network_model/exceptions.py
# class NodeNotFound(Exception):
#     pass
# 
# Path: autonetkit/network_model/types.py
# class DeviceType(Enum):
# class PortType(Enum):
#     ROUTER = "Router"
#     SWITCH = "Switch"
#     HOST = "Host"
#     VIRTUAL = "Virtual"
#     BROADCAST_DOMAIN = "Broadcast Domain"
# LAYER3_DEVICES = {DeviceType.ROUTER, DeviceType.HOST}
#     PHYSICAL = "Physical"
#     LOGICAL = "Logical"


import typing
from autonetkit.network_model.exceptions import NodeNotFound
from autonetkit.network_model.types import LinkId
    from autonetkit.network_model.port import Port
    from autonetkit.network_model.node import Node
    from autonetkit.network_model.topology import Topology


if typing.TYPE_CHECKING:


class Link:
    """

    """

    def __init__(self, topology, id, p1: 'Port', p2: 'Port'):
        self.topology: Topology = topology

# Path: autonetkit/network_model/exceptions.py
# class NodeNotFound(Exception):
#     pass
# 
# Path: autonetkit/network_model/types.py
# class DeviceType(Enum):
# class PortType(Enum):
#     ROUTER = "Router"
#     SWITCH = "Switch"
#     HOST = "Host"
#     VIRTUAL = "Virtual"
#     BROADCAST_DOMAIN = "Broadcast Domain"
# LAYER3_DEVICES = {DeviceType.ROUTER, DeviceType.HOST}
#     PHYSICAL = "Physical"
#     LOGICAL = "Logical"


# Path: autonetkit/network_model/link.py
import typing
from autonetkit.network_model.exceptions import NodeNotFound
from autonetkit.network_model.types import LinkId
    from autonetkit.network_model.port import Port
    from autonetkit.network_model.node import Node
    from autonetkit.network_model.topology import Topology



if typing.TYPE_CHECKING:


class Link:
    """

    """

    def __init__(self, topology, id, p1: 'Port', p2: 'Port'):
        self.topology: Topology = topology

        self.id: LinkId = id