cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
0
Helpful
2
Replies

Intersight API inconsistent results for memory units various API calls

jseaman01111
Level 1
Level 1

I have been using the get_memory_unit_list python API call and historically the OperState field has returned "operable" or "inoperable". Now for X210cM7 servers, it returns "OK".

I have also observed that get_compute_physical_summary has changed the unit for AvailableMemory from MiB to GiB for m7. Prior to m7, AvailableMemory would return 524,288, but now returns 512.

Are these kinds of arbitrary changes in the use of data fields within the Intersight configuration data to be expected?

thanks

2 Replies 2

No. These types of changes are generally not expected in well designed APIs, as they break backward compatibility and can cause integration issues. I would document this and open a TAC case or bring this up with your Cisco account manager.

Good luck!

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Torbjørn
VIP
VIP

I have unfortunately seen similar things in the Intersight API before. Cisco/The relevant BU has some way to go when it comes to API best practices. As @bigevilbeard says this is not how it should be. 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev