Support peth_port_power() power supplied by PoE ports in L2::Baystack
This commit is contained in:
@@ -21,6 +21,7 @@ version 3.08 ()
|
|||||||
* Add docs note about make_snmpdata.pl under EXTENDING SNMP::Info
|
* Add docs note about make_snmpdata.pl under EXTENDING SNMP::Info
|
||||||
* [#46] Brocade (Foundry) Module Support
|
* [#46] Brocade (Foundry) Module Support
|
||||||
* Brocade (Foundry) POE Support
|
* Brocade (Foundry) POE Support
|
||||||
|
* Support peth_port_power() power supplied by PoE ports in L2::Baystack
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ $VERSION = '3.07';
|
|||||||
%SNMP::Info::Layer3::MIBS, %SNMP::Info::LLDP::MIBS,
|
%SNMP::Info::Layer3::MIBS, %SNMP::Info::LLDP::MIBS,
|
||||||
%SNMP::Info::RapidCity::MIBS, %SNMP::Info::NortelStack::MIBS,
|
%SNMP::Info::RapidCity::MIBS, %SNMP::Info::NortelStack::MIBS,
|
||||||
%SNMP::Info::SONMP::MIBS,
|
%SNMP::Info::SONMP::MIBS,
|
||||||
|
'BAY-STACK-PETH-EXT-MIB' => 'bspePethPsePortExtMeasuredPower',
|
||||||
);
|
);
|
||||||
|
|
||||||
%GLOBALS = (
|
%GLOBALS = (
|
||||||
@@ -64,6 +65,7 @@ $VERSION = '3.07';
|
|||||||
%SNMP::Info::Layer3::FUNCS, %SNMP::Info::LLDP::FUNCS,
|
%SNMP::Info::Layer3::FUNCS, %SNMP::Info::LLDP::FUNCS,
|
||||||
%SNMP::Info::RapidCity::FUNCS, %SNMP::Info::NortelStack::FUNCS,
|
%SNMP::Info::RapidCity::FUNCS, %SNMP::Info::NortelStack::FUNCS,
|
||||||
%SNMP::Info::SONMP::FUNCS,
|
%SNMP::Info::SONMP::FUNCS,
|
||||||
|
'peth_port_power' => 'bspePethPsePortExtMeasuredPower',
|
||||||
);
|
);
|
||||||
|
|
||||||
# 450's report full duplex as speed = 20mbps?!
|
# 450's report full duplex as speed = 20mbps?!
|
||||||
@@ -393,6 +395,14 @@ my $baystack = new SNMP::Info::Layer2::Baystack(...);
|
|||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
=head2 Required MIBs
|
||||||
|
|
||||||
|
=over
|
||||||
|
|
||||||
|
=item F<BAY-STACK-PETH-EXT-MIBB>
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head2 Inherited MIBs
|
=head2 Inherited MIBs
|
||||||
|
|
||||||
See L<SNMP::Info::SONMP/"Required MIBs"> for its MIB requirements.
|
See L<SNMP::Info::SONMP/"Required MIBs"> for its MIB requirements.
|
||||||
@@ -509,10 +519,16 @@ revisions of Baystack firmware report all zeros for each port mac.
|
|||||||
Crosses C<ifName> with C<ifAlias> and returns the human set port name if
|
Crosses C<ifName> with C<ifAlias> and returns the human set port name if
|
||||||
exists.
|
exists.
|
||||||
|
|
||||||
=item $poe->peth_port_ifindex()
|
=item $baystack->peth_port_ifindex()
|
||||||
|
|
||||||
Maps the C<pethPsePortTable> to C<ifIndex> by way of the F<ENTITY-MIB>.
|
Maps the C<pethPsePortTable> to C<ifIndex> by way of the F<ENTITY-MIB>.
|
||||||
|
|
||||||
|
=item $baystack->peth_port_power()
|
||||||
|
|
||||||
|
Power supplied by PoE ports, in milliwatts
|
||||||
|
|
||||||
|
(C<bspePethPsePortExtMeasuredPower>)
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=head2 F<ENTITY-MIB> Information
|
=head2 F<ENTITY-MIB> Information
|
||||||
|
|||||||
Reference in New Issue
Block a user