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
Fixes ns-3/DCE
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
ns3
/
ns3client.py
diff --git
a/src/nepi/resources/linux/ns3/ns3client.py
b/src/nepi/resources/linux/ns3/ns3client.py
index
882c1f3
..
2d98a1b
100644
(file)
--- a/
src/nepi/resources/linux/ns3/ns3client.py
+++ b/
src/nepi/resources/linux/ns3/ns3client.py
@@
-70,11
+70,12
@@
class LinuxNS3Client(NS3Client):
"socket_addr": self.simulation.remote_socket,
}
"socket_addr": self.simulation.remote_socket,
}
- (reply, err), proc = self.simulation.node.execute(command)
+ (reply, err), proc = self.simulation.node.execute(command)
if (err and proc.poll()) or reply.strip() == "":
if (err and proc.poll()) or reply.strip() == "":
- msg = " Couldn't connect to remote socket %s" % (
- self.simulation.remote_socket)
+ msg = (" Couldn't connect to remote socket %s - REPLY: %s "
+ "- ERROR: %s ") % (
+ self.simulation.remote_socket, reply, err)
self.simulation.error(msg, reply, err)
raise RuntimeError(msg)
self.simulation.error(msg, reply, err)
raise RuntimeError(msg)