Luke Poskitt > Cisco-UCS-0.29 > Cisco::UCS::MgmtEntity

Download:
Cisco-UCS-0.29.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.12   Source   Latest Release: Cisco-UCS-0.33

NAME ^

Cisco::UCS::MgmtEntity - Class for operations with a Cisco UCSM Management Entity

SYNOPSIS ^

        print map {
                        "Management entity " . $_->id . " HA state is " . $_->ha_readiness . "\n"                               } $ucs->get_mgmt_entities;

        # prints...
        # Management entity A HA state is ready
        # Management entity B HA state is ready

        print $ucs->mgmt_entity('B')->umbilical_state;

DECRIPTION ^

Cisco::UCS::MgmtEntity is a class providing operations with a Cisco UCSM Management Entity.

Note that you are not supposed to call the constructor yourself, rather a Cisco::UCS::MgmtEntity object is created automatically by method calls via methods in Cisco::UCS.

METHODS ^

chassis1

Returns the serial number of the first chassis selected for hardware HA quorum.

chassis2

Returns the serial number of the second chassis selected for hardware HA quorum.

chassis3

Returns the serial number of the third chassis selected for hardware HA quorum.

chassis1_device_io_state

Returns the IO state of first chassis selected for hardware HA quorum.

chassis2_device_io_state

Returns the IO state of second chassis selected for hardware HA quorum.

chassis3_device_io_state

Returns the IO state of third chassis selected for hardware HA quorum.

dn

Returns the distinguished name of the management entity in the Cisco UCS information management heirarchy.

ha_failure_reason

Returns the HA failure reason (if present) of the specified management entity.

ha_readiness

Returns the HA readiness state of the specified management entity.

ha_ready

Returns the HA ready state of the specified management entity.

id

Returns the ID of the specified management entity (either A or B).

leadership

Returns the leadership state of the specified management entity.

mgmt_services_state

Returns the management services state of the specified management entity.

state

Returns the operational state of the specified management entity.

umbilical_state

Returns the umbilical state of the specified management entity.

version_mismatch

Returns the version mismatch state of the specified management entity.

AUTHOR ^

Luke Poskitt, <ltp at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-cisco-ucs-mgmtentity at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS-MgmtEntity. 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::MgmtEntity

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.

syntax highlighting: