10-06-2015 11:26 AM
Through XML API, can i discover things like Model, Serial, # of chassis?
10-06-2015 12:08 PM
Here is what is available from the Get-UcsChassis PowerTool command, which uses the common API for pulling data.
AckProgressIndicator : ack-not-in-progress
AdminState : acknowledged
ConfigState : ok
ConnPath : {A, B}
ConnStatus : {A, B}
DiscoveryStatus :
FabricEpDn : fabric/server/chassis-1
Id : 1
LcTs : 1969-12-31T16:00:00.000
LicGP : 0
LicState : license-ok
ManagingInst : B
MfgTime : 2011-03-27T01:00:00.000
Model : N20-C6508
OperQualifier : {chassis-power, psu-power}
OperQualifierReason : N/A
OperState : power-problem
Operability : operable
PartNumber : 68-3231-01
Power : redundancy-failed
Presence : unknown
Revision : 0
Sacl :
SeepromOperState : operable
Serial : FOX1515GZV2
Thermal : ok
ThermalStateQualifier :
UsrLbl :
Vendor : Cisco Systems Inc
VersionHolder : yes
Vid : 01
Dn : sys/chassis-1
Rn : chassis-1
Status :
XtraProperty : {}
Ucs : sjc02-151-E21-UCS
AckProgressIndicator : ack-not-in-progress
AdminState : acknowledged
ConfigState : ok
ConnPath : {A, B}
ConnStatus : {A, B}
DiscoveryStatus :
FabricEpDn : fabric/server/chassis-1
Id : 1
LcTs : 1969-12-31T16:00:00.000
LicGP : 0
LicState : license-ok
ManagingInst : B
MfgTime : 2011-03-27T01:00:00.000
Model : N20-C6508
OperQualifier : {chassis-power, psu-power}
OperQualifierReason : N/A
OperState : power-problem
Operability : operable
PartNumber : 68-3231-01
Power : redundancy-failed
Presence : unknown
Revision : 0
Sacl :
SeepromOperState : operable
Serial : FOX1515GZV2
Thermal : ok
ThermalStateQualifier :
UsrLbl :
Vendor : Cisco Systems Inc
VersionHolder : yes
Vid : 01
Dn : sys/chassis-1
Rn : chassis-1
Status :
XtraProperty : {}
Ucs : sjc02-151-E21-UCS
10-06-2015 12:39 PM
Thanks, i think in addition to this, to find out FI model, we can do -
Get-UcsNetworkElement
I kind of found this from another question in the forum. So this helps, thanks. Is there any other way of doing this through API ?
10-06-2015 02:30 PM
What are you looking for? The API remains a constant across the various tools that can be used. PowerTool is one. Python can be used. You can use a high level programming language to call the API. Cisco publishes the API so customers and partners can write to it. So could you clarify what you are looking to do?
10-07-2015 05:48 AM
I was looking more for rest api call, but i realize that, that's not supported today. This is good information, thanks for your inputs.
10-07-2015 07:02 AM
Ok, that makes sense. Good suggestion - I'll pass it on.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide