Skip to content
Snippets Groups Projects
  1. Nov 11, 2014
  2. Sep 04, 2014
  3. Aug 26, 2014
  4. Jul 02, 2014
  5. Jun 20, 2014
  6. Nov 19, 2013
    • Rich Lane's avatar
      mnexec: mount sysfs in each container · 54615659
      Rich Lane authored
      The sysfs filesystem is [tagged][1] with a set of namespaces when mounted, taken
      from the mounting process. Among other things, this controls which network
      devices will show up in /sys/class/net and /sys/class/net/bonding_masters.
      
      Without this change, mininet will not mount sysfs in a node. Attempting to
      configure a bond interface in a node will only affect the parent namespace.
      
      This change mounts a new sysfs filesystem in each node. To prevent this mount
      from affecting the parent namespace the mount namespace is also unshared.
      
      [1]: https://www.kernel.org/doc/Documentation/filesystems/sysfs-tagging.txt
      54615659
  7. Sep 28, 2013
  8. Sep 19, 2013
  9. Sep 18, 2013
    • Zi Shen Lim's avatar
      mnexec: getopt bugfix · cae7be1a
      Zi Shen Lim authored
      getopt returns an 'int', so use change datatype of 'c' to match it.
      Otherwise, 'c' may hold a value of 255 (0xff), and fail the comparison
      with -1 (0xffffffff): while ((c = getopt(...)) != -1)
      
      This bug was uncovered on Ubuntu 13.04 running on ARM, using
      arm-linux-gnueabihf-gcc4.7.
      cae7be1a
  10. Jul 15, 2013
  11. Apr 10, 2013
  12. Jul 07, 2012
  13. Apr 14, 2012
  14. Mar 14, 2010
    • Bob Lantz's avatar
      Removed unused variable. · 51a14824
      Bob Lantz authored
      51a14824
    • 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
      Support for control-C. Finally. · c4ae4232
      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.
      c4ae4232
Loading