1. 08 Dec, 2014 1 commit
    • Kirk Webb's avatar
      Pull in new comware (h3c) module, courtesy of Keith Sklower @ DETER. · b9dffc3e
      Kirk Webb authored
      For now I'm adding this as a separate file, wherein I have renamed the
      base procurve module as "snmpit_hpupd" until we have more time to test the
      integration.  I did a fairly quick-and-dirty port of this code to work
      with modern Emulab snmpit.
      The comware module will be used for switches with "comware" in their
      'type' string.
  2. 08 Sep, 2014 1 commit
    • Kirk Webb's avatar
      Fix openflow support test in snmpit_hp module · 6185bd1e
      Kirk Webb authored
      Perl's SNMP library returns no error, but sets the return value to
      "NOSUCHOBJECT" when an invalid OID is queried.  That must have changed
      at some point after the test in snmpit_hp was written. So, compensate.
  3. 31 Mar, 2014 1 commit
    • Kirk Webb's avatar
      Add jumbo frame support to the snmpit_hp module. · c354ea9a
      Kirk Webb authored
      If the snmpit_use_jumbo boolean attribute is set to '1' then the module
      will enable jumbo frames for all created vlans.  The value in
      'node_attributes', if it exists, overrides the value in
      'node_type_attributes' (if it exists).  The default if neither exists
      is '0', or 'disabled'.
  4. 08 Jan, 2014 1 commit
  5. 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.
  6. 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.
    • 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.
  7. 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.
  8. 28 Aug, 2013 1 commit
  9. 27 Aug, 2013 1 commit
  10. 26 Aug, 2013 1 commit
  11. 23 Aug, 2013 2 commits
  12. 22 Aug, 2013 1 commit
  13. 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
      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.
  14. 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* state...
  15. 01 Aug, 2012 1 commit
  16. 29 Jun, 2012 1 commit
  17. 14 Nov, 2011 1 commit
  18. 11 May, 2011 1 commit
  19. 10 May, 2011 1 commit
  20. 07 May, 2011 1 commit
  21. 06 May, 2011 2 commits
  22. 02 May, 2011 1 commit
  23. 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.
  24. 30 Sep, 2010 1 commit
  25. 26 Aug, 2010 1 commit
  26. 12 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.
  27. 22 Jun, 2010 1 commit
  28. 21 Jun, 2010 1 commit
  29. 20 Apr, 2010 1 commit
  30. 15 Apr, 2010 2 commits
  31. 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.
  32. 09 Apr, 2010 1 commit
  33. 08 Apr, 2010 1 commit
  34. 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.
  35. 02 Apr, 2010 1 commit
  36. 31 Mar, 2010 1 commit