1. 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.
      264500e2
  2. 17 Sep, 2013 2 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
      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
  3. 05 Sep, 2013 1 commit
    • Leigh B Stoller's avatar
      Add option to check for and prune stale vlans from switch fabric. · 77f31539
      Leigh B 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.
      77f31539
  4. 28 Aug, 2013 1 commit
  5. 27 Aug, 2013 1 commit
  6. 26 Aug, 2013 1 commit
  7. 23 Aug, 2013 2 commits
  8. 22 Aug, 2013 1 commit
  9. 28 Feb, 2013 1 commit
    • Leigh B Stoller's avatar
      Fix (sorta) for the case where we are removing a node from the shared · 919ddac1
      Leigh B Stoller authored
      pool with -X (sync). This is a case where the last vlan is removed
      from a port, but not allowed to do that on a procurve. It has to be
      added to vlan 1 first, and then the other removed. But the port is in
      "dual" mode tagging, and because of the way that is implemented in
      snmpit_hp, it was failing. The port has to be converted to equal
      tagging first, then vlan 1 added, and then finally the actual vlan
      removed.
      
      Caveat; once we do this the port is in equal mode, and if were to add
      a tagged vlan back to it, we would not be operating as before. But
      this is not a use case we currently have.
      919ddac1
  10. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  11. 01 Aug, 2012 1 commit
  12. 29 Jun, 2012 1 commit
  13. 14 Nov, 2011 1 commit
  14. 11 May, 2011 1 commit
  15. 10 May, 2011 1 commit
  16. 07 May, 2011 1 commit
  17. 06 May, 2011 2 commits
  18. 02 May, 2011 1 commit
  19. 09 Nov, 2010 1 commit
    • Robert Ricci's avatar
      Bug fix to snmpit_hp.pm from Keith Sklower @Berkeley · a66d4ae2
      Robert Ricci authored
      Mail follows:
      
      From: Keith Sklower <sklower@vangogh.CS.Berkeley.EDU>
      To: ricci@flux.utah.edu
      Subject: bug in snmpit_hp.pm
      Date: Sat, 6 Nov 2010 13:15:46 -0700 (PDT)
      
      There are two extra characters in snmpit_hp.pm that shouldn't be there.
      
      For some reason, it doesn't seem to matter to older firmware running
      on our 5412s that I wanted to do something with a non-existant port,
      but a lowly 1U 2810 that we were testing out as a control switch
      threw a hissy-fit.
      a66d4ae2
  20. 30 Sep, 2010 1 commit
  21. 26 Aug, 2010 1 commit
  22. 13 Aug, 2010 1 commit
    • Robert Ricci's avatar
      Backend snmpit module changes from Keith Sklower · efdf34a0
      Robert Ricci authored
      These are mostly code cleanup, in preparation for some larger frontend
      changes that will come soon. Also gives an option for the Nortel
      to be configured through the CLI rather than SNMP, which Keith says
      is much, much faster on it.
      efdf34a0
  23. 22 Jun, 2010 1 commit
  24. 21 Jun, 2010 1 commit
  25. 20 Apr, 2010 1 commit
  26. 15 Apr, 2010 2 commits
  27. 14 Apr, 2010 1 commit
    • Weibin Sun's avatar
      fix bug: in snmpit_hp module, the SNMP session with MIB returns the OID as... · a3e55dbf
      Weibin Sun authored
      fix bug: in snmpit_hp module, the SNMP session with MIB returns the OID as strings not numbers even for Openflow entry, however, the meaningful string OID cannot be used to get the next entry in MIB table! So getUsedOpenflowListenerPorts has to modify the OID of the current entry to be the numbered format.
      a3e55dbf
  28. 09 Apr, 2010 1 commit
  29. 08 Apr, 2010 1 commit
  30. 05 Apr, 2010 1 commit
    • Weibin Sun's avatar
      Openflow OIDs can be used in snmpit_hp now, so the functions can act... · 06c2f12b
      Weibin Sun authored
      Openflow OIDs can be used in snmpit_hp now, so the functions can act correctly. Command line options configuration is changed to use only one vlanname for each OF command. The order of OF support checking and finding VLan is changed so that stack module will find vlan first, then check OF support. Thus there will not be an error msg for OF unsupported even if the vlan is not on the switch.
      06c2f12b
  31. 02 Apr, 2010 1 commit
  32. 01 Apr, 2010 1 commit
  33. 25 Mar, 2010 1 commit
  34. 28 Oct, 2009 1 commit
  35. 19 Oct, 2009 1 commit
  36. 21 May, 2009 1 commit