Resetting Bios Action; Retrieving Storage Collection; Retrieving Individual Storage Controller - 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)
"PcieSlotRiser2Slot6LinkSpeed":"GEN3",
"PcieSlot3OptionROM":"Disabled",
"PcieSlotRiser1Slot2LinkSpeed":"GEN3",
"PcieSlotRiser2Slot5LinkSpeed":"GEN3"
}
},
"Name":"BiosToken",
"Description":"BIOS Configuration Current Settings"
}

Resetting BIOS Action

Request:
curl -XPOST -k -u admin:password
https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/BIOS/Actions/Bios.ResetBios -d '{}'

Retrieving Storage Collection

Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/Storage
Response:
{
"Members":[{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA"
},{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/FlexFlash-0"
}],
"Description":"Collection of storage resource instances for this system",
"@odata.type":"#Cisco_StorageCollection",
"@odata.id":"/redfish/v1/Systems/ FCH2005V1EN /Storage",
"Members@odata.count":2,
"Name":"Storage Collection",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Storage"
}

Retrieving Individual Storage Controller

Request:
curl -k -u admin:password https://10.10.10.10/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA
Response:
{
"Drives":[{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-1"
},{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-2"
},{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-3"
},{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-4"
Cisco UCS C-Series Servers REST API Programmer's Guide
66
Cisco IMC REST API Examples

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents