Enable IPv6 support in Layer3 base class by including Layer3::Ipv6
This commit is contained in:
@@ -21,6 +21,7 @@ version 2.02 ()
|
|||||||
* Added Cisco CBS3xxx blade switches to L3::C6500
|
* Added Cisco CBS3xxx blade switches to L3::C6500
|
||||||
* Fix for FWSMs not being detected properly. Special thanks goes to
|
* Fix for FWSMs not being detected properly. Special thanks goes to
|
||||||
Jukka Pirhonen for pointing it out. (Brian De Wolf)
|
Jukka Pirhonen for pointing it out. (Brian De Wolf)
|
||||||
|
+ Added support for IPv6 to physical address mapping
|
||||||
|
|
||||||
version 2.01 (06/12/09)
|
version 2.01 (06/12/09)
|
||||||
+ Added CiscoStpExtensions Class (Carlos Vicente)
|
+ Added CiscoStpExtensions Class (Carlos Vicente)
|
||||||
|
|||||||
@@ -39,8 +39,10 @@ use SNMP::Info::Bridge;
|
|||||||
use SNMP::Info::EtherLike;
|
use SNMP::Info::EtherLike;
|
||||||
use SNMP::Info::Entity;
|
use SNMP::Info::Entity;
|
||||||
use SNMP::Info::PowerEthernet;
|
use SNMP::Info::PowerEthernet;
|
||||||
|
use SNMP::Info::Ipv6;
|
||||||
|
|
||||||
@SNMP::Info::Layer3::ISA = qw/SNMP::Info::PowerEthernet
|
@SNMP::Info::Layer3::ISA = qw/
|
||||||
|
SNMP::Info::PowerEthernet SNMP::Info::Ipv6
|
||||||
SNMP::Info::Entity SNMP::Info::EtherLike
|
SNMP::Info::Entity SNMP::Info::EtherLike
|
||||||
SNMP::Info::Bridge SNMP::Info Exporter/;
|
SNMP::Info::Bridge SNMP::Info Exporter/;
|
||||||
@SNMP::Info::Layer3::EXPORT_OK = qw//;
|
@SNMP::Info::Layer3::EXPORT_OK = qw//;
|
||||||
@@ -55,6 +57,7 @@ $VERSION = '2.02-cvs';
|
|||||||
%SNMP::Info::EtherLike::MIBS,
|
%SNMP::Info::EtherLike::MIBS,
|
||||||
%SNMP::Info::Entity::MIBS,
|
%SNMP::Info::Entity::MIBS,
|
||||||
%SNMP::Info::PowerEthernet::MIBS,
|
%SNMP::Info::PowerEthernet::MIBS,
|
||||||
|
%SNMP::Info::Ipv6::MIBS,
|
||||||
'IP-MIB' => 'ipNetToMediaIfIndex',
|
'IP-MIB' => 'ipNetToMediaIfIndex',
|
||||||
'OSPF-MIB' => 'ospfRouterId',
|
'OSPF-MIB' => 'ospfRouterId',
|
||||||
'BGP4-MIB' => 'bgpIdentifier',
|
'BGP4-MIB' => 'bgpIdentifier',
|
||||||
@@ -68,6 +71,7 @@ $VERSION = '2.02-cvs';
|
|||||||
%SNMP::Info::EtherLike::GLOBALS,
|
%SNMP::Info::EtherLike::GLOBALS,
|
||||||
%SNMP::Info::Entity::GLOBALS,
|
%SNMP::Info::Entity::GLOBALS,
|
||||||
%SNMP::Info::PowerEthernet::GLOBALS,
|
%SNMP::Info::PowerEthernet::GLOBALS,
|
||||||
|
%SNMP::Info::Ipv6::GLOBALS,
|
||||||
'mac' => 'ifPhysAddress.1',
|
'mac' => 'ifPhysAddress.1',
|
||||||
'serial1' =>
|
'serial1' =>
|
||||||
'.1.3.6.1.4.1.9.3.6.3.0', # OLD-CISCO-CHASSIS-MIB::chassisId.0
|
'.1.3.6.1.4.1.9.3.6.3.0', # OLD-CISCO-CHASSIS-MIB::chassisId.0
|
||||||
@@ -82,6 +86,7 @@ $VERSION = '2.02-cvs';
|
|||||||
%SNMP::Info::EtherLike::FUNCS,
|
%SNMP::Info::EtherLike::FUNCS,
|
||||||
%SNMP::Info::Entity::FUNCS,
|
%SNMP::Info::Entity::FUNCS,
|
||||||
%SNMP::Info::PowerEthernet::FUNCS,
|
%SNMP::Info::PowerEthernet::FUNCS,
|
||||||
|
%SNMP::Info::Ipv6::FUNCS,
|
||||||
|
|
||||||
# Obsolete Address Translation Table (ARP Cache)
|
# Obsolete Address Translation Table (ARP Cache)
|
||||||
'old_at_index' => 'atIfIndex',
|
'old_at_index' => 'atIfIndex',
|
||||||
@@ -141,6 +146,7 @@ $VERSION = '2.02-cvs';
|
|||||||
%SNMP::Info::EtherLike::MUNGE,
|
%SNMP::Info::EtherLike::MUNGE,
|
||||||
%SNMP::Info::Entity::MUNGE,
|
%SNMP::Info::Entity::MUNGE,
|
||||||
%SNMP::Info::PowerEthernet::MUNGE,
|
%SNMP::Info::PowerEthernet::MUNGE,
|
||||||
|
%SNMP::Info::Ipv6::MUNGE,
|
||||||
'old_at_paddr' => \&SNMP::Info::munge_mac,
|
'old_at_paddr' => \&SNMP::Info::munge_mac,
|
||||||
'at_paddr' => \&SNMP::Info::munge_mac,
|
'at_paddr' => \&SNMP::Info::munge_mac,
|
||||||
'n2p_paddr' => \&SNMP::Info::munge_mac,
|
'n2p_paddr' => \&SNMP::Info::munge_mac,
|
||||||
@@ -397,6 +403,10 @@ after determining a more specific class using the method above.
|
|||||||
|
|
||||||
=item SNMP::Info::Entity
|
=item SNMP::Info::Entity
|
||||||
|
|
||||||
|
=item SNMP::Info::PowerEthernet
|
||||||
|
|
||||||
|
=item SNMP::Info::Ipv6
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=head2 Required MIBs
|
=head2 Required MIBs
|
||||||
@@ -421,6 +431,10 @@ See L<SNMP::Info::EtherLike/"Required MIBs"> for its MIB requirements.
|
|||||||
|
|
||||||
See L<SNMP::Info::Entity/"Required MIBs"> for its MIB requirements.
|
See L<SNMP::Info::Entity/"Required MIBs"> for its MIB requirements.
|
||||||
|
|
||||||
|
See L<SNMP::Info::PowerEthernet/"Required MIBs"> for its MIB requirements.
|
||||||
|
|
||||||
|
See L<SNMP::Info::Ipv6/"Required MIBs"> for its MIB requirements.
|
||||||
|
|
||||||
=head1 GLOBALS
|
=head1 GLOBALS
|
||||||
|
|
||||||
These are methods that return scalar value from SNMP
|
These are methods that return scalar value from SNMP
|
||||||
@@ -761,4 +775,12 @@ See L<SNMP::Info::EtherLike/"TABLE METHODS"> for details.
|
|||||||
|
|
||||||
See L<SNMP::Info::Entity/"TABLE METHODS"> for details.
|
See L<SNMP::Info::Entity/"TABLE METHODS"> for details.
|
||||||
|
|
||||||
|
=head2 Table Methods imported from SNMP::Info::PowerEthernet
|
||||||
|
|
||||||
|
See L<SNMP::Info::PowerEthernet/"TABLE METHODS"> for details.
|
||||||
|
|
||||||
|
=head2 Table Methods imported from SNMP::Info::Ipv6
|
||||||
|
|
||||||
|
See L<SNMP::Info::Ipv6/"TABLE METHODS"> for details.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
Reference in New Issue
Block a user