Cisco IMC REST API Examples
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/LogServices"
},
"Model":"UCS C220 M4L",
"TrustedModules":{
"InterfaceType":"TPM1_2",
"InterfaceTypeSelection":"BiosSetting",
"FirmwareVersion":"1.2",
"Status":{
}
},
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity",
"Memory":{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Memory"
},
"PCIeDevices@odata.count":3
Retrieving Chassis
Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Chassis/1 | json_reformat
Response:
{
"SerialNumber": "FCH2005V1EN",
"NetworkAdapter": {
"@odata.id": "/redfish/v1/Chassis/1/NetworkAdapter"
},
"@odata.id": "/redfish/v1/Chassis/1",
"WeightKg": 24,
"AssetTag": "TEST REDFISH123",
"PowerState": "On",
"@odata.context": "/redfish/v1/$metadata#Chassis/Members/$entity",
"ChassisType": "Rack",
"DepthMm": 766,
"Description": "It represents the properties for physical components for any system.
This one object is intended to represent racks, rackmount servers, blades, standalone,
modular
systems, enclosures, and all other containers.
schema are all
accessed either directly or indirectly through this resource",
"Thermal": {
"@odata.id": "/redfish/v1/Chassis/1/Thermal"
},
"Links": {
"Drives": [
],
"CooledBy": [
"State":"Enabled",
"Health":"OK"
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-1",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-2",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-3",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-4",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-5",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-6",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-7",
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA/Drives/PD-8",
"/redfish/v1/Systems/FCH2005V1EN/Storage/FlexFlash-0/Drives/SLOT-1",
"/redfish/v1/Systems/FCH2005V1EN/Storage/FlexFlash-0/Drives/SLOT-2"
The non-cpu/device centric parts of the
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 3.1(3)
53