Skip to content
Snippets Groups Projects
  1. Mar 18, 2015
  2. Mar 14, 2015
  3. Mar 13, 2015
  4. Mar 02, 2015
  5. Feb 21, 2015
  6. Feb 20, 2015
    • Rich Lane's avatar
      cli: don't read/write readline history more than once · e0cd11ab
      Rich Lane authored
      Previously, when creating multiple CLI objects, each one would append the
      ~/.mininet_history file to readline's internal list. When writing the file back
      it would be duplicated for each CLI object created. So, over a few mininet runs
      the history file would grow exponentially.
      
      This change moves the readline setup code out of the CLI constructor into a
      class method and adds a flag to prevent it from being executed more than once.
      e0cd11ab
  7. Feb 09, 2015
  8. Feb 04, 2015
  9. Jan 29, 2015
    • Bob Lantz's avatar
      Set batch=False in OVSSwitch for low-level API · a4e93368
      Bob Lantz authored
      If you try to use the low-level API, you are probably
      not going to call batchStartup()! So, we set batch=False
      by default. This means that buildFromTopo() needs to set
      it to True, so we add a bit of irritatingly complex machinery
      to allow this to happen. The good fallout of this is that
      now customConstructor() returns a real subclass, not simply
      a constructor function! We also detect errors where people
      are incorrectly attempting to give parameters to a lambda
      function - since none of our lambdas accept parameters!!
      
      Note that this is a bit like functools.partial for classes -
      it would be nice if functools had a true subclassing function.
      a4e93368
    • Bob Lantz's avatar
      c11e9f33
  10. Jan 28, 2015
  11. Jan 27, 2015
    • Bob Lantz's avatar
      Merge OVSBatch into OVSSwitch · bdad3e8c
      Bob Lantz authored
      Note that we are changing the interface of batchStartup/Shutdown
      slightly so that the method can choose not to start some of the
      switches. We might wish to refine this a bit...
      bdad3e8c
  12. Jan 26, 2015
    • Bob Lantz's avatar
      Don't clean up links that may have been dumped into root NS. · 574d634f
      Bob Lantz authored
      This should rarely happen - in the usual case, either the
      links will be shut down by Mininet.stop(), or the interfaces
      will be deleted by node.stop( deleteIntfs=True ), or the
      links or interfaces will be explicitly deleted or stopped
      using the low-level API.
      
      Cases that are relying on links being automatically deleted
      in cleanup() will potentially find that they are now no longer
      deleted, but these cases should be rare.
      574d634f
    • Bob Lantz's avatar
      Change to OVSSwitch · eafbd2a5
      Bob Lantz authored
      eafbd2a5
Loading