Viewing Storage Information
Request:
curl -GET
https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/SimpleStorage -k
-u admin:Admin123
{
"Members":[{
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/SimpleStorage/SLOTHBA"
}],
"@odata.type":"#Cisco_ComputerStorageCollection",
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/SimpleStorage",
"Name":"Simple Storage Collection",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/Simple
Storage"
}
curl -GET
https://10.10.10.10/redfish/v1/Systems/FCH2005V1EN/SimpleStorage/SLO
T-HBA -k -u admin:Admin123
{
"@odata.id":"/redfish/v1/Systems/FCH2005V1EN/SimpleStorage/SLOTHBA",
"Id":"SLOT-HBA",
"@odata.type":"#Cisco_ComputerStorage",
"Devices":[{
"Status":{
"State":"Enabled",
"Health":"Good"
},
"Name":"PD-1",
"Manufacturer":"HITACHI"
},{
"Status":{
"State":"Enabled",
"Health":"Good"
},
"Name":"PD-2",
"Manufacturer":"HITACHI"
},{
"Name":"PD-3",
"Status":{
"State":"Absent"
}
},{
"Name":"PD-4",
"Status":{
"State":"Absent"
}
},{
"Name":"PD-5",
"Status":{
"State":"Absent"
}
},{
"Name":"PD-6",
"Status":{
"State":"Absent"
}
},{
"Name":"PD-7",
"Status":{
"State":"Absent"
Cisco UCS C-Series Servers REST API Programmer's Guide
37
Cisco IMC REST API Examples
Examples of Server Tasks