1. 31 Dec, 2013 1 commit
  2. 17 Dec, 2013 1 commit
  3. 16 Dec, 2013 1 commit
  4. 12 Dec, 2013 1 commit
  5. 11 Dec, 2013 16 commits
  6. 02 Dec, 2013 2 commits
  7. 22 Nov, 2013 1 commit
  8. 07 Nov, 2013 2 commits
  9. 04 Nov, 2013 1 commit
    • Kirk Webb's avatar
      Commit portfix version of snmpit and the Port module. · 264500e2
      Kirk Webb authored
      This commit pushes the changes located in the temporary snmpit_portfix
      subdirectory into the mainline snmpit_test directory, and updates
      db/Ports.pm with the 'portfix' changes.  These changes ensure better
      consistency with port lookup/resolution.  In particular, interswitch
      trunk lookup will return the switch-local side of the link.
      This commit also adds an installer script to cleanup the temporary files
      introduced for burning in the snmpit_portfix changes.
  10. 14 Oct, 2013 2 commits
  11. 19 Sep, 2013 3 commits
  12. 17 Sep, 2013 6 commits
    • Kirk Webb's avatar
      Move the updated version of the Port module. · 480086c8
      Kirk Webb authored
      Change the interim location for the updated Port abstraction module to
      coincide with the other interim files - makes for simplified cleanup.
    • Kirk Webb's avatar
      Tweaks to paths and makefiles for the portfix version of snmpit. · e7579b1f
      Kirk Webb authored
      Also added a Feature for pointing Emulab at it.
    • Kirk Webb's avatar
      Create a new directory for the "portfix" version of snmpit. · abe2c7c7
      Kirk Webb authored
      In order to test the portfix changes to snmpit, a new version of
      the tool and its modules has been split off here.  This new version
      will be selected via a site variable / emulab feature.  This also
      reverts changes to the mainline Ports module and snmpit modules
      in the snmpit_test subdirectory.  The modified Port module will
      go by the name of Ports_portfix.pm, and will ultimately disappear
      once these changes have been vetted at the Utah Emulab site.
    • Kirk Webb's avatar
    • Kirk Webb's avatar
      Update Ports abstraction module to better distinguish nodes vs. switches. · 7f422242
      Kirk Webb authored
      The lookup functions now look at the wire type and which location the
      requested node is in (node_id1 or node_id2) to decide which side of the
      link the port represents (switch vs. endpoint).  We don't (yet) query the
      nodes table for the role since we consistently use the node_id1 (and
      related) columns to hold the endpoint (node) information for wires of
      type "Node".
      For inter-switch
      trunks, we always mark the port object as being the "switch" side.  Both
      sides are the switch side...  Functions like getPCPort() and getSwitchPort()
      are ambiguous when invoked on a switch port object, and will always return
      a reference to the object the method was invoked on.
      Also update the HP snmpit module to explicitly check the wire type for a port
      before deciding whether or not to get the port at the other end in the
      listVlans() function.
    • Leigh Stoller's avatar
      Fix typo. · 5d8082f0
      Leigh Stoller authored
  13. 09 Sep, 2013 2 commits
  14. 05 Sep, 2013 1 commit
    • Leigh Stoller's avatar
      Add option to check for and prune stale vlans from switch fabric. · 77f31539
      Leigh Stoller authored
      Run as follows:
      boss> wap perl snmpit_test --prunestalevlans --impotent
      which will tell you about them. Remove the --impotent option to
      actually remove them.
      Only numbered lans are considered; ones that derive from entries in
      the lans table. Named vlans are skipped since those are generally
      created by hand (often via the switch CLI).
      Caveat; vlans left on trunk links are still a bit of problem since
      listvlans returns the other side of the trunk. Needs to be fixed.