Skip to content
Snippets Groups Projects
  1. Jul 04, 2013
  2. Jun 26, 2013
  3. Jun 25, 2013
  4. Jun 24, 2013
  5. 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
  6. Jun 20, 2013
  7. Jun 19, 2013
  8. Jun 18, 2013
  9. Jun 12, 2013
  10. 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
  11. Jun 05, 2013
  12. Jun 04, 2013
  13. May 29, 2013
  14. 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
  15. May 23, 2013
  16. Apr 29, 2013
Loading