Commit 15dad25a authored by Martín Ferrari's avatar Martín Ferrari

ideas

parent c59ac309
...@@ -70,6 +70,9 @@ nodes = netns.get_nodes() ...@@ -70,6 +70,9 @@ nodes = netns.get_nodes()
links = netns.get_links() links = netns.get_links()
stats = link0.get_stats() stats = link0.get_stats()
# IDEA: implement Node.popen and build the others upon it.
# IDEA: use SCM_RIGHTS to pass filedescriptors instead of using pipes/sockets
# Run a process in background, associate its stdio to three named pipes # Run a process in background, associate its stdio to three named pipes
app0 = a.start_process("ping -c 3 10.0.0.2") app0 = a.start_process("ping -c 3 10.0.0.2")
print "ping command PIPES at (%s, %s, %s)" % app0.pipes print "ping command PIPES at (%s, %s, %s)" % app0.pipes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment