release 3.07_001

This commit is contained in:
Oliver Gorwits
2013-10-17 19:05:15 +01:00
parent 9b1c439e15
commit e239a6057c
102 changed files with 141 additions and 103 deletions

38
README
View File

@@ -4,7 +4,7 @@ NAME
VERSION
SNMP::Info - Version 3.07
SNMP::Info - Version 3.07_001
AUTHOR
@@ -1528,6 +1528,40 @@ Quiet Mode
EXTENDING SNMP::INFO
To support a new class (vendor or platform) of device, add a Perl
package with the data structures and methods listed below.
If this seems a little scary, then the SNMP::Info developers are usually
happy to accept the SNMP data from your device and make an attempt at
the class themselves. Usually a "beta" release will go to CPAN for you
to verify the implementation.
Gathering MIB data for SNMP::Info Developers
The preference is to open a feature request in the SourceForge project.
This allows all developers to have visibility into the request. Please
include pointers to the applicable platform MIBs. For development we
will need an "snmpwalk" of the device. There is a tool now included in
the SNMP::Info distribution to help with this task, although you'll most
likely need to download the distribution from CPAN as it's included in
the ""t/util"" directory.
The utility is named "make_snmpdata.pl". Run it with a command line
like:
./make_snmpdata.pl -c community -i -d device_ip \
-m /home/netdisco-mibs/rfc:/home/netdisco-mibs/net-snmp:/home/netdisco-mibs/dir3 \
SNMPv2-MIB IF-MIB EtherLike-MIB BRIDGE-MIB Q-BRIDGE-MIB ENTITY-MIB \
POWER-ETHERNET-MIB IPV6-MIB LLDP-MIB DEVICE-SPECIFIC-MIB-NAME(s) > output.txt
This will print to the file every MIB entry with data in a format that
the developers can use to emulate read operations without needing access
to the device. Preference would be to mask any sensitive data in the
output, zip the file, and upload as an attachment to the Sourceforge
tracker. However, if you do not feel comfortable uploading the output to
the tracker you could e-mail it to the developer that has claimed the
ticket.
Data Structures required in new Subclass
A class inheriting this class must implement these data structures :
@@ -1809,7 +1843,7 @@ SNMP::INFO INTERNALS
set of ports; the port is not included if it has a value of '0'.
munge_null()
Removes nulls from a string
Removes control characters from a string
munge_e_type()
Takes an OID and return the object name if the right MIB is loaded.