Net-ILO
view release on metacpan or search on metacpan
# you're fired!
$ilo->del_user('jbeam');
Removes an existing user from the iLO.
=back
=head2 MISCELLANEOUS
=over
=item uid()
if ($ilo->uid eq 'on') {
$ilo->uid('off');
}
Get the status of or control the machine's UID light.
Called without parameters simply returns the current status, either
'on' or 'off'.
You may pass values 'on' or 'off' to this method however be careful not to
set the uid light to on when it is currently on, and vice versa, as this
could throw an error, depending on iLO firmware version.
An error will be returned if you pass an invalid state.
$ilo->uid('blinking') or die $ilo->error;
State blinking is not valid at /somescript.pl line 13.
=back
=head1 DIAGNOSTICS
=over
=item C<User login name was not found>
General authentication error, eg. bad username or password when logging in.
Could also mean you attempted to change the settings (eg. password) for a
user which doesn't exist
=item C<Method not supported by this iLO version>
Either your machine / iLO firmware version is too old, or the method you called
requires a more advanced license than you have.
=item C<State %s is not valid>
An invalid UID state was passed to uid(). Valid states are 'on' and 'off'.
=item C<Unable to establish SSL connection with %s:%d [%s]>
An error occurred while connecting to iLO. The message in brackets is
propagated from IO::Socket::SSL, and is rarely useful.
=item C<Error transmitting command to server>
A connection was established, but something went wrong while sending the
command to the remote iLO. Try reconnecting, and ensure that your
network settings are correct.
=item C<No response received from remote machine>
A connection was established and a command successfully sent to the iLO, but
no data was received. Again, ensure that your network settings are correct.
There could also be something wrong with the remote iLO management processor.
Troubleshooting is beyond the scope of this document.
=item C<Error parsing response: %s>
An error occurred while parsing the XML response from the iLO. The error
message is propagated from XML::Simple, and could mean HP changed the iLO
API.
=back
=head1 DEPENDENCIES
IO::Socket::SSL
XML::Simple
=head1 AUTHOR
Nicholas Lewis, C<< <nick.lewis at gmail.com> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-net-ilo at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-ILO>. I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::ILO
You can also look for information at:
=over 4
=item * RT: CPAN's request tracker
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-ILO>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/Net-ILO>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Net-ILO>
=item * Search CPAN
L<http://search.cpan.org/dist/Net-ILO>
=back
=head1 COPYRIGHT & LICENSE
Copyright 2011 Nicholas Lewis, all rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
( run in 0.837 second using v1.01-cache-2.11-cpan-39bf76dae61 )