Skip to content
Snippets Groups Projects
  1. Jun 24, 2013
  2. Jun 21, 2013
    • Brandon Heller's avatar
      topo: make new minimal Graph object a Graph, not a DiGraph · e5d7b380
      Brandon Heller authored
      Fixes another Graph regression relative to NetworkX.
      
      RipL broke because the NetworkX Graph object that was used previously
      for topologies is an undirected graph:
      
      >>> import networkx as nx
      >>> g=nx.Graph()
      >>> g.add_edge(0,1)
      >>> g[1]
      {0: {}}
      >>> g[0]
      {1: {}}
      
      There is a separate DiGraph object in NetworkX for directed behavior.
      
      The minimal replacement previously implemented DiGraph behavior.
      
      >>> from mininet.topo import Graph
      >>> g2=Graph()
      >>> g2.add_edge(0,1)
      >>> g2[0]
      [1]
      >>> g2[1]
      []
      
      This commit restores undirected graph behavior.
      e5d7b380
    • Brandon Heller's avatar
      topo: add __getitem__ for Graph · 4e1630e1
      Brandon Heller authored
      Commit 65c35b65 'Remove networkx dependency' broke this line from RipL:
      
          nodes = [n for n in self.g[name] if self.layer(n) == layer]
      
      To work around this, RipL code would have to be changed to something
      like this:
      
          nodes = [n for n in self.g.data[name] if self.layer(n) == layer]
      
      ...which would use an internal variable, data.
      
      It seems cleaner to add this one little feature from NetworkX Graph objects.
      4e1630e1
    • Brandon Heller's avatar
      install.sh: Make OF1.3 Netbee location cmd-line configurable · 40b13c28
      Brandon Heller authored
      If NBEEURL is defined when running install.sh, use that location.
      
      Enables use of a local mirror for netbee download.
      
      Thanks to David Erickson for the code.
      40b13c28
  3. Jun 20, 2013
  4. Jun 19, 2013
  5. Jun 18, 2013
  6. Jun 12, 2013
  7. Jun 07, 2013
    • Bob's avatar
      Merge pull request #149 from MurphyMc/ovs_userspace_v2 · ace09779
      Bob authored
      node: Allow OVSSwitch to run in userspace mode
      ace09779
    • Murphy McCauley's avatar
      node: Make OVS switches reconnect quickly · 3df07feb
      Murphy McCauley authored
      Ordinarily, OVS switches back off when they can't reach their controllers.
      Under the type of scenarios where Mininet is used, I think this is
      probably just inconvenient.  This patch set controllers to attempt to
      reconnect every second.
      3df07feb
    • Murphy McCauley's avatar
      node: Allow OVSSwitch to run in userspace mode · 153d598d
      Murphy McCauley authored
      This adds a datapath parameter to OVSSwitch which allows one to tell OVS to
      run in userspace mode rather than kernel mode.  From the commandline, this
      is --switch=ovsk,datapath=user.
      
      Note that this makes "ovsk" and the OVSKernelSwitch alias misnomers.  Since
      the default behavior is still kernel mode, this is hopefully harmless.
      
      This is the second version of this patch, which changes the argument name
      and values according to Bob's suggestion.
      153d598d
  8. Jun 05, 2013
  9. Jun 04, 2013
  10. May 29, 2013
  11. May 24, 2013
    • Bob's avatar
      Merge pull request #140 from fasaxc/patch-1 · f53866d0
      Bob authored
      Fix method name mismatch for setDefaultRoute. 
      This seems to be logically correct according to the intention of the code, but it may cause some trouble because routes will now be flushed by Mininet.configHosts().
      f53866d0
  12. May 23, 2013
  13. Apr 29, 2013
  14. Apr 26, 2013
  15. Apr 25, 2013
  16. Apr 12, 2013
  17. Apr 10, 2013
  18. Apr 09, 2013
    • Bob's avatar
      Merge pull request #125 from adferguson/adf-tc-renumber · 7c920edc
      Bob authored
      Adjust numbering to support tc-based switch QoS
      
      This looks fine to me - probably we want to change the way this works eventually, but for now renumbering it is fine and we can change the numbering later if desired.
      7c920edc
  19. Mar 30, 2013
  20. Mar 29, 2013
    • Bob Lantz's avatar
      Change popen() to detach from terminal/process group. · e5a15ced
      Bob Lantz authored
      This may or may not be the right thing to do - an alternative
      would be to ignore SIGINT, but that would make the popen()
      job unkillable by normal means! So we'll try this and see
      how well it works.
      Fixes #124
      e5a15ced
  21. Mar 25, 2013
  22. Mar 24, 2013
Loading