Skip to content

Cisco UCS and Perl “The Command Prompt ain’t no terminal session”

“The Command Prompt ain’t no terminal session”

Perl is cool, and needs more street credit with Cisco UCS. Cool examples here of Perl used with Cisco UCS. PowerShell is where it is really at but looking at what is being done with Perl… hmm, this isn’t to be passed by without some attention.

Cisco UCS C220 C-series serial numbers
http://webmaxtor.blogspot.com/2013/11/ucs-rack-server-serial-numbers.html

Automate Cisco UCS Server Provisioning
http://www.laneroush.com/automate-cisco-ucs-server-provisioning-part-1/

Perl UCS Module at CPAN
http://search.cpan.org/~ltp/Cisco-UCS-0.03/

Also at GitHub https://github.com/ltp/Cisco-UCS

Interesting Classes in this Module:

Cisco::UCS A Perl interface to the Cisco UCS XML API   0.33
Cisco::UCS::Blade Class for operations with a Cisco UCS blade.   0.4
Cisco::UCS::Blade::CPU Class for operations with a Cisco UCS Blade CPUs.   0.01
Cisco::UCS::Blade::PowerBudget Class for operations with a Cisco UCS blade power budgets.   0.01
Cisco::UCS::Chassis Class providing operations with a Cisco UCS Chassis   0.2
Cisco::UCS::Chassis::Stats Class for operations with Cisco UCS chassis power statistics.   0.01
Cisco::UCS::Common::EnvironmentalStats Class for operations with Cisco UCS environmental stati.   0.01
Cisco::UCS::Common::EthernetPort Class for operations with a Cisco UCS Ethernet Port.   0.1
Cisco::UCS::Common::Fan Class for operations with a Cisco UCS fan.   0.2
Cisco::UCS::Common::FanModule Class for operations with a Cisco UCS Fan Module   0.1
Cisco::UCS::Common::PSU Class for operations with a Cisco UCS PSU.   0.11
Cisco::UCS::Common::PowerStats Class for operations with Cisco UCS power usage statistics.   0.01
Cisco::UCS::Common::SwitchCard Class for operations with a Cisco UCS switch card.   0.21
Cisco::UCS::FEX Class for operations with a Cisco UCS FEX.   0.11
Cisco::UCS::Fault Class for operations with Cisco UCS fault instances.   0.11
Cisco::UCS::Interconnect Class for operations with a Cisco UCS Fabric Interconnect   0.16
Cisco::UCS::MgmtEntity Class for operations with a Cisco UCSM Management Entity   0.12
Cisco::UCS::ServiceProfile Class for operations with a Cisco UCS Service Profile.   0.11
98702 Uploads, 28772 Distributions 127916 Modules, 11089 Uploaders
PowerShell out features Perl at the moment, but I am a Perl Hacker from “Back in the Day”. Will have to spend some time with this.
Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published.

%d bloggers like this: