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/SecurityCapabilities.interface.yaml b/xyz/openbmc_project/Inventory/Item/PersistentMemory/SecurityCapabilities.interface.yaml
new file mode 100644
index 0000000..23ca54e
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Item/PersistentMemory/SecurityCapabilities.interface.yaml
@@ -0,0 +1,24 @@
+description: >
+ Implement to provide security capability attributes.
+properties:
+ - name: MaxPassphraseCount
+ type: uint32
+ description: >
+ Maximum number of passphrases supported for this Memory.
+ - name: PassphraseCapable
+ type: boolean
+ description: >
+ Memory passphrase set capability.
+ - name: ConfigurationLockCapable
+ type: boolean
+ description: >
+ An indication of whether this memory supports the locking.
+ - name: DataLockCapable
+ type: boolean
+ description: >
+ An indication of whether this memory supports data locking.
+ - name: PassphraseLockLimit
+ type: uint32
+ description: >
+ The maximum number of incorrect passphrase attempts
+ allowed before memory is locked.
\ No newline at end of file