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:
Jeroen van Ingen
2010-08-23 14:45:04 +00:00
parent af2a881142
commit e802ccdc6e

View File

@@ -89,10 +89,6 @@ sub peth_port_ifindex {
return $peth_port_ifindex;
}
sub peth_port_power {
return {};
}
1;
__END__
@@ -178,16 +174,6 @@ class of the device being powered.
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()
A mapping function from the C<pethPsePortTable> INDEX of