Commit Graph

136 Commits

Author SHA1 Message Date
Eric Miller
71b0e7c60f Add munge_caps() and munge_null() 2008-07-15 02:39:43 +00:00
Eric Miller
84bc3f5269 PBP always return via an explicit return 2008-07-09 01:16:42 +00:00
Eric Miller
38c63a3086 - PBP compliance via Perl::Critic
- Use bare return to return failure
- No code before strictures are enabled
2008-07-09 00:41:56 +00:00
Bill Fenner
1b85820314 Support Cisco 1250 and Linksys SRW2048 2008-07-08 16:38:34 +00:00
Eric Miller
ba85dc670b - POD Validation
- POD spell check
- Prep 1.09
2008-07-07 04:10:39 +00:00
Eric Miller
b03e292d95 Document fully qualifying a MIB leaf in %GLOBALS and %FUNCS 2008-04-21 20:55:52 +00:00
Eric Miller
d0061b4ec9 - Added munge_port_list()
- Added modify_port_list()
- Added set_multi() to enable a SNMP set command on several new values in the one request.
2007-12-20 04:01:17 +00:00
Eric Miller
1813e60cec - Add i_speed_raw() (Alexander Hartmaier)
- [ 1841131 ] Incorrect munging of stp_root (Carlos Vicente)
2007-12-08 02:50:39 +00:00
Eric Miller
fed85592cb - D-Link and IBM BladeCenter GbESM support (Alex Kramarov)
- Add support to specify MIB to resolve leaf names conflicts in %GLOBALS and %FUNCS.
2007-12-07 04:07:01 +00:00
Bill Fenner
9a0915f3a1 Infrastructure for SNMPv3 support:
- Save the SecName passed into the constructor
- Create an update() function, which replaces the underlying
  SNMP session using different parameters.
- Return the SecName instead of community from snmp_comm() when using
  SNMPv3.  This is a little wrong, but is probably better than returning
  undef.
2007-12-02 18:55:54 +00:00
Eric Miller
97fbd36c6a [ 1464654 ] HP Procurve 9315 FDP Support \n pod updates 2007-12-02 02:34:58 +00:00
Eric Miller
e81344c357 - bump version
- pod update
2007-11-29 02:31:13 +00:00
Eric Miller
48e9b0b030 update for 1.07 2007-11-27 03:17:36 +00:00
Eric Miller
bd908a6952 [1833174] Info.pm: recognise new Nortel switches as Layer2::Baystack (David Sieb�rger) 2007-11-19 04:25:17 +00:00
Bill Fenner
b435382a5e Map 207 to Layer2::Allied 2007-10-09 17:53:23 +00:00
Eric Miller
0c583b7838 Enterasys support 2007-06-25 22:02:27 +00:00
Eric Miller
533104ce55 [ 1670427 ] Info.pm modifications - allow partials on i_speed (Justin Hunter) 2007-06-19 01:48:57 +00:00
Eric Miller
f543768c7b Fix detection of Cisco PIX and ASA. 2007-06-13 02:56:18 +00:00
Eric Miller
98d120717a [ 1681923 ] Preliminary MS Windows router support (begemot) 2007-06-11 02:45:20 +00:00
Eric Miller
77aca4b628 Depreciate L2::Foundry, use new L3::Foundry for all Foundry devices.
Enable the use of raw mib leaf names from loaded MIBs in set operations.
Clear attribute cache on successful SNMP set.
POD updates.
2007-06-09 03:29:44 +00:00
Eric Miller
3edb813da7 Pass $attr twice to _load_attr( ) in AUTOLOAD when using a mib leaf to make sure data is cached. 2007-04-21 02:43:55 +00:00
Eric Miller
866d28a36d Fix for incorrect mib leaf logic in AUTOLOAD. 2007-04-06 01:58:16 +00:00
Eric Miller
1a3b3ae009 - Patches from Alexander Hartmaier
- POD update for new LLDP class
2007-04-05 02:47:07 +00:00
Eric Miller
669989434c - Enable calls to SUPER class to find autoloaded methods (Bernhard Augenstein)
- Modify AUTOLOAD so that single instance MIB leafs return a scalar like GLOBALS while MIB leafs in tables return reference to hash like FUNCS.  Do not access %SNMP::MIB directly to prevent autovivification.
2007-04-03 02:19:39 +00:00
Eric Miller
fb44b0b4b1 Only return MAC from munge_mac() if it actually is a MAC. Fix for netdisco where device would not be inserted in DB due to malformed MAC. 2007-04-03 01:25:22 +00:00
Bill Fenner
1b0c212a95 Increased debugging in _load_attr(). The most verbose requires
Debug = 2.
Print an error in AUTOLOAD if it's called without a class; this
 is likely to be a typo in a function call in a module implementation
 and the default error message is just confusing.
2007-02-15 23:10:55 +00:00
Bill Fenner
70197f35ee Add Layer3::NetSNMP, combining some of my work with that submitted by
Bradley Baetz in patch 1557529.
2007-02-14 23:58:31 +00:00
Eric Miller
cde34cfc99 Cisco Airespace wireless controller support 2007-01-25 03:59:38 +00:00
Bill Fenner
b1e0261216 Handle SNMPv1 noSuchName response - iid = '' and val = ''.
Getting noSuchName in response to a getnext for an empty table
 resulted in a return value of { '' => '' } instead of undef.
Fixes [1596554]
2006-11-23 06:51:38 +00:00
Bill Fenner
84b1160c23 Hook up Netgear by enterprise number. 2006-11-23 06:17:10 +00:00
Eric Miller
0b932064ed Cyclades terminal server support 2006-11-20 19:36:14 +00:00
Eric Miller
5da4035b03 Add loop detect option and code for getnext table column walks. 2006-11-15 18:01:27 +00:00
Eric Miller
435af3cf82 - Fix for bug where an SNMP error in any operation would cause subsequent table get operations to fail in the same session, originally identified by Nicolai Petri.
- Implemented Justin Hunter's suggestion to enable dynamic methods in AUTOLOAD with MIB Leaf node names for loaded MIBs without definition in %FUNCS.
- Enable load_ methods for %GLOBALS and MIB Leaf node names.
- Allow partial table fetches with load_ methods.
- Allow a single instance partial table fetch with iid = 0, can be used to support non-table MIB Leaf node name fetches.
- Documentation updates.
2006-11-14 04:07:23 +00:00
Eric Miller
d46842bd8e Detection of older dual speed Bay hubs.
SF Patch 1557530 - OC-48 interfaces - Bradley Baetz
2006-09-29 03:13:58 +00:00
Eric Miller
e60a1a6931 Nortel ERS 1600 series < 2.1 use L3::N1600 others now use L3::Passport 2006-09-19 16:28:28 +00:00
Eric Miller
d7c0959d27 Passport class detection changes 2006-09-19 15:45:23 +00:00
Max Baker
862e8b6006 Added CGESM to C2900 in device_type() 2006-09-06 17:42:05 +00:00
Max Baker
1820299dcf added all entries from ifEntry table in IF-MIB and their descriptions. reorderd to match in %FUNC 2006-09-06 17:17:00 +00:00
Eric Miller
2ab9bb0053 Add NetScreen support. SF patch ID 1507463. 2006-08-30 02:17:19 +00:00
Eric Miller
45af60459f Basic Sun support - SF Patch 1544637 contributed by begemot 2006-08-23 19:48:47 +00:00
Eric Miller
c130b9a49e Fix SNMPv1 partial table fetches, bug introduced by patch to enable single instance partial table fetches. 2006-08-22 01:42:56 +00:00
Eric Miller
83fb73389a Bill's patch to allow single instance partial table fetches. 2006-08-17 01:54:27 +00:00
Eric Miller
74ccc599fe Add generic device type detection using IANA assigned enterpise number extracted from sysObjectID. Add Dell switch detection. 2006-08-11 02:26:26 +00:00
Eric Miller
cf1564d598 doc updates 2006-07-08 02:01:22 +00:00
Eric Miller
799a06b63a prep 1.04, capture older versions of BayRS 2006-07-08 01:25:40 +00:00
Max Baker
f65332f9cc added detection for C3400 w/ metrobase to L3/C3550 class 2006-06-26 23:00:27 +00:00
Max Baker
3416928233 added c2940 support, fixed typo in Orinoco detection. 2006-06-20 18:26:52 +00:00
Max Baker
4d262872c8 added sysID to debug messages for data collection purposes 2006-06-20 05:00:23 +00:00
Max Baker
795ae41d68 changed detection of HP ProCurve devices. New firmware doesn't have the string HP in the description... maybe we should use OIDs :-) 2006-06-20 04:34:59 +00:00
Max Baker
ddca296e2a added generic L2::Cisco class and fixed warnings in CiscoStack 2006-06-20 03:58:10 +00:00