From bc8c8a6061366644bc54a837505c63e97d58deff Mon Sep 17 00:00:00 2001 From: Oliver Gorwits <> Date: Thu, 31 Mar 2011 08:34:57 +0000 Subject: [PATCH] prep for 2.04 release --- ChangeLog | 2 +- Info.pm | 4 +-- Info/Airespace.pm | 2 +- Info/Bridge.pm | 2 +- Info/CDP.pm | 2 +- Info/CiscoConfig.pm | 2 +- Info/CiscoImage.pm | 2 +- Info/CiscoPortSecurity.pm | 2 +- Info/CiscoPower.pm | 2 +- Info/CiscoQOS.pm | 2 +- Info/CiscoRTT.pm | 2 +- Info/CiscoStack.pm | 2 +- Info/CiscoStats.pm | 2 +- Info/CiscoStpExtensions.pm | 2 +- Info/CiscoVTP.pm | 2 +- Info/Entity.pm | 2 +- Info/EtherLike.pm | 2 +- Info/FDP.pm | 2 +- Info/IEEE802dot11.pm | 2 +- Info/LLDP.pm | 2 +- Info/Layer1.pm | 2 +- Info/Layer1/Allied.pm | 2 +- Info/Layer1/Asante.pm | 2 +- Info/Layer1/Bayhub.pm | 2 +- Info/Layer1/Cyclades.pm | 2 +- Info/Layer1/S3000.pm | 2 +- Info/Layer2.pm | 2 +- Info/Layer2/Airespace.pm | 2 +- Info/Layer2/Aironet.pm | 2 +- Info/Layer2/Allied.pm | 2 +- Info/Layer2/Aruba.pm | 2 +- Info/Layer2/Bay.pm | 2 +- Info/Layer2/Baystack.pm | 2 +- Info/Layer2/C1900.pm | 2 +- Info/Layer2/C2900.pm | 2 +- Info/Layer2/Catalyst.pm | 2 +- Info/Layer2/Centillion.pm | 2 +- Info/Layer2/Cisco.pm | 2 +- Info/Layer2/Foundry.pm | 2 +- Info/Layer2/HP.pm | 2 +- Info/Layer2/HP4000.pm | 2 +- Info/Layer2/N2270.pm | 2 +- Info/Layer2/NAP222x.pm | 2 +- Info/Layer2/Netgear.pm | 2 +- Info/Layer2/Orinoco.pm | 2 +- Info/Layer2/ZyXEL_DSLAM.pm | 2 +- Info/Layer3.pm | 2 +- Info/Layer3/Aironet.pm | 2 +- Info/Layer3/AlcatelLucent.pm | 2 +- Info/Layer3/AlteonAD.pm | 2 +- Info/Layer3/Altiga.pm | 2 +- Info/Layer3/Arista.pm | 2 +- Info/Layer3/BayRS.pm | 2 +- Info/Layer3/C3550.pm | 2 +- Info/Layer3/C4000.pm | 2 +- Info/Layer3/C6500.pm | 2 +- Info/Layer3/Cisco.pm | 2 +- Info/Layer3/CiscoFWSM.pm | 2 +- Info/Layer3/Contivity.pm | 2 +- Info/Layer3/Dell.pm | 2 +- Info/Layer3/Enterasys.pm | 2 +- Info/Layer3/Extreme.pm | 2 +- Info/Layer3/Foundry.pm | 2 +- Info/Layer3/HP9300.pm | 2 +- Info/Layer3/Juniper.pm | 2 +- Info/Layer3/Microsoft.pm | 2 +- Info/Layer3/N1600.pm | 2 +- Info/Layer3/NetSNMP.pm | 2 +- Info/Layer3/Netscreen.pm | 2 +- Info/Layer3/Passport.pm | 2 +- Info/Layer3/Pf.pm | 2 +- Info/Layer3/Sun.pm | 2 +- Info/Layer3/Timetra.pm | 2 +- Info/MAU.pm | 2 +- Info/NortelStack.pm | 2 +- Info/PowerEthernet.pm | 2 +- Info/RapidCity.pm | 2 +- Info/SONMP.pm | 2 +- MANIFEST | 5 ++++ README | 58 ++++++++++++------------------------ t/push_ver | 2 +- 81 files changed, 104 insertions(+), 119 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c6c8f3e..0b87dfe6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ SNMP::Info - Friendly OO-style interface to Network devices using SNMP. ChangeLog $Id$ -version 2.02 () +version 2.04 (2011-03-31) + Support for older HP switch models moved to new L2::HP4000 class + Fix VLAN changing in L2::HP and L2::HP4000 classes * Updated model lists in HP classes diff --git a/Info.pm b/Info.pm index 18c59164..512789a8 100644 --- a/Info.pm +++ b/Info.pm @@ -23,7 +23,7 @@ use vars qw/$VERSION $VERSION_CVS %FUNCS %GLOBALS %MIBS %MUNGE $AUTOLOAD $INIT $DEBUG %SPEED_MAP $NOSUCH $BIGINT $REPEATERS/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; $VERSION_CVS = '$Id$'; =head1 NAME @@ -32,7 +32,7 @@ SNMP::Info - Object Oriented Perl5 Interface to Network devices and MIBs through =head1 VERSION -SNMP::Info - Version 2.02 +SNMP::Info - Version 2.04 =head1 AUTHOR diff --git a/Info/Airespace.pm b/Info/Airespace.pm index b391dc56..235fe543 100644 --- a/Info/Airespace.pm +++ b/Info/Airespace.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, diff --git a/Info/Bridge.pm b/Info/Bridge.pm index 7011d411..297244eb 100644 --- a/Info/Bridge.pm +++ b/Info/Bridge.pm @@ -42,7 +42,7 @@ use SNMP::Info; use vars qw/$VERSION $DEBUG %MIBS %FUNCS %GLOBALS %MUNGE $INIT/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'BRIDGE-MIB' => 'dot1dBaseBridgeAddress', diff --git a/Info/CDP.pm b/Info/CDP.pm index 4f4f1478..d64eac91 100644 --- a/Info/CDP.pm +++ b/Info/CDP.pm @@ -42,7 +42,7 @@ use SNMP::Info; use vars qw/$VERSION $DEBUG %FUNCS %GLOBALS %MIBS %MUNGE $INIT/; -$VERSION = '2.01'; +$VERSION = '2.04'; # Five data structures required by SNMP::Info %MIBS = ( 'CISCO-CDP-MIB' => 'cdpGlobalRun' ); diff --git a/Info/CiscoConfig.pm b/Info/CiscoConfig.pm index 8a6e69f8..4897a845 100644 --- a/Info/CiscoConfig.pm +++ b/Info/CiscoConfig.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-CONFIG-COPY-MIB' => 'ccCopyTable', diff --git a/Info/CiscoImage.pm b/Info/CiscoImage.pm index b3b20cf1..739110b0 100644 --- a/Info/CiscoImage.pm +++ b/Info/CiscoImage.pm @@ -38,7 +38,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-IMAGE-MIB' => 'ciscoImageString', ); diff --git a/Info/CiscoPortSecurity.pm b/Info/CiscoPortSecurity.pm index 7098c3d2..60eff00b 100644 --- a/Info/CiscoPortSecurity.pm +++ b/Info/CiscoPortSecurity.pm @@ -38,7 +38,7 @@ use Exporter; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE %PAECAPABILITIES/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-PORT-SECURITY-MIB' => 'ciscoPortSecurityMIB', diff --git a/Info/CiscoPower.pm b/Info/CiscoPower.pm index 5a5bcda6..a81a4867 100644 --- a/Info/CiscoPower.pm +++ b/Info/CiscoPower.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-POWER-ETHERNET-EXT-MIB' => 'cpeExtPsePortEntPhyIndex', 'CISCO-CDP-MIB' => 'cdpCachePowerConsumption' ); diff --git a/Info/CiscoQOS.pm b/Info/CiscoQOS.pm index 68afa340..5ba4d370 100644 --- a/Info/CiscoQOS.pm +++ b/Info/CiscoQOS.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-CLASS-BASED-QOS-MIB' => 'cbQosIfIndex', ); diff --git a/Info/CiscoRTT.pm b/Info/CiscoRTT.pm index 1f9698ea..bb202eee 100644 --- a/Info/CiscoRTT.pm +++ b/Info/CiscoRTT.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-RTTMON-MIB' => 'rttMonCtrlAdminOwner', ); diff --git a/Info/CiscoStack.pm b/Info/CiscoStack.pm index 344ef072..4ac11eb2 100644 --- a/Info/CiscoStack.pm +++ b/Info/CiscoStack.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE %PORTSTAT/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-STACK-MIB' => 'ciscoStackMIB', ); diff --git a/Info/CiscoStats.pm b/Info/CiscoStats.pm index 49cb52e1..d50ce836 100644 --- a/Info/CiscoStats.pm +++ b/Info/CiscoStats.pm @@ -42,7 +42,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'SNMPv2-MIB' => 'sysDescr', diff --git a/Info/CiscoStpExtensions.pm b/Info/CiscoStpExtensions.pm index d0677abc..d9744b47 100644 --- a/Info/CiscoStpExtensions.pm +++ b/Info/CiscoStpExtensions.pm @@ -35,7 +35,7 @@ use SNMP::Info; use SNMP::Info::Bridge; use vars qw/$VERSION $DEBUG %MIBS %FUNCS %GLOBALS %MUNGE %PORTSTAT $INIT/; -$VERSION = '2.01'; +$VERSION = '2.04'; @SNMP::Info::CiscoStpExtensions::ISA = qw/SNMP::Info::Bridge SNMP::Info Exporter/; @SNMP::Info::CiscoStpExtensions::EXPORT_OK = qw//; diff --git a/Info/CiscoVTP.pm b/Info/CiscoVTP.pm index 0d976bc6..fbf6e5bc 100644 --- a/Info/CiscoVTP.pm +++ b/Info/CiscoVTP.pm @@ -41,7 +41,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'CISCO-VTP-MIB' => 'vtpVlanName', diff --git a/Info/Entity.pm b/Info/Entity.pm index f0154e26..8218a545 100644 --- a/Info/Entity.pm +++ b/Info/Entity.pm @@ -41,7 +41,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'ENTITY-MIB' => 'entPhysicalSerialNum' ); diff --git a/Info/EtherLike.pm b/Info/EtherLike.pm index 068d3ca4..0ccf3ef9 100644 --- a/Info/EtherLike.pm +++ b/Info/EtherLike.pm @@ -41,7 +41,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'EtherLike-MIB' => 'etherMIB' ); diff --git a/Info/FDP.pm b/Info/FDP.pm index 2c74a407..cda96173 100644 --- a/Info/FDP.pm +++ b/Info/FDP.pm @@ -42,7 +42,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'FOUNDRY-SN-SWITCH-GROUP-MIB' => 'snFdpGlobalRun' ); diff --git a/Info/IEEE802dot11.pm b/Info/IEEE802dot11.pm index 41868a6e..6f586c40 100644 --- a/Info/IEEE802dot11.pm +++ b/Info/IEEE802dot11.pm @@ -38,7 +38,7 @@ use Exporter; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'IEEE802dot11-MIB' => 'dot11DesiredSSID', ); diff --git a/Info/LLDP.pm b/Info/LLDP.pm index 3a86e3fb..89716f8c 100644 --- a/Info/LLDP.pm +++ b/Info/LLDP.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'LLDP-MIB' => 'lldpLocSysCapEnabled', diff --git a/Info/Layer1.pm b/Info/Layer1.pm index 2a2bea94..4631b3ed 100644 --- a/Info/Layer1.pm +++ b/Info/Layer1.pm @@ -41,7 +41,7 @@ use SNMP::Info; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %PORTSTAT %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, 'SNMP-REPEATER-MIB' => 'rptrPortGroupIndex' ); diff --git a/Info/Layer1/Allied.pm b/Info/Layer1/Allied.pm index 87a861f8..fe5437b3 100644 --- a/Info/Layer1/Allied.pm +++ b/Info/Layer1/Allied.pm @@ -41,7 +41,7 @@ use SNMP::Info::Layer1; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; # Set for No CDP %GLOBALS = ( %SNMP::Info::Layer1::GLOBALS, 'root_ip' => 'actualIPAddr', ); diff --git a/Info/Layer1/Asante.pm b/Info/Layer1/Asante.pm index 8137e1fc..7036f7f5 100644 --- a/Info/Layer1/Asante.pm +++ b/Info/Layer1/Asante.pm @@ -41,7 +41,7 @@ use SNMP::Info::Layer1; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; # Set for No CDP %GLOBALS = ( %SNMP::Info::Layer1::GLOBALS, ); diff --git a/Info/Layer1/Bayhub.pm b/Info/Layer1/Bayhub.pm index 4dac64ab..0d22683f 100644 --- a/Info/Layer1/Bayhub.pm +++ b/Info/Layer1/Bayhub.pm @@ -42,7 +42,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, diff --git a/Info/Layer1/Cyclades.pm b/Info/Layer1/Cyclades.pm index d5dcdef8..2358c5db 100644 --- a/Info/Layer1/Cyclades.pm +++ b/Info/Layer1/Cyclades.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer1; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE $AUTOLOAD/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer1::MIBS, diff --git a/Info/Layer1/S3000.pm b/Info/Layer1/S3000.pm index b24d3a0b..1bb586b1 100644 --- a/Info/Layer1/S3000.pm +++ b/Info/Layer1/S3000.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, diff --git a/Info/Layer2.pm b/Info/Layer2.pm index 76eb75bb..4a54bce3 100644 --- a/Info/Layer2.pm +++ b/Info/Layer2.pm @@ -45,7 +45,7 @@ use SNMP::Info::PowerEthernet; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %PORTSTAT %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, %SNMP::Info::Bridge::MIBS, diff --git a/Info/Layer2/Airespace.pm b/Info/Layer2/Airespace.pm index 47c0ccf9..5d34c3be 100644 --- a/Info/Layer2/Airespace.pm +++ b/Info/Layer2/Airespace.pm @@ -41,7 +41,7 @@ use SNMP::Info::Airespace; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, %SNMP::Info::Bridge::MIBS, diff --git a/Info/Layer2/Aironet.pm b/Info/Layer2/Aironet.pm index e680e43b..97738f90 100644 --- a/Info/Layer2/Aironet.pm +++ b/Info/Layer2/Aironet.pm @@ -49,7 +49,7 @@ use SNMP::Info::IEEE802dot11; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %GLOBALS = ( %SNMP::Info::IEEE802dot11::GLOBALS, diff --git a/Info/Layer2/Allied.pm b/Info/Layer2/Allied.pm index 293d68ff..e9a27077 100644 --- a/Info/Layer2/Allied.pm +++ b/Info/Layer2/Allied.pm @@ -40,7 +40,7 @@ use SNMP::Info::Layer1; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %GLOBALS = ( %SNMP::Info::Layer2::GLOBALS ); diff --git a/Info/Layer2/Aruba.pm b/Info/Layer2/Aruba.pm index fdcc084a..e01c1a03 100644 --- a/Info/Layer2/Aruba.pm +++ b/Info/Layer2/Aruba.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, diff --git a/Info/Layer2/Bay.pm b/Info/Layer2/Bay.pm index 28b91a99..637cc680 100644 --- a/Info/Layer2/Bay.pm +++ b/Info/Layer2/Bay.pm @@ -42,7 +42,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; # Set for No CDP %GLOBALS = ( diff --git a/Info/Layer2/Baystack.pm b/Info/Layer2/Baystack.pm index 8fd79b42..500d4ff3 100644 --- a/Info/Layer2/Baystack.pm +++ b/Info/Layer2/Baystack.pm @@ -46,7 +46,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, %SNMP::Info::LLDP::MIBS, diff --git a/Info/Layer2/C1900.pm b/Info/Layer2/C1900.pm index 3224e6d9..827e4ac2 100644 --- a/Info/Layer2/C1900.pm +++ b/Info/Layer2/C1900.pm @@ -46,7 +46,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %GLOBALS = ( %SNMP::Info::Layer2::GLOBALS, diff --git a/Info/Layer2/C2900.pm b/Info/Layer2/C2900.pm index 1531f050..e568ba73 100644 --- a/Info/Layer2/C2900.pm +++ b/Info/Layer2/C2900.pm @@ -47,7 +47,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %GLOBALS = ( %SNMP::Info::Layer2::GLOBALS, %SNMP::Info::CiscoConfig::GLOBALS, diff --git a/Info/Layer2/Catalyst.pm b/Info/Layer2/Catalyst.pm index e06368a3..f003db3b 100644 --- a/Info/Layer2/Catalyst.pm +++ b/Info/Layer2/Catalyst.pm @@ -49,7 +49,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, %SNMP::Info::CiscoPortSecurity::MIBS, diff --git a/Info/Layer2/Centillion.pm b/Info/Layer2/Centillion.pm index d3289329..28bb828f 100644 --- a/Info/Layer2/Centillion.pm +++ b/Info/Layer2/Centillion.pm @@ -43,7 +43,7 @@ use SNMP::Info::SONMP; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, diff --git a/Info/Layer2/Cisco.pm b/Info/Layer2/Cisco.pm index 4e71fe75..7454a48d 100644 --- a/Info/Layer2/Cisco.pm +++ b/Info/Layer2/Cisco.pm @@ -50,7 +50,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, %SNMP::Info::CiscoConfig::MIBS, diff --git a/Info/Layer2/Foundry.pm b/Info/Layer2/Foundry.pm index 3dd876fd..b3da570c 100644 --- a/Info/Layer2/Foundry.pm +++ b/Info/Layer2/Foundry.pm @@ -44,7 +44,7 @@ use SNMP::Info::MAU; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, %SNMP::Info::FDP::MIBS, diff --git a/Info/Layer2/HP.pm b/Info/Layer2/HP.pm index a3c1e134..78482bff 100644 --- a/Info/Layer2/HP.pm +++ b/Info/Layer2/HP.pm @@ -46,7 +46,7 @@ use SNMP::Info::CDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %PORTSTAT %MODEL_MAP %MUNGE/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer2/HP4000.pm b/Info/Layer2/HP4000.pm index 3a7b899c..1a4c82d5 100644 --- a/Info/Layer2/HP4000.pm +++ b/Info/Layer2/HP4000.pm @@ -44,7 +44,7 @@ use SNMP::Info::CDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %PORTSTAT %MODEL_MAP %MUNGE/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer2/N2270.pm b/Info/Layer2/N2270.pm index 623919e7..67ae53c0 100644 --- a/Info/Layer2/N2270.pm +++ b/Info/Layer2/N2270.pm @@ -43,7 +43,7 @@ use SNMP::Info::Airespace; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE $AUTOLOAD $INIT $DEBUG/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, %SNMP::Info::Bridge::MIBS, diff --git a/Info/Layer2/NAP222x.pm b/Info/Layer2/NAP222x.pm index d110b509..639479a2 100644 --- a/Info/Layer2/NAP222x.pm +++ b/Info/Layer2/NAP222x.pm @@ -42,7 +42,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, %SNMP::Info::IEEE802dot11::MIBS, diff --git a/Info/Layer2/Netgear.pm b/Info/Layer2/Netgear.pm index fad9abcf..97689aa4 100644 --- a/Info/Layer2/Netgear.pm +++ b/Info/Layer2/Netgear.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, ); diff --git a/Info/Layer2/Orinoco.pm b/Info/Layer2/Orinoco.pm index 73619b15..56d3f914 100644 --- a/Info/Layer2/Orinoco.pm +++ b/Info/Layer2/Orinoco.pm @@ -41,7 +41,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer2::MIBS, diff --git a/Info/Layer2/ZyXEL_DSLAM.pm b/Info/Layer2/ZyXEL_DSLAM.pm index 0fd868fb..f2ae4f3d 100644 --- a/Info/Layer2/ZyXEL_DSLAM.pm +++ b/Info/Layer2/ZyXEL_DSLAM.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer2; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; # Set for No CDP %GLOBALS = ( %SNMP::Info::Layer2::GLOBALS ); diff --git a/Info/Layer3.pm b/Info/Layer3.pm index 5c6a3522..6ae62879 100644 --- a/Info/Layer3.pm +++ b/Info/Layer3.pm @@ -49,7 +49,7 @@ use SNMP::Info::IPv6; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, diff --git a/Info/Layer3/Aironet.pm b/Info/Layer3/Aironet.pm index aa9e5e16..f67ba69f 100644 --- a/Info/Layer3/Aironet.pm +++ b/Info/Layer3/Aironet.pm @@ -41,7 +41,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/AlcatelLucent.pm b/Info/Layer3/AlcatelLucent.pm index a156dfc7..5142e79b 100644 --- a/Info/Layer3/AlcatelLucent.pm +++ b/Info/Layer3/AlcatelLucent.pm @@ -42,7 +42,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/AlteonAD.pm b/Info/Layer3/AlteonAD.pm index 1bfec5ed..2d3fe508 100644 --- a/Info/Layer3/AlteonAD.pm +++ b/Info/Layer3/AlteonAD.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Altiga.pm b/Info/Layer3/Altiga.pm index 456c0564..90d8bd64 100644 --- a/Info/Layer3/Altiga.pm +++ b/Info/Layer3/Altiga.pm @@ -40,7 +40,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE $int_include_vpn $fake_idx $type_class/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Arista.pm b/Info/Layer3/Arista.pm index 742d0054..1c9bb400 100644 --- a/Info/Layer3/Arista.pm +++ b/Info/Layer3/Arista.pm @@ -43,7 +43,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/BayRS.pm b/Info/Layer3/BayRS.pm index 5bab84f2..c8cd719d 100644 --- a/Info/Layer3/BayRS.pm +++ b/Info/Layer3/BayRS.pm @@ -43,7 +43,7 @@ use SNMP::Info::Bridge; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE %MODEL_MAP %MODID_MAP %PROCID_MAP/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, diff --git a/Info/Layer3/C3550.pm b/Info/Layer3/C3550.pm index 7e61f186..3f877104 100644 --- a/Info/Layer3/C3550.pm +++ b/Info/Layer3/C3550.pm @@ -64,7 +64,7 @@ use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; @SNMP::Info::Layer3::C3550::EXPORT_OK = qw//; -$VERSION = '2.01'; +$VERSION = '2.04'; # NOTE: Order creates precedence # Example: v_name exists in Bridge.pm and CiscoVTP.pm diff --git a/Info/Layer3/C4000.pm b/Info/Layer3/C4000.pm index 9855afe8..74a091e7 100644 --- a/Info/Layer3/C4000.pm +++ b/Info/Layer3/C4000.pm @@ -50,7 +50,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/C6500.pm b/Info/Layer3/C6500.pm index 9b9d9f71..f0db5e09 100644 --- a/Info/Layer3/C6500.pm +++ b/Info/Layer3/C6500.pm @@ -64,7 +64,7 @@ use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; # NOTE: Order creates precedence # Example: v_name exists in Bridge.pm and CiscoVTP.pm diff --git a/Info/Layer3/Cisco.pm b/Info/Layer3/Cisco.pm index 0f16271d..9c1fc2d4 100644 --- a/Info/Layer3/Cisco.pm +++ b/Info/Layer3/Cisco.pm @@ -52,7 +52,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/CiscoFWSM.pm b/Info/Layer3/CiscoFWSM.pm index d833dd92..fad30e85 100644 --- a/Info/Layer3/CiscoFWSM.pm +++ b/Info/Layer3/CiscoFWSM.pm @@ -40,7 +40,7 @@ use SNMP::Info::Layer3::Cisco; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::Cisco::MIBS, diff --git a/Info/Layer3/Contivity.pm b/Info/Layer3/Contivity.pm index deca15c5..7e7c348d 100644 --- a/Info/Layer3/Contivity.pm +++ b/Info/Layer3/Contivity.pm @@ -42,7 +42,7 @@ use SNMP::Info::Entity; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::MIBS, %SNMP::Info::Layer3::MIBS, %SNMP::Info::Entity::MIBS, diff --git a/Info/Layer3/Dell.pm b/Info/Layer3/Dell.pm index 50556540..44870132 100644 --- a/Info/Layer3/Dell.pm +++ b/Info/Layer3/Dell.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Enterasys.pm b/Info/Layer3/Enterasys.pm index 1e0e0693..70288c36 100644 --- a/Info/Layer3/Enterasys.pm +++ b/Info/Layer3/Enterasys.pm @@ -44,7 +44,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION $DEBUG %GLOBALS %FUNCS $INIT %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, %SNMP::Info::CDP::MIBS, diff --git a/Info/Layer3/Extreme.pm b/Info/Layer3/Extreme.pm index a40c5846..22438c46 100644 --- a/Info/Layer3/Extreme.pm +++ b/Info/Layer3/Extreme.pm @@ -43,7 +43,7 @@ use SNMP::Info::MAU; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Foundry.pm b/Info/Layer3/Foundry.pm index 567e1bfc..f8a40f95 100644 --- a/Info/Layer3/Foundry.pm +++ b/Info/Layer3/Foundry.pm @@ -44,7 +44,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/HP9300.pm b/Info/Layer3/HP9300.pm index 17aa6366..6632fce2 100644 --- a/Info/Layer3/HP9300.pm +++ b/Info/Layer3/HP9300.pm @@ -42,7 +42,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Juniper.pm b/Info/Layer3/Juniper.pm index 0f42ddc0..54b73254 100644 --- a/Info/Layer3/Juniper.pm +++ b/Info/Layer3/Juniper.pm @@ -40,7 +40,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Microsoft.pm b/Info/Layer3/Microsoft.pm index 8507b63a..98aca6c9 100644 --- a/Info/Layer3/Microsoft.pm +++ b/Info/Layer3/Microsoft.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, ); diff --git a/Info/Layer3/N1600.pm b/Info/Layer3/N1600.pm index b7c058ba..26a845e7 100644 --- a/Info/Layer3/N1600.pm +++ b/Info/Layer3/N1600.pm @@ -41,7 +41,7 @@ use SNMP::Info::SONMP; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/NetSNMP.pm b/Info/Layer3/NetSNMP.pm index 269749a0..49bb7346 100644 --- a/Info/Layer3/NetSNMP.pm +++ b/Info/Layer3/NetSNMP.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Netscreen.pm b/Info/Layer3/Netscreen.pm index e3810246..0aa4c808 100644 --- a/Info/Layer3/Netscreen.pm +++ b/Info/Layer3/Netscreen.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Passport.pm b/Info/Layer3/Passport.pm index ea55e4cc..1beac331 100644 --- a/Info/Layer3/Passport.pm +++ b/Info/Layer3/Passport.pm @@ -43,7 +43,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %FUNCS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, %SNMP::Info::RapidCity::MIBS, diff --git a/Info/Layer3/Pf.pm b/Info/Layer3/Pf.pm index a421696d..7d9eb6ed 100644 --- a/Info/Layer3/Pf.pm +++ b/Info/Layer3/Pf.pm @@ -41,7 +41,7 @@ use SNMP::Info::LLDP; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.02-cvs'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, diff --git a/Info/Layer3/Sun.pm b/Info/Layer3/Sun.pm index e4d6b208..cada8c38 100644 --- a/Info/Layer3/Sun.pm +++ b/Info/Layer3/Sun.pm @@ -39,7 +39,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, ); diff --git a/Info/Layer3/Timetra.pm b/Info/Layer3/Timetra.pm index e442ce2b..1f2550fa 100644 --- a/Info/Layer3/Timetra.pm +++ b/Info/Layer3/Timetra.pm @@ -40,7 +40,7 @@ use SNMP::Info::Layer3; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( %SNMP::Info::Layer3::MIBS, 'TIMETRA-GLOBAL-MIB' => 'timetraReg', ); diff --git a/Info/MAU.pm b/Info/MAU.pm index fd95bc43..249410ea 100644 --- a/Info/MAU.pm +++ b/Info/MAU.pm @@ -41,7 +41,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'MAU-MIB' => 'mauMod' ); diff --git a/Info/NortelStack.pm b/Info/NortelStack.pm index a5539340..a2c4885d 100644 --- a/Info/NortelStack.pm +++ b/Info/NortelStack.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( diff --git a/Info/PowerEthernet.pm b/Info/PowerEthernet.pm index d7482ea1..4794beac 100644 --- a/Info/PowerEthernet.pm +++ b/Info/PowerEthernet.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %MIBS %FUNCS %GLOBALS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'POWER-ETHERNET-MIB' => 'pethPsePortDetectionStatus' ); diff --git a/Info/RapidCity.pm b/Info/RapidCity.pm index 6bacdb2a..ade5e675 100644 --- a/Info/RapidCity.pm +++ b/Info/RapidCity.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'RAPID-CITY' => 'rapidCity', ); diff --git a/Info/SONMP.pm b/Info/SONMP.pm index 4c893045..5790e617 100644 --- a/Info/SONMP.pm +++ b/Info/SONMP.pm @@ -39,7 +39,7 @@ use SNMP::Info; use vars qw/$VERSION %FUNCS %GLOBALS %MIBS %MUNGE/; -$VERSION = '2.01'; +$VERSION = '2.04'; %MIBS = ( 'SYNOPTICS-ROOT-MIB' => 'synoptics', diff --git a/MANIFEST b/MANIFEST index 95de85fd..7eecaa1a 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ ChangeLog COPYRIGHT +DEVELOP DeviceMatrix.txt Info.pm Info/Airespace.pm @@ -19,6 +20,7 @@ Info/Entity.pm Info/EtherLike.pm Info/FDP.pm Info/IEEE802dot11.pm +Info/IPv6.pm Info/Layer1.pm Info/Layer1/Allied.pm Info/Layer1/Asante.pm @@ -39,6 +41,7 @@ Info/Layer2/Centillion.pm Info/Layer2/Cisco.pm Info/Layer2/Foundry.pm Info/Layer2/HP.pm +Info/Layer2/HP4000.pm Info/Layer2/N2270.pm Info/Layer2/NAP222x.pm Info/Layer2/Netgear.pm @@ -55,6 +58,7 @@ Info/Layer3/C3550.pm Info/Layer3/C4000.pm Info/Layer3/C6500.pm Info/Layer3/Cisco.pm +Info/Layer3/CiscoFWSM.pm Info/Layer3/Contivity.pm Info/Layer3/Dell.pm Info/Layer3/Enterasys.pm @@ -67,6 +71,7 @@ Info/Layer3/N1600.pm Info/Layer3/Netscreen.pm Info/Layer3/NetSNMP.pm Info/Layer3/Passport.pm +Info/Layer3/Pf.pm Info/Layer3/Sun.pm Info/Layer3/Timetra.pm Info/LLDP.pm diff --git a/README b/README index dbd07224..41e1fc00 100644 --- a/README +++ b/README @@ -1,14 +1,11 @@ NAME - SNMP::Info - Object Oriented Perl5 Interface to Network devices and MIBs through SNMP. VERSION - - SNMP::Info - Version 2.02 + SNMP::Info - Version 2.04 AUTHOR - SNMP::Info is maintained by team of Open Source authors headed by Eric Miller, Bill Fenner, Max Baker and Jeroen van Ingen. @@ -19,12 +16,10 @@ AUTHOR by Max Baker. DEVICES SUPPORTED - See or DeviceMatrix.txt for more details. SYNOPSIS - use SNMP::Info; my $info = new SNMP::Info( @@ -80,13 +75,11 @@ SYNOPSIS } SUPPORT - Please direct all support, help, and bug requests to the snmp-info-users Mailing List at . DESCRIPTION - SNMP::Info gives an object oriented interface to information obtained through SNMP. @@ -113,7 +106,6 @@ DESCRIPTION a couple hashes. See EXTENDING SNMP::INFO. REQUIREMENTS - 1. Net-SNMP To use this module, you must have Net-SNMP installed on your system. More specifically you need the Perl modules that come with it. @@ -151,14 +143,15 @@ REQUIREMENTS directory and that the MIBs are world-readable. DESIGN GOALS - 1. Use of textual MIB leaf identifier and enumerated values - * All values are retrieved via MIB Leaf node names + * All values are retrieved via MIB Leaf node names + For example SNMP::Info has an entry in its %GLOBALS hash for ``sysName'' instead of 1.3.6.1.2.1.1.5. - * Data returned is in the enumerated value form. + * Data returned is in the enumerated value form. + For Example instead of looking up 1.3.6.1.2.1.2.2.1.3 and getting back 23 @@ -179,14 +172,12 @@ DESIGN GOALS inclusion in the next version. SUBCLASSES - These are the subclasses that implement MIBs and support devices: Required MIBs not included in the install instructions above are noted here. MIB Subclasses - These subclasses implement method to access one or more MIBs. These are not used directly, but rather inherited from device subclasses. @@ -283,6 +274,13 @@ SUBCLASSES See documentation in SNMP::Info::FDP for details. + SNMP::Info::IPv6 + SNMP Interface for obtaining configured IPv6 addresses and mapping + IPv6 addresses to MACs and interfaces, using information from + IP-MIB, IPV6-MIB and/or CISCO-IETF-IP-MIB. + + See documentation in SNMP::Info::IPv6 for details. + SNMP::Info::IEEE802dot11 IEEE802dot11-MIB. A collection of OIDs providing information about standards based 802.11 wireless devices. @@ -325,7 +323,6 @@ SUBCLASSES See documentation in SNMP::Info::SONMP for details. Device Subclasses - These subclasses inherit from one or more classes to provide a common interface to data obtainable from network devices. @@ -613,6 +610,11 @@ SUBCLASSES See documentation in SNMP::Info::Layer3::Passport for details. + SNMP::Info::Layer3::Pf + Subclass for FreeBSD-Based Firewalls using Pf /Pf Sense + + See documentation in SNMP::Info::Layer3::Pf for details. + SNMP::Info::Layer3::Sun Subclass for Generic Sun Routers running SunOS. @@ -624,7 +626,6 @@ SUBCLASSES See documentation in SNMP::Info::Layer3::Timetra for details. Thanks - Thanks for testing and coding help (in no particular order) to : Alexander Barthel, Andy Ford, Alexander Hartmaier, Andrew Herrick, Alex Kramarov, Bernhard Augenstein, Bradley Baetz, Brian Chow, Brian Wilson, @@ -635,9 +636,7 @@ Thanks Netdisco README! USAGE - Constructor - new() Creates a new object and connects via SNMP::Session. @@ -760,7 +759,6 @@ USAGE identify the device. Data is Cached - Methods and subroutines requesting data from a device will only load the data once, and then return cached versions of that data. @@ -771,7 +769,6 @@ USAGE globals and table methods. Object Scalar Methods - These are for package related data, not directly supplied from SNMP. $info->clear_cache() @@ -848,7 +845,6 @@ USAGE Indexing.html> Globals (Scalar Methods) - These are methods to return scalar data from RFC1213. Some subset of these is probably available for any network device that @@ -897,7 +893,6 @@ USAGE ("ipForwarding") Table Methods - Each of these methods returns a hash_reference to a hash keyed on the interface index in SNMP. @@ -912,7 +907,6 @@ USAGE cases changes between reboots of the network device. Partial Table Fetches - If you want to get only a part of an SNMP table or a single instance from the table and you know the IID for the part of the table that you want, you can specify it in the call: @@ -927,7 +921,6 @@ USAGE Partial table results are not cached. Interface Information - $info->interfaces() This methods is overridden in each subclass to provide a mapping between the Interface Table Index (iid) and the physical port name. @@ -1018,7 +1011,6 @@ USAGE ("ifAlias") Interface Statistics - $info->i_octet_in(), $info->i_octets_out(), $info->i_octet_in64(), $info->i_octets_out64() Bandwidth. @@ -1109,7 +1101,6 @@ USAGE ("ifSpecific") IP Address Table - Each entry in this table is an IP address in use on this device. Usually this is implemented in Layer3 Devices. @@ -1134,7 +1125,6 @@ USAGE ("ipAdEntBcastAddr") IP Routing Table - $info->ipr_route() The route in question. A value of 0.0.0.0 is the default gateway route. @@ -1186,6 +1176,7 @@ USAGE -- route to a non-local indirect(4) -- host/network/sub-network + "The type of route. Note that the values direct(3) and indirect(4) refer to the notion of direct and indirect routing in the IP @@ -1250,7 +1241,6 @@ USAGE ("ipRouteInfo") SETTING DATA VIA SNMP - This section explains how to use SNMP::Info to do SNMP Set operations. $info->set_METHOD($value) @@ -1280,7 +1270,6 @@ SETTING DATA VIA SNMP subroutines will need to be added if they haven't been already. Quiet Mode - SNMP::Info will not chirp anything to STDOUT unless there is a serious error (in which case it will probably die). @@ -1295,9 +1284,7 @@ Quiet Mode my $name = $info->name() or die "Couldn't get sysName!" . $name->error(); EXTENDING SNMP::INFO - Data Structures required in new Subclass - A class inheriting this class must implement these data structures : $INIT @@ -1354,7 +1341,6 @@ EXTENDING SNMP::INFO ) Sample Subclass - Let's make a sample Layer 2 Device subclass. This class will inherit the Cisco Vlan module as an example. @@ -1398,6 +1384,7 @@ EXTENDING SNMP::INFO 'super_hero_powers' => 'SuperHeroIfPowers' ); + %MUNGE = (%SNMP::Info::Layer2::MUNGE, %SNMP::Info::CiscoVTP::MUNGE, 'super_hero_powers' => \&munge_powers @@ -1446,9 +1433,7 @@ EXTENDING SNMP::INFO of SNMP::Info. SNMP::INFO INTERNALS - Object Namespace - Internal data is stored with bareword keys. For example $info->{debug} SNMP Data is stored or marked cached with keys starting with an @@ -1458,7 +1443,6 @@ SNMP::INFO INTERNALS above. Package Globals - These set the default value for an object upon creation. $DEBUG @@ -1480,7 +1464,6 @@ SNMP::INFO INTERNALS for more info. Can change by passing BulkRepeaters option in new() Data Munging Callback Subroutines - munge_speed() Makes human friendly speed ratings using %SPEED_MAP @@ -1576,7 +1559,6 @@ SNMP::INFO INTERNALS Takes an OID and return the object name if the right MIB is loaded. Internally Used Functions - $info->init() Used internally. Loads all entries in %MIBS. @@ -1707,7 +1689,6 @@ SNMP::INFO INTERNALS packed bitmask AUTOLOAD - Each entry in either %FUNCS, %GLOBALS, or MIB Leaf node names present in loaded MIBs are used by AUTOLOAD() to create dynamic methods. @@ -1737,7 +1718,6 @@ SNMP::INFO INTERNALS subclass. COPYRIGHT AND LICENSE - Changes from SNMP::Info Version 0.7 and on are: Copyright (c) 2003-2010 Max Baker and SNMP::Info Developers All rights reserved. diff --git a/t/push_ver b/t/push_ver index 8ef0c200..109a682b 100755 --- a/t/push_ver +++ b/t/push_ver @@ -5,7 +5,7 @@ use File::Glob qw/bsd_glob/; my @pms = glob_rec("../Info"); -$new_version = shift @ARGV || '2.01'; +$new_version = shift @ARGV || '2.05'; foreach my $p (@pms) { print "$p\n";