git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ns-3 wifi example examples/linux/ns3/wifi_ping.py
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
ns3
/
ns3simulation.py
diff --git
a/src/nepi/resources/linux/ns3/ns3simulation.py
b/src/nepi/resources/linux/ns3/ns3simulation.py
index
4f1cf0b
..
0f94c4c
100644
(file)
--- a/
src/nepi/resources/linux/ns3/ns3simulation.py
+++ b/
src/nepi/resources/linux/ns3/ns3simulation.py
@@
-287,7
+287,10
@@
class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
self._client.start()
self._client.start()
- # Wait until the Simulation is actually started...
+ """
+ # 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_running = False
for i in xrange(1000):
is_running = self.invoke(SIMULATOR_UUID, "isRunning")
@@
-301,6
+304,7
@@
class LinuxNS3Simulation(LinuxApplication, NS3Simulation):
msg = " Simulation did not start"
self.error(msg)
raise RuntimeError
msg = " Simulation did not start"
self.error(msg)
raise RuntimeError
+ """
self.set_started()
else:
self.set_started()
else: