goUCS Automation Toolkit

The goUCS tool has been deprecated and removed from the UCS Communities site.  goUCS will no longer be updated or support offered.  If you are looking for scripting tools, please look at the UCS SDKs on https://communities.cisco.com/ucsintegrations

 

goUCS is a toolkit that was created as a proof of concept to show how a UCS systems administrator could easily automate tasks across multiple UCS domains.  Since the advent of UCS's singular API, it has been clear to UCS admins the inherent power of being able to utilize and take advantage of this single API for use cases like auto-populating data in a central CMDB with the physical inventory of an entire UCS domain with one query; creating or modifying objects across multiple UCS domains like VLANs, policies, pools, etc.; and gathering data about a specific set of objects across UCS domains.  goUCS was designed for a UCS sysadmin as an example of a flexible and extensible command line style interface that provides the basic framework for managing multiple UCS sessions and the communication to and from UCS via the XMLAPI; and parsing and displaying any returned XML data into multiple output formats like CSV, tables, indented hierarchical lists, and raw XML.

 

goUCS enables the ability for a UCS sysadmin to learn at a much deeper level exactly how UCS communicates via the XMLAPI.  What better way to learn than to actually perform the action in the UCSM GUI manually, use goUCS to filter the Java log file from the UCSM GUI for the exact XML method the UCSM GUI used, and then provide a mechanism to replace the cookie and unique data in the XML document with variables enabling the UCS sysadmin to reuse the XML document over and over again programmatically.  goUCS provides a UCS sysadmin the ability to automate anything a UCSM GUI can do, albeit querying for data; modifying existing objects in UCS; or even complex tasks like creating 10 service profiles from a template, associating them to 10 blades, and powering the 10 blades on via a single transaction.

 

The options are endless, so take the plunge in automating UCS and download goUCS today!

 

DISCLAIMER:   goUCS is a proof of concept tool that has been posted as freeware on Cisco Developer Network with no warranty or formal support from Cisco.  Please use as a development tool only.  Use at your own risk, as it is NOT intended to be used in production.  Please refer to Cisco Developer Network forums for assistance in using this tool as well as any notification of any potential bugs encountered.  Feel free to edit <GOUCS_PATH>/lib/disclaimer.help to provide an appropriate disclaimer.