Cisco UCS Manager Python SDK (BETA version 0.8.3) is available for download.
Cisco UCS Manager Python SDK is a python module which helps automate all aspects of Cisco UCS management including server, network, storage and hypervisor management. The bulk of the Cisco UCS Python SDK work on the UCS Manager’s Management Information Tree (MIT), performing create, modify or delete actions on the Managed Objects (MO) in the tree. The next chapter provides an overview of the Cisco UCS Management Information Model (MIM). One of the easiest ways to learn UCS configuration through UCS Python SDK is to automatically generate python script, for configuration actions performed with the UCSM GUI, using ConvertToPython API.
Embedded dynamic import support to enhance memory utilization.
XmlParser changed to cElementTree to improve performance.
Modified URI method to verify correct port.
Modified Login API to decide connection protocol (via http or https) based on both port and noSsl flag
Fixed StartGuiSession for jnlpfile variable error and added support to launch GUI in debug mode for java version > 1.7.45
Fixed GetJavaInstallation method to display JAVA_HOME path in case of an exception.
Modified WatchUcsGui in order to support multiline query via ConvertToPython API
**Note for users who has scripts developed using SDK 0.8.2 or earlier release**
Due to dynamic import support in release 0.8.3, scripts written using earlier versions of SDK need to be modified to make it work with this latest release 0.8.3. Please refer to section 3.6.1 in Cisco UCS SDK release 0.8.3 user guide (cisco_ucs_python_sdk_rel_0.8.3.pdf) for details.
What's new in version 0.8.2?
Refreshed with UCSM Schema 2.2(2c)
Removed keys() function while iterating dictionary to improve execution speed.
Fixed "AttributeError", which happens when configuring an unknown MO.
We are attempting to leverage PowerTool to retrieve driver version details based on an uploaded hardware profile. We can complete the process from end-to-end. However, we cannot seem to get any more information other than the VIC (CNA) driver information....
Hello, we want to configure raid in one of our cisco hx220c m5 nodes, however, the default raid controller(hx-sas-m5) doesn't support the raid. Therefore, it would be very helpful if anyone could suggest to me a raid controller that will be supported by t...
Hi all, I am trying to create a BIOS policy using PowerTool and UCSPE with this script:Start-UcsTransaction$newbiospolicy = Add-UcsBiosPolicy -Org $orgs -Name NewBiosPolicy2 -Descr "New powershell ...
I'm working on scripting out config backups of standalone c240 servers using the utils module of the imcsdk for python: https://ciscoucs.github.io/imcsdk_docs/imcsdk.utils.html?highlight=backup_create#imcsdk.utils.imcbackup.backup_create This wo...
I am unfamiliar with vNIC Redundancy Types: Primary and Secondary. What is the purpose and how do they work?I understand Primary is setup with Fabric A, Primary and set the Peer to vNIC B and the setting stay. But how does it work inside a system? Does it...