docs: update comments regarding Ethernet switch replacement with Linux bridge

This commit is contained in:
grossmj 2026-10-13 20:18:29 +07:00
parent 2799780eca
commit e8c641bd08
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7
3 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@ BUILTIN_NODES = {"cloud": Cloud, "nat": Nat, "ethernet_hub": EthernetHub, "ether
class BuiltinNodeFactory: class BuiltinNodeFactory:
""" """
Factory to create an builtin object based on the node type. Factory to create a builtin object based on the node type.
""" """
def __new__(cls, name, node_id, project, manager, node_type, **kwargs): def __new__(cls, name, node_id, project, manager, node_type, **kwargs):

View File

@ -46,7 +46,7 @@ PLATFORMS = {
DEVICES = { DEVICES = {
"atm_switch": ATMSwitch, "atm_switch": ATMSwitch,
"frame_relay_switch": FrameRelaySwitch, "frame_relay_switch": FrameRelaySwitch,
"ethernet_switch": EthernetSwitch, "ethernet_switch": EthernetSwitch, # The Dynamips Ethernet switch has been replaced by a Linux bridge
"ethernet_hub": EthernetHub, "ethernet_hub": EthernetHub,
} }

View File

@ -19,6 +19,8 @@ Interface for Dynamips virtual Ethernet switch module ("ethsw").
http://github.com/GNS3/dynamips/blob/master/README.hypervisor#L558 http://github.com/GNS3/dynamips/blob/master/README.hypervisor#L558
""" """
# Note: the Dynamips Ethernet switch has been replaced by a Linux bridge
import logging import logging
from gns3server.utils import parse_version from gns3server.utils import parse_version