cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1467
Views
0
Helpful
1
Replies

Does anyone has a source code or sample code for UCS C-Series H/W inventory report?

dhkang
Level 1
Level 1

Dear all,

I want to write simple H/W inventory query code for H/W inventory management.

Does anyone has a sample XML API/Python code for Cisco IMC?

Thanks in advance.

1 Reply 1

srehling
Cisco Employee
Cisco Employee

This is what I use. Requires Python 2.7. Basically it uses mini.dom to parse XML from various parts of the UCSM or stand-alone C series. This is only intended as an example.

Cisco UCS X-Series Energy Efficiency Offer