Commit Graph

635 Commits

Author SHA1 Message Date
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
0dc9174c83 Fix uptime fetching code.
Minor documentation fixes.
2007-02-15 21:49:59 +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
5c0cefefba [ 1644841 ] Airespace serial number 2007-01-26 03:44:11 +00:00
Eric Miller
54633a7b99 [ 1638153 ] Add rptrAddrTrackNewLastSrcAddress to Layer1's functions 2007-01-25 04:30:38 +00:00
Eric Miller
cde34cfc99 Cisco Airespace wireless controller support 2007-01-25 03:59:38 +00:00
Bill Fenner
41dac34246 Fix typo in name of OID for e_pos. Also add pod for e_pos. 2006-12-02 04:06:27 +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
Bill Fenner
0cededc7ba Add a netgear class, based on Zoltan Erszenyi's work with the
GSM 7224 and my brief encounter with an FSM 726.
2006-11-23 06:12:46 +00:00
Eric Miller
0b932064ed Cyclades terminal server support 2006-11-20 19:36:14 +00:00
Eric Miller
c4c0cbb597 Fix doc cut and paste 2006-11-20 16:29:21 +00:00
Eric Miller
24662f2352 Initial Import 2006-11-20 16:19:28 +00:00
Bill Fenner
d460c5a473 Some of the links were broken since some pages used
TABLE ENTRIES and others used TABLE METHODS.  Since
README says TABLE METHODS, let's standardize on that.
2006-11-18 00:23:26 +00:00
Bill Fenner
87063bc4d3 Update Required MIBs, GLOBALS and TABLE ENTRIES sections to
include links in cross-references to other SNMP::Info pages.
2006-11-17 00:59:33 +00:00
Bill Fenner
948921930b Remove custom ipNetToMediaTable implementations, and inherit them
from Layer3.pm
Use orig_foo() instead of custom versions
Rename 'serial' to 'serial1' so Layer3.pm's serial() sub will use it
2006-11-17 00:25:14 +00:00
Bill Fenner
dc494ff038 Implement Dot11 Transmission Power Table (dot11PhyTxPowerTable)
and a helper function, dot11_cur_tx_pwr_mw(), which performs the
 necessary dereferencing to get the current tx power level in mw.
2006-11-16 17:39:04 +00:00
Bill Fenner
a98e163c7c Add interfaces to Q-BRIDGE Filtering Database Table (dot1qFdbTable):
qb_fw_mac, qb_fw_port, qb_fw_status.  These can be used directly
 in place of fw_mac, fw_port, fw_status for devices that only
 populate dot1qFdbTable and not dot1dFdbTable.
2006-11-15 21:10:23 +00:00
Eric Miller
e6428abc0b Cached globals in set operations are bad :-( 2006-11-15 19:48:20 +00:00
Eric Miller
9597095b50 Prep 1.05 2006-11-15 19:38:20 +00:00
Eric Miller
905272a3bc Doc update 2006-11-15 19:26:27 +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
afc53b176b Changes to CiscoVTP, OSPF neighbor table, CiscoConfig class. 2006-11-04 03:27:16 +00:00
Eric Miller
8624b0d63a - Throw errors with error_throw()
- Better input parameter validation
- Only allow set_i_vlan() on access ports
- Change order of egress list processing in set_i_vlan() in case we're given the same VID
2006-11-04 03:08:38 +00:00
Eric Miller
1ac5cdd110 Fix in i_vlan() and i_vlan_membership() for newer code 2006-11-03 22:17:33 +00:00
Bill Fenner
1be0292e78 Override the Layer3 serial number fetching. 2006-11-03 19:06:43 +00:00
Bill Fenner
523deb988a If the result is a ref to an array, print the array.
(Have to be careful about becoming Data::Dumper...)
2006-11-03 16:53:10 +00:00
Eric Miller
4ae815c6f9 - Add new VLAN methods.
- Support partial table fetches on overridden table methods.
- Document new set methods and other doc updates.
2006-11-02 20:49:45 +00:00
Eric Miller
d46b124674 - Support for "write mem" and "write net" for older IOS versions
- Added appropriate debugging output and throw errors as expected
- Timeout value to prevent an infinite loop while waiting for the device to report success or failure.
2006-11-01 21:37:29 +00:00
Eric Miller
df9a335052 Initial Import
SF Patch 1555001 - CiscoConfig.pm (Justin Hunter)
2006-10-30 21:35:45 +00:00
Eric Miller
038a6c7714 Documentation updates 2006-10-30 17:57:10 +00:00
Eric Miller
301d14acf0 document recent changes 2006-10-30 03:41:34 +00:00
Eric Miller
c5a0e40065 - Add OSPF Neighbor Table, SF Patch 1577918 by Andrew Herrick
- Add OSPF Interface Table
- Documentation updates
2006-10-28 03:21:31 +00:00
Eric Miller
b8c03fa9c1 - Change inheritance - Layer2 and IEEE802dot11
- Implement i_ssidlist(), and i_80211channel() methods through IEEE802dot11 class
- Use orig_ syntax. Remove redundant items
- Support partial table fetches on overridden table methods
- Documentation updates
2006-10-27 15:23:11 +00:00
Eric Miller
3da742fa1d - Implement i_ssidlist(), i_ssidbcast(), and i_80211channel() methods.
- Use orig_ syntax. Remove redundant items.
- Support partial table fetches on overridden table methods.
- Documentation updates.
2006-10-20 20:05:22 +00:00
Eric Miller
a1199f6ff0 Initial commit 2006-10-20 18:27:16 +00:00
Max Baker
4dc43891df pod fix 2006-10-18 18:02:35 +00:00
Max Baker
7aede0a35e allow translateObj() to fail by adding default return value. fix reported warnings 2006-10-18 16:52:33 +00:00
Max Baker
8b0239fdde added 7200 series note about IOS version 2006-10-18 16:42:20 +00:00
Eric Miller
ab632849bf - Extend interfaces - Each radio interface instead of just one interface per AP. Added virtual interfaces (AP tunnel terminations).
- Implemention of additional MIB leafs and tables.
- Implement i_ssidlist(), i_ssidbcast(), and i_80211channel() methods.
- Use orig_ syntax. Remove redundant items.
- Support partial table fetches on overridden table methods.
- Documentation.
2006-10-12 21:48:32 +00:00
Bill Fenner
cec6e00384 in test_fn(), call test_global() if we get something back from the
method that's not a hash.  This enables "-p foo" on the command line
 for a foo that's not a hash.
2006-10-12 17:53:45 +00:00
Eric Miller
3656c6e42a Initial Import 2006-10-03 02:56:36 +00:00
Eric Miller
b93278fa93 Add definitions to support new VLAN methods.
Documention updates.
2006-10-03 02:24:37 +00:00
Eric Miller
ff37bab36d bp_port () definition fix - Nicolai Petri bug report 2006-10-03 01:38:36 +00:00
Eric Miller
f3783daf05 Doc updates 2006-10-01 03:16:28 +00:00
Eric Miller
8c01484a5d Support partial table fetches on overridden table methods.
Pod updates.
2006-10-01 03:08:55 +00:00
Eric Miller
d8994dc737 Rework regex again for conflicts between 8100 and 1100 series. 2006-09-29 13:56:42 +00:00
Eric Miller
88890649bf Support for dual speed 10/100 hubs 2006-09-29 03:18:57 +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