1. 17 Sep, 2013 5 commits
    • 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.
      abe2c7c7
    • Kirk Webb's avatar
      Fix listVlans() in snmpit_mellanox · 08f71970
      Kirk Webb authored
      .. to be consistent with the convention that inter-switch port members are
      listed from the "local" switch side, and "node" or "endpoints" are listed
      from the "node" side.
      08f71970
    • Kirk Webb's avatar
      8a959b8e
    • 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.
      7f422242
    • Leigh B Stoller's avatar
      Fix typo. · 5d8082f0
      Leigh B Stoller authored
      5d8082f0
  2. 16 Sep, 2013 1 commit
  3. 12 Sep, 2013 2 commits
  4. 11 Sep, 2013 5 commits
  5. 10 Sep, 2013 1 commit
  6. 09 Sep, 2013 19 commits
  7. 05 Sep, 2013 4 commits
  8. 04 Sep, 2013 3 commits