Create persistent memory specific interface
Create persistent memory specific interface.
- Move persistent memory related properties from Dimm
interface.
- Keeping only SMBIOS type 17 standard properties under
Dimm interface.
- Create sub interfaces to keep things organized under
new interface.
Tested:
- Successful build and verified changes in
server.hpp and server.cpp.
Signed-off-by: Nirmal Patel <nirmal.patel@intel.com>
Change-Id: I48bcab6196b4c840d9e1c53ae8cea1871fc36e67
diff --git a/xyz/openbmc_project/Inventory/Item/Dimm/MemoryLocation.interface.yaml b/xyz/openbmc_project/Inventory/Item/Dimm/MemoryLocation.interface.yaml
new file mode 100644
index 0000000..43e838f
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Item/Dimm/MemoryLocation.interface.yaml
@@ -0,0 +1,20 @@
+description: >
+ Implement to provide Memory connection information to sockets
+ and memory controllers.
+properties:
+ - name: Socket
+ type: byte
+ description: >
+ CPU socket.
+ - name: MemoryController
+ type: byte
+ description: >
+ Memory controller number of given socket.
+ - name: Channel
+ type: byte
+ description: >
+ Channel number of given memory controller.
+ - name: Slot
+ type: byte
+ description: >
+ Slot of given channel.
\ No newline at end of file