- LICENSE AND COPYRIGHT
Cisco::UCS::Common::SwitchCard - Class for operations with a Cisco UCS switch card.
print $ucs->interconnect(A)->card(1)->operability; print $ucs->interconnect(A)->card(1)->serial; my $switchcard = $ucs->interconnect(A)->card(1); print $switchcard->num_ports; print $switchcard->description;
Cisco::UCS::Common::SwitchCard is a class used to represent a single Ethernet port in a Cisco::UCS system. This class provides functionality to retrieve information and statistics for Ethernet ports.
Please note that you should not need to call the constructor directly as Cisco::UCS::Common::SwitchCard objects are created for you by the methods in other Cisco::UCS packages like Cisco::UCS::Interconnect.
Dependent on UCSM version, some attributes of the Ethernet port may not be provided and hence the accessor methods may return an empty string.
Returns the vendor description of the switchcard.
Returns the distinguished name of the switchcard object in the UCSM management information model.
Returns a Ciscoo::UCS::Common::EthernetPort object representing the requested Ethernet port (given by the value of $id) on the switchcard.
Note that this is a caching method and a previously retrieved Ethernet port object will be returned if present. Should you require a fresh object, use the get_eth_port method described below.
Returns a Cisco::UCS::Common::EthernetPort object representing the requested Ethernet port (given by the value of $id) on the switchcard.
Note that this is a non-caching method and the UCSM will always be queried when this method is invoked. Subsequently, this method may be more expensive than the caching method eth_port described above.
Returns an array of Cisco::UCS::Common::EthernetPort objects representing all Etehrnet ports present on the specified card.
Returns the numerical identifier of the switchcard within the fabric interconnect.
Returns the model identifier of the switchcard.
Returns the number of ports present on the switchcard.
Returns the operability status of the switchcard.
Returns the performance status of teh switchcard.
Returns the power status of the switchcard.
Returns the presence status of the switchcard.
Returns the hardware revision number of the switchcard.
Returns the serial number of the switchcard.
Returns the operational state of the switchcard.
returns the slot number of the switchcard.
Returns the thermal status of the switchcard.
Returns the vendor identification string of the switchcard.
Returns the voltage status of the siwtchcard.
<ltp at cpan.org>
Please report any bugs or feature requests to
bug-cisco-ucs-common-switchcard at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cisco-UCS-Common-SwitchCard. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.