Retrieving Chassis Power Details - Cisco UCS C Series Programmer's Manual

Rest api
Hide thumbs Also See for UCS C Series:
Table of Contents

Advertisement

Examples of Server Tasks
curl -GET https://10.10.10.10/redfish/v1/Chassis -k -u admin:Admin123
{
"Members":[{
"@odata.id":"/redfish/v1/Chassis/1"
}],
"@odata.type":"#Chassis.1.0.0.ChassisCollection",
"@odata.id":"/redfish/v1/Chassis",
"Name":"Chassis Collection",
"Members@odata.count":"1",
"@odata.context":"/redfish/v1/$metadata#Chassis"
}
{
"SerialNumber":"FCH2005V1EN",
"Links":{
"PoweredBy":["/redfish/v1/Chassis/1/Power"],
"CooledBy":["/redfish/v1/Chassis/1/Thermal"],
"ComputerSystems":["/redfish/v1/Systems/FCH2005V1EN"],
"ManagedBy":["/redfish/v1/Managers/CIMC"]
},
"@odata.id":"/redfish/v1/Chassis/1",
"Status":{
"State":"Enabled",
"Health":"Warning"
},
"AssetTag":"Unknown",
"Thermal":{
"@odata.id":"/redfish/v1/Chassis/1/Thermal"
},
"@odata.context":"/redfish/v1/$metadata#Chassis/Members/$entity",
"Power":{
"@odata.id":"/redfish/v1/Chassis/1/Power"
},
"LogServices":{
"@odata.id":"/redfish/v1/Chassis/1/LogServices"
},
"@odata.type":"#Chassis.1.0.0.Chassis",
"ChassisType":"Rack",
"Actions":{
"#Chassis.Reset":{
}
},
"IndicatorLED":"Off",
"Model":"UCS C240 M4S",
"Id":"1"
}

Retrieving Chassis Power Details

Request:
curl -GET https://10.10.10.10/redfish/v1/Chassis/1/Power -k -u
admin:Admin123
{
"Voltages":[{
"@odata.id":"/redfish/v1/Chassis/1/Power#/Voltages/PSU1_VOUT",
"Status":{
},
"Name":"PSU1_VOUT",
Cisco UCS C-Series Servers REST API Programmer's Guide
14
"Target":"/redfish/v1/Chassis/1/Actions/Chassis.Reset",
"ResetType@Redfish.AllowableValues":["On","ForceOff"]
"State":"Enabled",
"Health":"OK"
Cisco IMC REST API Examples

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UCS C Series and is the answer not in the manual?

Table of Contents