ns3_version = Attribute("ns3Version",
"Version of ns-3 to install from nsam repo",
- #default = "ns-3.19",
default = "ns-3.20",
#default = "ns-3-dev",
flags = Flags.Design)
pybindgen_version = Attribute("pybindgenVersion",
"Version of pybindgen to install from bazar repo",
- #default = "864",
default = "868",
#default = "876",
flags = Flags.Design)
self._client.start()
- """
- # XXX: IS THIS REALLY NEEDED??!!!
- # Wait until the Simulation is actually started...
- is_running = False
- for i in xrange(1000):
- is_running = self.invoke(SIMULATOR_UUID, "isRunning")
- is_finished = self.invoke(SIMULATOR_UUID, "isFinished")
-
- if is_running or is_finished:
- break
- else:
- time.sleep(1)
- else:
- if not is_running:
- msg = " Simulation did not start"
- self.error(msg)
- raise RuntimeError
- """
self.set_started()
else:
msg = " Failed to execute command '%s'" % command