Ethernet hub and Ethernet switch almost fully migrated to the new API.

This commit is contained in:
grossmj committed 2016-05-19 22:45:04 -06:00
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: