cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1202
Views
1
Helpful
1
Comments
srehling
Cisco Employee
Cisco Employee

I am brand new to Python scripting having spent most of my time in PowerShell over the last several years. What follows is intended as an example of the methods I found to get data from Cisco UCS without using the Cisco APIs.

Attached is an example Python script for obtaining inventory from a UCS Manager environment or a stand alone C series server. This is not intended to to be a functional application as much as it provides a method for getting to UCS inventory information without using the SDK. Many of my customers use python versions that are part of the RedHat repository, which means most of them are using Python 2.6 or 2.7. The following examples were written for Python 2.7 and uses minidom to handle XML processing.

1 Comment
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: