},{
"Memory":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_B2"
}
},{
"Memory":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_D2"
}
},{
"Memory":{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Memory/CPU_MOD1_DIMM_E2"
}
}],
"@odata.id":"/redfish/v1/Systems/WZP220607R1/MemoryDomains/1/MemoryChunks/1",
"IsSpare":false,
"MemoryChunkSizeMiB":262144,
"IsMirrorEnabled":false,
"AddressRangeType":"PMEM",
"@odata.type":"#MemoryChunks.v1_2_2.MemoryChunks",
"@odata.context":"/redfish/v1/$metadata#Systems/Members/$entity/MemoryDomains/Members/$entity/MemoryChunks/Members/$entity",
"Name":"Memory Chunk 1",
"Id":"1"
}
Setting MAC-Address (to a particular value) and MTU Size
Request:
curl -XPATCH -k -u admin:Password https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/
NetworkInterfaces/1/NetworkDeviceFunctions/eth0 -d'
{
"Ethernet":{
"MACAddress":"6C:B2:AE:3A:B2:DE",
"MTUSize":2222
}
}'
Setting MAC-Address (to AUTO)
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/NetworkInterfaces/
1/NetworkDeviceFunctions/eth0 -d'
{
"Ethernet":{
"MACAddress":"auto"
}
}'
Configuring iSCSI Boot when PXE Boot is Enabled
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Systems/WZP21330G5B/NetworkInterfaces/
Cisco UCS C-Series Servers REST API Programmer's Guide
125
Cisco IMC REST API Examples
Examples of Server Tasks for 4.0(4)