Commit Graph

606 Commits

Author SHA1 Message Date
Eric Miller
feefe2dcee - Add new VLAN methods to include VLAN set methods. Testers needed.
-  POD updates.
2007-04-17 03:44:42 +00:00
Eric Miller
7a40aa02ed more POD 2007-04-17 03:18:58 +00:00
Eric Miller
5d9ac88750 - Add new VLAN methods to include VLAN set methods. Testers needed.
-  Support partial table fetches on overridden table methods.
-  POD updates.
2007-04-16 03:25:35 +00:00
Eric Miller
93c54da5ba [ 1577927 ] Add EIGRP Neighbor Tables (Andrew Herrick) 2007-04-15 03:39:01 +00:00
Eric Miller
d9c87bdfbd - Modify inheritance to use Cisco classes before generic classes
- [ 1670428 ] add CiscoConfig inheritance
- Remove globs which shouldn't be needed with new inheritance chain
- Add CiscoPortSecurity inheritance so we can remove port security from CiscoStack
- POD updates
2007-04-15 02:44:14 +00:00
Eric Miller
6bbc902c75 Copyright and license 2007-04-14 23:59:35 +00:00
Eric Miller
79a4a55265 entPhysicalIndex (e_index) is not-accessible. Create e_index method to facilitate emulation methods in other classes 2007-04-14 23:57:31 +00:00
Eric Miller
67081eed26 Emulate ENTITY-MIB Physical Table methods using S5-CHASSIS-MIB for older devices. 2007-04-14 20:54:57 +00:00
Eric Miller
be37a24fc9 - Modify inheritance to use Cisco classes before generic classes
- Remove globs which shouldn't be needed with new inheritance chain
- POD updates
2007-04-06 03:37:26 +00:00
Eric Miller
269d2b7be9 - Support partial table fetches on overridden table methods.
-  Use IID as key for hashes, remove unnecessary code.
-  Align with other topology classes, return all data.  c_ip() no longer returns and an array for multiple neighbors on a local port.
2007-04-06 02:10:58 +00:00
Eric Miller
749ad55af1 Add LLDP support 2007-04-06 02:00:45 +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
b5edc85a56 Initial commit - based upon the work of Bernhard Augenstein 2007-04-04 02:19:28 +00:00
Eric Miller
bb9e6f5101 [ 1670413 ] CDP.pm -- power drawn support (Justin Hunter) 2007-04-03 02:53:52 +00:00
Eric Miller
9d37614f66 [ 1670407 ] MAU.pm partials (Justin Hunter) 2007-04-03 02:40:47 +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
09f80eeed7 Translate OIDs returned by Entity MIB e_type 2007-02-26 00:19:15 +00:00
Bill Fenner
e5c81896aa Implement v_index as a function, since the OID is not-accessible and
can't be walked.
2007-02-20 03:06:04 +00:00
Bill Fenner
7ad7d1e338 Add -n for no bulkwalk.
Allow -x to be specified multiple times to go with Info.pm's new
 Debug=2 output.
2007-02-15 23:11:43 +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
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