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 for 3.1(3)
"/redfish/v1/Chassis/1/Thermal"
],
"ComputerSystems": [
"/redfish/v1/Systems/FCH2005V1EN"
],
"PCIeDevices": [
"/redfish/v1/Systems/FCH2005V1EN/PCIeDevice/L",
"/redfish/v1/Systems/FCH2005V1EN/PCIeDevice/MLOM",
"/redfish/v1/Systems/FCH2005V1EN/PCIeDevice/HBA"
],
"Storage": [
"/redfish/v1/Systems/FCH2005V1EN/Storage/SLOT-HBA",
"/redfish/v1/Systems/FCH2005V1EN/Storage/FlexFlash-0"
],
"PoweredBy": [
"/redfish/v1/Chassis/1/Power"
],
"ManagedBy": [
"/redfish/v1/Managers/CIMC"
]
},
"Status": {
"State": "Enabled",
"Health": "OK"
},
"LogServices": {
"@odata.id": "/redfish/v1/Chassis/1/LogServices"
},
"Name": "Computer System Chassis",
"HeightMm": 87,
"Power": {
"@odata.id": "/redfish/v1/Chassis/1/Power"
},
"WidthMm": 482,
"@odata.type": "#Chassis.1.0.0.Chassis",
"Actions": {
"#Chassis.Reset": {
"Target": "/redfish/v1/Chassis/1/Actions/Chassis.Reset",
"ResetType@Redfish.AllowableValues": [
]
}
},
"Manufacturer": "Cisco Systems Inc.",
"IndicatorLED": "Off",
"Model": "UCS C240 M4S",
"Id": "1"
}

Retrieving Chassis Power Details

Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Chassis/1/Power | json_reformat
Response:
<SNIP>
"PowerControl":{
"PhysicalContext":"PowerSupply",
Cisco UCS C-Series Servers REST API Programmer's Guide
54
"On",
"ForceOff"
Cisco IMC REST API Examples

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents