Squashed commit of the following:
commit 9be20cd3e24b401d5bfeb2bcb40d61a7b33ffe2c Author: Eric A. Miller <emiller@cpan.org> Date: Sun Jan 19 10:13:41 2014 -0500 Re-organize part 2 commit 058fc6e000a27b8ffadf5857078e0ab1569d3fa2 Author: Eric A. Miller <emiller@cpan.org> Date: Sun Jan 19 10:08:31 2014 -0500 Re-organize commit 04f4602d6cf06f917bd4f19db737f877a46fd28e Author: Eric A. Miller <emiller@cpan.org> Date: Sun Jan 19 10:04:09 2014 -0500 Add MLT agg_ports() support for Avaya commit 2cdc3aed77f551e3c6d04f4cfe390a876010ebcb Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 14:24:38 2014 +0000 implement LAG support for Foundry commit 7465816b53981f3211bdeb5a7a414d5a4e65c79f Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 13:15:13 2014 +0000 implement LAG support for Arista commit 67e8f13f635f4fb450ab5df6e9145830ef72cf7b Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 12:59:09 2014 +0000 update gitignore to ignore SNMP dir commit df4ca0eb44a4f0e5aa114630f0d22b5c9d7861f3 Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 12:49:53 2014 +0000 implement LAG support for Cisco
This commit is contained in:
@@ -36,9 +36,14 @@ use Exporter;
|
||||
use SNMP::Info::Layer3;
|
||||
use SNMP::Info::MAU;
|
||||
use SNMP::Info::LLDP;
|
||||
use SNMP::Info::Aggregate;
|
||||
|
||||
@SNMP::Info::Layer3::Arista::ISA = qw/SNMP::Info::LLDP SNMP::Info::MAU
|
||||
SNMP::Info::Layer3 Exporter/;
|
||||
@SNMP::Info::Layer3::Arista::ISA = qw/
|
||||
SNMP::Info::Aggregate
|
||||
SNMP::Info::LLDP
|
||||
SNMP::Info::MAU
|
||||
SNMP::Info::Layer3 Exporter
|
||||
/;
|
||||
@SNMP::Info::Layer3::Arista::EXPORT_OK = qw//;
|
||||
|
||||
use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/;
|
||||
@@ -49,6 +54,7 @@ $VERSION = '3.10';
|
||||
%SNMP::Info::Layer3::MIBS,
|
||||
%SNMP::Info::MAU::MIBS,
|
||||
%SNMP::Info::LLDP::MIBS,
|
||||
%SNMP::Info::Aggregate::MIBS,
|
||||
'ARISTA-PRODUCTS-MIB' => 'aristaProducts',
|
||||
);
|
||||
|
||||
@@ -125,6 +131,8 @@ sub lldp_if {
|
||||
return $lldp_if;
|
||||
}
|
||||
|
||||
sub agg_ports { return agg_ports_ifstack(@_) }
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
@@ -160,6 +168,8 @@ Subclass for Arista Networks EOS-based devices
|
||||
|
||||
=over
|
||||
|
||||
=item SNMP::Info::Aggregate
|
||||
|
||||
=item SNMP::Info::Layer3
|
||||
|
||||
=item SNMP::Info::MAU
|
||||
@@ -178,6 +188,8 @@ Subclass for Arista Networks EOS-based devices
|
||||
|
||||
See L<SNMP::Info::Layer3/"Required MIBs"> for its own MIB requirements.
|
||||
|
||||
See L<SNMP::Info::Aggregate/"Required MIBs"> for its own MIB requirements.
|
||||
|
||||
See L<SNMP::Info::MAU/"Required MIBs"> for its own MIB requirements.
|
||||
|
||||
See L<SNMP::Info::LLDP/"Required MIBs"> for its own MIB requirements.
|
||||
@@ -241,6 +253,12 @@ Returns info from F<MAU-MIB>
|
||||
|
||||
Returns the mapping to the SNMP Interface Table.
|
||||
|
||||
=item C<agg_ports>
|
||||
|
||||
Returns a HASH reference mapping from slave to master port for each member of
|
||||
a port bundle on the device. Keys are ifIndex of the slave ports, Values are
|
||||
ifIndex of the corresponding master ports.
|
||||
|
||||
=back
|
||||
|
||||
=head2 Table Methods imported from SNMP::Info::Layer3
|
||||
|
||||
Reference in New Issue
Block a user