Skip to content
Snippets Groups Projects
  1. Apr 23, 2010
    • Bob Lantz's avatar
      Changed to support new cmd() interface. · 121eb449
      Bob Lantz authored
      It seems that it is more convenient to be able to call
      
      cmd( 'foo', 'bar', 1)
      
      for example. However, this may make it slightly less
      efficient, so we will see how it works.
      121eb449
  2. Apr 13, 2010
    • Bob Lantz's avatar
      Added timeout option for monitor(). · f24e70a4
      Bob Lantz authored
      This allows monitor() to be used for polling. Of course, you
      probably want to use poll() first anyway, but it's nice not
      to have to block if there's no output.
      f24e70a4
  3. Apr 11, 2010
  4. Mar 31, 2010
  5. Mar 23, 2010
  6. Mar 25, 2010
  7. Mar 24, 2010
  8. Mar 23, 2010
  9. Mar 16, 2010
    • Bob Lantz's avatar
      Buffered output. Added net.monitor() and node.readline() · ec7b211c
      Bob Lantz authored
      Moved monitor() and readline() into net.py and node.py respectively,
      which will hopefully be useful for monitoring large sets of hosts,
      as is done in udpbwtest.py.
      
      Changed iperf to use interactive command infrastructure (such as it
      is), which may make it more reliable. Hopefully it's a bit clearer
      as well, although it is slightly more complicated.
      ec7b211c
    • Bob Lantz's avatar
      Change Node.monitor() to just return output. · e4c82e52
      Bob Lantz authored
      It seems easier to rely on node.waiting for the moment.
      e4c82e52
  10. Mar 14, 2010
  11. Mar 16, 2010
  12. Mar 14, 2010
  13. Mar 13, 2010
  14. Mar 14, 2010
    • Bob Lantz's avatar
      Support for control-C. Finally. · bcacfc05
      Bob Lantz authored
      I've changed the way things work a bit:
      
      1. netns is replaced by mnexec, a general-purpose mininet helper.
      
      2. For interactive commands, we now use mnexec -p, which prints out
         the pid, so we can kill it when someone hits control-C!
      
      3. We close file descriptors for subshells. This might save memory,
         but who knows.
      
      4. We detach our subshells from the tty using mnexec -s; thus
         control-C should not terminate everything.
      
      5. Given 4, mn -c is now necessary if you kill mininet.
      bcacfc05
    • Bob Lantz's avatar
      Removing setsid for the moment - breaks shutdown. · d4b53ea7
      Bob Lantz authored
      Close to solving this set of problems.
      d4b53ea7
  15. Mar 13, 2010
    • Bob Lantz's avatar
      Corrected list checkin sendCmd. · e953444f
      Bob Lantz authored
      e953444f
    • Bob Lantz's avatar
      Detach shells from tty; monitoring changes. · 4065511a
      Bob Lantz authored
      Call netns using setsid to detach from the tty; this is
      intended to fix the problem of control-C killing your network.
      
      sendInt() doesn't actually work - hopefully we can fix this in the
      future, but it's tricky since we want to detach the many shells from
      our tty, but then optionally send tty interrupts to them! Ideally we
      would either know the pid of the subprocess or be able to send a signal
      to bash to get it to interrupt its subprocess.
      
      waitOutput() now uses monitor. We also handle sentinels
      coming in the middle of output (but default at end should
      still work well.)
      4065511a
    • Brandon Heller's avatar
      Fix OVS breakage · 44c63c2a
      Brandon Heller authored
      44c63c2a
  16. Mar 12, 2010
    • Bob Lantz's avatar
      Detach shells from tty; monitoring changes. · 9dbe572a
      Bob Lantz authored
      Call netns using setsid to detach from the tty; this is
      intended to fix the problem of control-C killing your network.
      
      sendInt() doesn't actually work - hopefully we can fix this in the
      future, but it's tricky since we want to detach the many shells from
      our tty, but then optionally send tty interrupts to them! Ideally we
      would either know the pid of the subprocess or be able to send a signal
      to bash to get it to interrupt its subprocess.
      
      waitOutput() now uses monitor. We also handle sentinels
      coming in the middle of output (but default at end should
      still work well.)
      9dbe572a
  17. Mar 11, 2010
  18. Mar 10, 2010
  19. Mar 09, 2010
  20. Mar 05, 2010
  21. Mar 03, 2010
  22. Mar 02, 2010
  23. Feb 27, 2010
Loading