Cisco IMC REST API Examples
}],
"Links":{
"Enclosures":["/redfish/v1/Chassis/1"]
},
"@odata.type":"#Cisco_Storage",
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA",
"Volumes":{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Volumes"
},
"StorageControllers":{
"SerialNumber":"SV43929084",
"SupportedDeviceProtocols":"SATA, SAS, NVMe",
"SupportedControllerProtocols":"PCIe",
"Status":{
},
"Name":"Cisco 12G SAS Modular Raid Controller",
"MemberId":"RAID",
"Manufacturer":"LSI Logic",
"Model":"Cisco 12G SAS Modular Raid Controller",
"FirmwareVersion":"4.620.00-7309"
},
"Actions":{
"#Storage.SetEncryptionKey":{
"target":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Actions/Storage.SetEncryptionKey",
}
},
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Storage/Members/$entity"
}
Retrieving Individual Drives
Request:
curl -k -u admin:password
https://10.10.10.10/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-1
Response:
{
"SerialNumber":"Z1W2Q2J20000W502J4QN",
"Id":"PD-1",
"IndicatorLED":"Off",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Storage/Members/$entity/Drives/Members/$entity",
"CapableSpeedGbs":"6.0",
"Location":"SLOT-1",
"StatusIndicator":"OK",
"MediaType":"HDD",
"Actions":{
"#Drive.SecureErase":{
"target":"/redfish/v1/Systems/FCH1845V1X6/Storage/SLOT-HBA/Drives/PD-1/Actions/Drive.SecureErase"
"State":"Enabled",
"Health":"OK",
"HealthRollup":"OK"
"SecurityKey@Redfish.AllowableValues":["Security Key"],
"SecurityKeyId@Redfish.AllowableValues":["Security Key Identifier"]
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 3.1(3)
67
Need help?
Do you have a question about the UCS C Series and is the answer not in the manual?
Questions and answers