refactor fabric distributed to use a class and update sessions to create and provide these to nodes
This commit is contained in:
parent
5f282bb695
commit
6570f22ccf
10 changed files with 153 additions and 133 deletions
|
@ -242,8 +242,8 @@ class Rj45Node(CoreNodeBase, CoreInterface):
|
|||
:param str name: node name
|
||||
:param mtu: rj45 mtu
|
||||
:param bool start: start flag
|
||||
:param fabric.connection.Connection server: remote server node will run on,
|
||||
default is None for localhost
|
||||
:param core.emulator.distributed.DistributedServer server: remote server node
|
||||
will run on, default is None for localhost
|
||||
"""
|
||||
CoreNodeBase.__init__(self, session, _id, name, start, server)
|
||||
CoreInterface.__init__(self, node=self, name=name, mtu=mtu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue