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/PersistentMemory/PowerManagementPolicy.interface.yaml b/xyz/openbmc_project/Inventory/Item/PersistentMemory/PowerManagementPolicy.interface.yaml
new file mode 100644
index 0000000..d5231d7
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Item/PersistentMemory/PowerManagementPolicy.interface.yaml
@@ -0,0 +1,20 @@
+description: >
+ Implement to provide the power management policy for the current
+ resource.
+properties:
+ - name: PolicyEnabled
+ type: boolean
+ description: >
+ Power management policy enabled status.
+ - name: MaxTDPmW
+ type: uint32
+ description: >
+ Maximum TDP in milliwatts.
+ - name: PeakPowerBudgetmW
+ type: uint32
+ description: >
+ Peak power budget in milliwatts.
+ - name: AveragePowerBudgetmW
+ type: uint32
+ description: >
+ Average power budget in milliwatts.
\ No newline at end of file