Revert to status of rev 1.7, "peth_port_power" sub as a placeholder didn't
work as expected (behaved as override, but should have been overridden)
This commit is contained in:
@@ -89,10 +89,6 @@ sub peth_port_ifindex {
|
|||||||
return $peth_port_ifindex;
|
return $peth_port_ifindex;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub peth_port_power {
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
__END__
|
__END__
|
||||||
@@ -178,16 +174,6 @@ class of the device being powered.
|
|||||||
|
|
||||||
C<pethPsePortPowerClassifications>
|
C<pethPsePortPowerClassifications>
|
||||||
|
|
||||||
=item $poe->peth_port_power()
|
|
||||||
|
|
||||||
Power sourced: if status is delivering power, this represents the actual
|
|
||||||
power output to the device being powered. This is not included in the MIB,
|
|
||||||
but we include a placeholder for the function so it can be included in
|
|
||||||
device classes in a uniform manner.
|
|
||||||
|
|
||||||
Currently the Cisco, Extreme and HP classes override this method to return
|
|
||||||
actual values.
|
|
||||||
|
|
||||||
=item $poe->peth_port_ifindex()
|
=item $poe->peth_port_ifindex()
|
||||||
|
|
||||||
A mapping function from the C<pethPsePortTable> INDEX of
|
A mapping function from the C<pethPsePortTable> INDEX of
|
||||||
|
|||||||
Reference in New Issue
Block a user