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

UCS XML API - clarification on values

murugapandian
Level 1
Level 1

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

2 Replies 2

girishbist
Level 1
Level 1

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

Paul Wiltsey
Cisco Employee
Cisco Employee

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

Review Cisco Networking products for a $25 gift card