"LowerThresholdFatal": "N/A",
"LowerThresholdCritical": "70.0",
"@odata.id":
"/redfish/v1/Chassis/1/Thermal#/Temperatures/RISER1_INLET_TMP",
"LowerThresholdNonCritical": "N/A",
"UpperThresholdCritical": "60.0",
"UpperThresholdFatal": "N/A"
},
{
"ReadingCelsius": "37.0",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Name": "RISER1_OUTLETTMP",
"UpperThresholdNonCritical": "N/A",
"MemberID": 18,
"LowerThresholdFatal": "N/A",
"LowerThresholdCritical": "70.0",
"@odata.id":
"/redfish/v1/Chassis/1/Thermal#/Temperatures/RISER1_OUTLETTMP",
"LowerThresholdNonCritical": "N/A",
"UpperThresholdCritical": "60.0",
"UpperThresholdFatal": "N/A"
},
{
"ReadingCelsius": "33.0",
"Status": {
"State": "Enabled",
"Health": "OK"
},
"Name": "RISER2_OUTLETTMP",
"UpperThresholdNonCritical": "N/A",
"MemberID": 19,
"LowerThresholdFatal": "N/A",
"LowerThresholdCritical": "70.0",
"@odata.id":
"/redfish/v1/Chassis/1/Thermal#/Temperatures/RISER2_OUTLETTMP",
"LowerThresholdNonCritical": "N/A",
"UpperThresholdCritical": "60.0",
"UpperThresholdFatal": "N/A"
}
],
"@odata.context":
"/redfish/v1/$metadata#Chassis/Members/$entity/Thermal"
}
Establishing a Session
Request:
curl -XPOST https://10.10.10.10/redfish/v1/SessionService/Sessions --header 'Content-Type:
application/json; charset=utf-8' '-d{"Username": "admin", "Password": "password123"}'
–insecure –v
> POST /redfish/v1/SessionService/Sessions https/1.1
> User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7
NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.10.10.10
> Accept: */*
> Content-Type: application/json; charset=utf-8
> Content-Length: 46
>
Cisco UCS C-Series Servers REST API Programmer's Guide
48
Cisco IMC REST API Examples
Examples of Server Tasks