renamed session.session_id to session.id
This commit is contained in:
parent
6672fd0f7a
commit
73bc56e4c3
11 changed files with 89 additions and 90 deletions
|
@ -360,11 +360,11 @@ class Ns3Session(Session):
|
|||
A Session that starts an ns-3 simulation thread.
|
||||
"""
|
||||
|
||||
def __init__(self, session_id, persistent=False, duration=600):
|
||||
def __init__(self, _id, persistent=False, duration=600):
|
||||
self.duration = duration
|
||||
self.nodes = ns.network.NodeContainer()
|
||||
self.mobhelper = ns.mobility.MobilityHelper()
|
||||
Session.__init__(self, session_id)
|
||||
Session.__init__(self, _id)
|
||||
|
||||
def run(self, vis=False):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue