### Create PMEM Memory Chunk Configuration Source: https://github.com/dmtf/redfish-publications/blob/main/mockups/public-pmem-configuration/Systems/README.md Use a POST request to create a new PMEM memory chunk configuration. Specify the desired size and interleave set details. ```JSON { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 16384, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/A1/" } } ] } ``` ```JSON { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 16384, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/A2/" } } ] } ``` ```JSON { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 16384, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/B1/" } } ] } ``` ```JSON { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 16384, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/B2/" } } ] } ``` -------------------------------- ### Create Persistent MemoryChunk Configuration Source: https://github.com/dmtf/redfish-publications/blob/main/mockups/public-pmem-configuration/Systems/README.md Use this POST request to create a new persistent MemoryChunk within a specified MemoryDomain. Ensure the `InterleaveSets` match one of the `InterleavableMemorySets` defined in the MemoryDomain. The `MemoryChunkSizeMiB` should not exceed the total capacity of the specified Memory DIMMs. ```json { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 32768, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/A1/" } }, { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/A2/" } } ] } ``` -------------------------------- ### Create PMEM Memory Chunk Configuration Source: https://github.com/dmtf/redfish-publications/blob/main/mockups/public-pmem-configuration/Systems/README.md Creates a new memory chunk configuration for PMEM devices, specifying size and interleave sets. ```APIDOC ## POST /redfish/v1/Systems/{SystemId}/MemoryDomains/{MemoryDomainId}/MemoryChunks ### Description Creates a new memory chunk configuration for a PMEM device, defining its size and how it is interleaved. ### Method POST ### Endpoint `/redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks` `/redfish/v1/Systems/1/MemoryDomains/PROC2MemoryDomain/MemoryChunks` ### Request Body - **AddressRangeType** (string) - Required - Specifies the type of address range, e.g., "PMEM". - **MemoryChunkSizeMiB** (integer) - Required - The size of the memory chunk in MiB. - **InterleaveSets** (array) - Required - A list of interleave set configurations. - **Memory** (object) - Required - Reference to the memory device. - **@odata.id** (string) - Required - The URI of the memory device. ### Request Example ```json { "AddressRangeType": "PMEM", "MemoryChunkSizeMiB": 16384, "InterleaveSets": [ { "Memory": { "@odata.id": "/redfish/v1/Systems/1/Memory/A1/" } } ] } ``` ``` -------------------------------- ### Delete Memory Chunk Source: https://github.com/dmtf/redfish-publications/blob/main/mockups/public-pmem-configuration/Systems/README.md Deletes an existing memory chunk. This is typically the first step before reconfiguring PMEM. ```APIDOC ## DELETE /redfish/v1/Systems/{SystemId}/MemoryDomains/{MemoryDomainId}/MemoryChunks/{MemoryChunkId} ### Description Deletes a specific memory chunk from a memory domain. ### Method DELETE ### Endpoint `/redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks/MC1` `/redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks/MC2` `/redfish/v1/Systems/1/MemoryDomains/PROC2MemoryDomain/MemoryChunks/MC3` `/redfish/v1/Systems/1/MemoryDomains/PROC2MemoryDomain/MemoryChunks/MC4` ``` -------------------------------- ### Delete PMEM Memory Chunk Source: https://github.com/dmtf/redfish-publications/blob/main/mockups/public-pmem-configuration/Systems/README.md Issue a DELETE request to remove an existing PMEM memory chunk. This is a prerequisite for reconfiguring the memory. ```HTTP DELETE /redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks/MC1 ``` ```HTTP DELETE /redfish/v1/Systems/1/MemoryDomains/PROC1MemoryDomain/MemoryChunks/MC2 ``` ```HTTP DELETE /redfish/v1/Systems/1/MemoryDomains/PROC2MemoryDomain/MemoryChunks/MC3 ``` ```HTTP DELETE /redfish/v1/Systems/1/MemoryDomains/PROC2MemoryDomain/MemoryChunks/MC4 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.