1. 30 Nov, 2011 1 commit
  2. 29 Nov, 2011 1 commit
  3. 28 Nov, 2011 3 commits
  4. 02 Nov, 2011 1 commit
  5. 07 Oct, 2011 1 commit
    • Leigh Stoller's avatar
      We now save the switch path that assign computes, into the DB. We then · f61a6288
      Leigh Stoller authored
      use this path when setting up the vlan, instead of recomputing the set
      of trunks that are need. Assign does a much better job of this, so
      throwing the info away is bad.
      
      But, if there is no switch path, we still have to be careful cause the
      switch infrastructure might have loops, and the existing algorithm did
      not take that into account. And in fact, Utah has loops and this was
      causing grief. I added a simple spanning tree function (Prim's Greedy)
      to calculate a loop free set of trunks.
      
      An added complication is if the vlans are modified on the command
      line, and the there is a switch path in the DB. In this case we have
      to throw that away, and revert to dumb loop free calculation.
      
      Note that we also have to store the switch path in the vlans table,
      since for swapmod/synctables, we need to know how to undo stale vlans
      (which are no longer in the lans table).
      f61a6288
  6. 22 Jul, 2011 1 commit
  7. 19 Jul, 2011 1 commit
  8. 18 Jul, 2011 2 commits
  9. 05 Jul, 2011 1 commit
  10. 19 May, 2011 1 commit
  11. 12 May, 2011 1 commit
  12. 11 May, 2011 6 commits
  13. 10 May, 2011 1 commit
  14. 09 May, 2011 2 commits
  15. 07 May, 2011 1 commit
  16. 05 May, 2011 2 commits
  17. 02 May, 2011 1 commit
  18. 14 Apr, 2011 1 commit
    • Leigh Stoller's avatar
      Bug Fix: Fix up the code that removes individual ports from vlans · a94c511f
      Leigh Stoller authored
      when doing syncVlansFromTables(). I was not looking to see which ports
      existed on which devices, and so was calling the device specific
      remove for ports that did not exist on the device. Ditto for removing
      ports from trunks.
      
      Also a bunch of debugging bits in case there are more problems.
      a94c511f
  19. 05 Apr, 2011 1 commit
  20. 04 Apr, 2011 2 commits
  21. 01 Apr, 2011 1 commit
  22. 31 Mar, 2011 1 commit
  23. 29 Mar, 2011 1 commit
  24. 25 Mar, 2011 1 commit
  25. 10 Mar, 2011 1 commit
  26. 09 Mar, 2011 1 commit
  27. 08 Mar, 2011 3 commits
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Modified version of snmpit to be run as a "feature" while · 31812eae
      Leigh Stoller authored
      testing. Changes include:
      
      * syncvlans option that compares the switches and the DB and makes
        everything consistent, including creating backing DB objects for the
        dozens of hand created vlans, since all vlans must have a DB object
        so that vlan tag reservations can be consistent across all stacks.
      
      * Clean up the tag stuff a bit. No longer store tag in the
        lan_attributes table since that is a transient table, prone to
        getting out of sync with reality.
      
      * Changes to how the set of devices in a stack is chosen; ensure that
        we do not reference switches that are not needed (no ports on that
        switch and does not traverse a trunk on that switch). This should
        allow us to move the Backbone switches back into the Experimental
        stack, without fear that normal swapin will block cause the long
        distance links to those switches is down.
      31812eae
    • Leigh Stoller's avatar
      Remove setVlanTag(); no longer store the tag in the lans table since · 7d1f5299
      Leigh Stoller authored
      it is transient; always use the reserved_vlantags table now.
      7d1f5299