Cisco IMC REST API Examples
"MemoryDomains":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/MemoryDomains"
},
"Processors":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Processors"
},
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity",
"Memory":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory"
},
"PCIeDevices@odata.count":5
}
Retrieving Memory Domains
Request:
curl -k -u admin:Password -XGET
https://10.10.10.10/redfish/v1/Systems/WZP220607R1/MemoryDomains
Response:
{
"Members":[{
}],
"Description":"Collection of Memory Domain resource instances for this system",
"@odata.type":"#MemoryDomainCollection.MemoryDomainCollection",
"@odata.id":"/redfish/v1/Systems/WZP220607R1/MemoryDomains",
"Members@odata.count":1,
"Name":"Memory Domain Collection",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/MemoryDomains"
}
Request:
curl -k -u admin:Password -XGET
https://10.10.10.10/redfish/v1/Systems/WZP220607R1/MemoryDomains/1
Response:
{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/MemoryDomains/1",
"AllowsBlockProvisioning":false,
"Name":"Memory Domain",
"InterleavableMemorySets":[{
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/MemoryDomains/1"
"MemorySet":[{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_A2"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_B2"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_D2"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_E2"
}]
"MemorySet":[{
Cisco UCS C-Series Servers REST API Programmer's Guide
Examples of Server Tasks for 4.0(4)
123
Need help?
Do you have a question about the UCS C Series and is the answer not in the manual?