NEPI DCE integration with CCN example
[nepi.git] / src / nepi / resources / linux / ns3 / ns3client.py
index 2d98a1b..43dd7d7 100644 (file)
@@ -70,7 +70,8 @@ class LinuxNS3Client(NS3Client):
                     "socket_addr": self.simulation.remote_socket,
                     }
 
-            (reply, err), proc = self.simulation.node.execute(command) 
+            (reply, err), proc = self.simulation.node.execute(command, 
+                    with_lock = True) 
 
             if (err and proc.poll()) or reply.strip() == "":
                 msg = (" Couldn't connect to remote socket %s - REPLY: %s "