diff --git a/ChangeLog b/ChangeLog index c9710369..2a8e2a9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,17 @@ SNMP::Info - Friendly OO-style interface to Network devices using SNMP. -version 3.14 () +version 3.14 (2014-06-07) [ENHANCEMENTS] * Improvements to Mikrotik module (Alex Z) * Don't unshift length from broken lldpRemManAddrTable implementations (G. Shtern) + * 802.3ad LAG support in Layer3::H3C + * Add LLDP capabilities to Layer2::HPVC class + + [BUG FIXES] + + * Return correct VLAN info with qb_fw_table() on Layer2::HP version 3.13 (2014-03-27) diff --git a/Info/Layer3/H3C.pm b/Info/Layer3/H3C.pm index 77cc0a39..74314074 100644 --- a/Info/Layer3/H3C.pm +++ b/Info/Layer3/H3C.pm @@ -33,9 +33,17 @@ use strict; use Exporter; use SNMP::Info::Layer3; use SNMP::Info::LLDP; +use SNMP::Info::IEEE802dot3ad 'agg_ports_lag'; -@SNMP::Info::Layer3::H3C::ISA = qw/SNMP::Info::LLDP SNMP::Info::Layer3 Exporter/; -@SNMP::Info::Layer3::H3C::EXPORT_OK = qw//; +@SNMP::Info::Layer3::H3C::ISA = qw/ + SNMP::Info::IEEE802dot3ad + SNMP::Info::LLDP + SNMP::Info::Layer3 + Exporter +/; +@SNMP::Info::Layer3::H3C::EXPORT_OK = qw/ + agg_ports +/; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; @@ -44,6 +52,7 @@ $VERSION = '3.13'; %MIBS = ( %SNMP::Info::Layer3::MIBS, %SNMP::Info::LLDP::MIBS, + %SNMP::Info::IEEE802dot3ad::MIBS, 'HH3C-LswDEVM-MIB' => 'hh3cDevMFanStatus', 'HH3C-LswINF-MIB' => 'hh3cSlotPortMax', 'HH3C-LSW-DEV-ADM-MIB' => 'hh3cLswSysVersion', @@ -113,6 +122,8 @@ sub i_ignore { return \%i_ignore; } +sub agg_ports { return agg_ports_lag(@_) } + 1; __END__ @@ -219,6 +230,12 @@ Returns reference to hash. Increments value of IID if port is to be ignored. Ignores loopback +=item C + +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