updates to Pipefile.lock and for nodes to add server to constructor

This commit is contained in:
bharnden 2019-10-05 11:16:57 -07:00
parent 931ee65235
commit 95296988c5
6 changed files with 310 additions and 153 deletions

View file

@ -1045,7 +1045,7 @@ class CoreNetworkBase(NodeBase):
linktype = LinkTypes.WIRED.value
is_emane = False
def __init__(self, session, _id, name, start=True):
def __init__(self, session, _id, name, start=True, server=None):
"""
Create a CoreNetworkBase instance.
@ -1053,8 +1053,9 @@ class CoreNetworkBase(NodeBase):
:param int _id: object id
:param str name: object name
:param bool start: should object start
:param str server: remote server node will run on, default is None for localhost
"""
super(CoreNetworkBase, self).__init__(session, _id, name, start=start)
super(CoreNetworkBase, self).__init__(session, _id, name, start, server)
self._linked = {}
self._linked_lock = threading.Lock()