NAME

Cisco::UCS::Common::PSU - Class for operations with a Cisco UCS PSU.

SYNOPSIS

foreach my $psu (sort $ucs->chassis(1)->get_psus) {
  print 'PSU ' . $psu->id . ' voltage: ' . $psu->voltage . "\n" 
}

# PSU 1 voltage: ok
# PSU 2 voltage: ok
# PSU 3 voltage: ok
# PSU 4 voltage: ok

DESCRIPTION

Cisco::UCS::Common::PSU is a class providing common operations with a Cisco UCS PSU.

Note that you are not supposed to call the constructor yourself, rather a Cisco::UCS::Common::PSU object is created for you automatically by query methods in other classes like Cisco::UCS::Chassis.

METHODS

id

Returns the ID of the PSU.

dn

Returns the distinguished name of the PSU.

serial

Returns the serial number of the PSU.

model

Returns the model number of the PSU.

revision

Returns the hardware revision number of the PSU.

vendor

Returns the vendor name of the PSU.

presence

Returns the presence status of the PSU.

operability

Returns the operability status of the PSU.

voltage

Returns the voltage status of the PSU.

power

Returns the power status of the PSU.

thermal

Returns the thermal status of the PSU.

operational

Returns the operational status of the PSU.

performance

Returns the performance status of the PSU.

AUTHOR

Luke Poskitt, <ltp at cpan.org>

BUGS

Some methods may return undefined, empty or not yet implemented values. This is dependent on the software and firmware revision level of UCSM and components of the UCS cluster. This is not a bug but is a limitation of UCSM.

Please report any bugs or feature requests to bug-cisco-ucs-common-psu at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS-Common-PSU. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Cisco::UCS::Common::PSU

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Luke Poskitt.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.