mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Ethernet hub and Ethernet switch almost fully migrated to the new API.
This commit is contained in:
1 parent
672a617102
commit
57fd72c35c
13 files changed
+696
-51
No files matched your search
@@ -18,11 +18,13 @@
|
||||
|
||||
from ..node_error import NodeError
|
||||
from .nodes.ethernet_hub import EthernetHub
|
||||
from .nodes.ethernet_switch import EthernetSwitch
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
BUILTIN_NODES = {'ethernet_hub': EthernetHub}
|
||||
BUILTIN_NODES = {'ethernet_hub': EthernetHub,
|
||||
'ethernet_switch': EthernetSwitch}
|
||||
|
||||
|
||||
class BuiltinNodeFactory:
|
||||
|
||||
Reference in new issue
Block a user