Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

UCS XML API - clarification on values

Hey folks,

I look through the XML API used to query the UCS manager. Where can I get the possible values of a particular attribute?

Let me rephrase,

Consider I am querying for 'equipmentChassis' with <configResolveClass cookie="cookie" response="yes" classId="equipmentChassis">

I got a value as follows

<equipmentChassis adminState="acknowledged"  configState="ok" connPath="A,B" connStatus="A,B" dn="sys/chassis-1" fabricEpDn="fabric/server/chassis-1" fltAggr="0" fsmDescr="" fsmPrev="nop" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="never" fsmStatus="nop" fsmTry="0" id="1" lcTs="1970-01-01T01:00:00.000" licState="license-ok" managingInst="A" model="N20-C6508" operQualifier="" operState="operable" operability="operable" power="ok" presence="unknown" revision="0"  serial="1"  thermal="unknown" vendor="Cisco Systems Inc" versionHolder="yes"/>

Lets take the attribute licState, we got a value 'license-ok', what are all the possible values I can get in that place? Do Cisco provide any key guides for this? I searched, I am sorry I might have missed something.

Thanks

Everyone's tags (4)
2 REPLIES
New Member

Re: UCS XML API - clarification on values

Hi Ramaiah,


If you have a Cisco UCS simulator, then on its web interface we have a link to API documentation where you can check for such values.

I too have recently started looking into the APIs.

Regards

- Prateek

Cisco Employee

Re: UCS XML API - clarification on values

There are a few options here that occur to me:

Go to either the web interface of one of your UCSMs or the emulator with something like:

   http:///visore.html  or https:///visore.html

traverse the objects or search for what you want and follow the '?' link to the right of the Class name.

You could also try to find what you need here: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/VScgIX.html

902
Views
0
Helpful
2
Replies
CreatePlease login to create content