1. 12 May, 2011 1 commit
  2. 11 May, 2011 6 commits
  3. 10 May, 2011 1 commit
  4. 09 May, 2011 2 commits
  5. 07 May, 2011 1 commit
  6. 05 May, 2011 2 commits
  7. 02 May, 2011 1 commit
  8. 14 Apr, 2011 1 commit
    • Leigh B Stoller's avatar
      Bug Fix: Fix up the code that removes individual ports from vlans · a94c511f
      Leigh B 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.
  9. 05 Apr, 2011 1 commit
  10. 04 Apr, 2011 2 commits
  11. 01 Apr, 2011 1 commit
  12. 31 Mar, 2011 1 commit
  13. 29 Mar, 2011 1 commit
  14. 25 Mar, 2011 1 commit
  15. 10 Mar, 2011 1 commit
  16. 09 Mar, 2011 1 commit
  17. 08 Mar, 2011 3 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
      Modified version of snmpit to be run as a "feature" while · 31812eae
      Leigh B 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.
    • Leigh B Stoller's avatar
      Remove setVlanTag(); no longer store the tag in the lans table since · 7d1f5299
      Leigh B Stoller authored
      it is transient; always use the reserved_vlantags table now.
  18. 23 Feb, 2011 1 commit
  19. 14 Feb, 2011 1 commit
  20. 09 Feb, 2011 1 commit
  21. 02 Feb, 2011 1 commit
  22. 27 Jan, 2011 2 commits
  23. 14 Jan, 2011 1 commit
  24. 13 Jan, 2011 1 commit
    • Leigh B Stoller's avatar
      Small changes so that snmpit can operate on other stacks besides the · ecd7428e
      Leigh B Stoller authored
      Experimental stack, as to create vlans on switches that are part of
      experiments, without explicitly specifying the vlans/ports. We filter
      the experiment's set of vlans, to operate only on the vlans that have
      ports on the stack (provided with -S).
      Note that snmpit still cannot deal with multiple stacks, or with vlans
      that cross stacks.
  25. 06 Jan, 2011 1 commit
  26. 05 Jan, 2011 1 commit
    • Weibin Sun's avatar
      Add code into snmpit and snmpit_lib to support the implemented_by, the code... · 9399bd29
      Weibin Sun authored
      Add code into snmpit and snmpit_lib to support the implemented_by, the code check whether a VLAN is a link that implements a path consisting of two layer 1 links, if YES, move the vlanid to a special array, the CreateOneVlan is able to handle two stacks in that case. The ports in the special VLAN is in switch:card.port format when they are passed to snmpit_stack and the under driver.(snmpit_hp only.)
  27. 04 Jan, 2011 1 commit
  28. 22 Dec, 2010 1 commit
  29. 16 Oct, 2010 1 commit
    • Weibin Sun's avatar
      Apply changes on boss installation to the source: add isSwitchPort and... · 7bd594ea
      Weibin Sun authored
      Apply changes on boss installation to the source: add isSwitchPort and getVlanIfaces to snmpit_lib, isSwitchPort detects if a given port is on switch, getVlanIfaces get ports in a Vlan in iface format; call getVlanIfaces from getVlanPorts to reuse the code to find members in a VLAn; in convertPortFromIface, detect if a port is actually on switch and get the port in node:card.port format, but now the return value is still node:card because lots of code in snmpit and snmpit_lib heavily depend on the node:card format. In snmpit, check if a port is on switch before portControl and getInterfaceSettings to avoid errors cause by port-not-found. In snmpit_apcon, try to refine the given ports in setPortsVlan and portControl to deal with switch port, also a more robust function to translate port from pc node format to switch format.