1. 11 May, 2007 2 commits
  2. 09 Jan, 2007 1 commit
  3. 10 Nov, 2006 1 commit
  4. 24 Aug, 2006 1 commit
  5. 15 Aug, 2006 2 commits
  6. 07 Jun, 2006 1 commit
  7. 04 May, 2006 1 commit
    • Kirk Webb's avatar
      · 6855e42e
      Kirk Webb authored
      Fix "illegal character in prototype" message.
  8. 05 Apr, 2006 1 commit
    • Robert Ricci's avatar
      A couple changes to VLAN locking: · 4bad01f4
      Robert Ricci authored
      First, don't retry so many times. The old value of 40 tries was set
      before snmpitSetWarn() was around. snmpitSetWarn() itself retries 10
      times, so we were trying 400 times before giving up!
      Second, if grabbing the edit buffer lock fails, try to find out if
      someone else is holding it, and print the owner.
  9. 16 Feb, 2006 1 commit
  10. 09 Dec, 2005 1 commit
  11. 19 Nov, 2005 1 commit
  12. 18 Nov, 2005 2 commits
    • Robert Ricci's avatar
      Make snmpit_cisco much, much more robust to failures. · 1236b544
      Robert Ricci authored
      Convert most SNMP interaction to use the snmpit*() library, so that
      they get support for retrying failures, etc.
      Add new library calls for wrapping bulkwalk() - so now, we will
      retry those on error as well. Before, we had the bad behavior than
      many functions, like listVlans() would just see empty lists instead
      of errors.
      When making a new Cisco object, we now test network connectivity right
      away, by fetching an OID that should exist on all SNMP devices. Before,
      we wouldn't find out we couldn't contact the switch until we actually
      did something on it.
      Also, make VLAN number choosing go a bit faster by converting it to
      bulkwalk() (using the new library function) so we can grab all VLAN
      numbers at once.
    • Robert Ricci's avatar
      When removing VLANs, get a new lock on the edit buffer for each VLAN · e5986abc
      Robert Ricci authored
      we're going to remove. We used to do all VLANs in one lock for
      performace reasons - however, I'm discovering that the lock can get
      held for such a long time when many VLANs are being deleted that other
      VLAN operations, such as listing VLANs, can fail. And, it's not
      actually that much slower to grab a new lock each time.
  13. 13 Oct, 2005 1 commit
  14. 16 Aug, 2005 2 commits
  15. 28 Jul, 2005 1 commit
  16. 22 Jul, 2005 1 commit
    • Robert Ricci's avatar
      Finally convert listPorts to bulkwalk - this makes performing this · b823150b
      Robert Ricci authored
      operation on our existing stack 3x faster.
      The real reason for doing this, though, is robustness - the old
      code was terribly fragile, depending on several tables being in order,
      etc. This was breaking on some of our new switches.
      Also fix a few typos in debugging messages.
  17. 21 Jun, 2005 1 commit
    • Mike Hibler's avatar
      snmpit: snmpit_cisco returns " ", not null, when it cannot get speed/duplex · 2907d2c0
      Mike Hibler authored
      so -B now ignores that rather than warning.
      snmpit_cisco: hack to get around 2950 switch returning just <port>
      rather than <module>.<port> in interface info tables.
      Note: snmpit_cisco does not successfully return speed/duplex info for -b,
      this may cause problems with whack-on-lan and needs to be fixed!
  18. 08 Jun, 2005 1 commit
    • Robert Ricci's avatar
      Terrible hack. · 5cf8cbc1
      Robert Ricci authored
      Non-modular switches with two different types of interfaces give us
      trouble under IOS because they appear to be on the same module, but
      the duplicate card numbers. ie. Fastethernet0/1 and Gigabitethernet0/1
      Hack around this by pretending the gigabit ports on such a switch are
      on module 1, not module 0.
      This works fine on the 29xx series, but probably won't work well for
      anything else. The real solution is to move to iface instead of
      card.port, or use a type.card.port triple.
      In order to invoke this hack, you must put '-modhack' in the type for
      the switch in the nodes table.
  19. 03 Dec, 2004 1 commit
  20. 01 Dec, 2004 1 commit
    • Robert Ricci's avatar
      Add user-visible support for trunking. · cfdf5c00
      Robert Ricci authored
      Added support for Cisco switches to enable and disable trunking for a
      Added two new command-line options:
      -N <port> <vlans>
      	Enable trunking on a port, allowing the given list of VLANs to
      	cross the trunk
      -U <port>:
      	Disable trunking for the port
      This functionality is needed for Mike's firewall support.
  21. 10 Nov, 2004 2 commits
  22. 08 Oct, 2004 1 commit
  23. 01 Oct, 2004 1 commit
  24. 13 Aug, 2004 1 commit
  25. 22 Oct, 2003 1 commit
    • Robert Ricci's avatar
      Change the way the switch modules for snmpit get their configuration · c069a419
      Robert Ricci authored
      information. Rather than pass it all in, which was getting very
      cumbersome, and inconsistent between Cisco and Intel switches, the
      modules query the database themselves (via a new function in
      Also in this commit are two new options for switch stacks - the
      ability to specify minimum and maximum VLAN number to use.
  26. 11 Aug, 2003 1 commit
  27. 28 Apr, 2003 1 commit
  28. 26 Mar, 2003 1 commit
  29. 17 Mar, 2003 2 commits
  30. 18 Feb, 2003 1 commit
  31. 14 Feb, 2003 1 commit
  32. 10 Feb, 2003 1 commit
  33. 07 Feb, 2003 2 commits