commit | d7be42bd69a80a2cdca17a8ccbc9c0a696b5d95c | [log] [tgz] |
---|---|---|
author | John Wedig <johnwedig@google.com> | Fri Jan 19 16:07:19 2024 -0800 |
committer | John Wedig <johnwedig@google.com> | Mon Jan 29 16:54:46 2024 -0800 |
tree | 89c62e2323458718a342e858933d517d3df75e44 | |
parent | 043af59f7fadce9b7e3872d91b1a0e841fc24cea [diff] |
Populate the Type property in Item.Drive interface By populating this property, bmcweb can populate the "MediaType" property in the Drive schema. Tested: $ busctl get-property xyz.openbmc_project.eStoraged \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Inventory.Item.Drive Type s "xyz.openbmc_project.Inventory.Item.Drive.DriveType.SSD" $ curl http://localhost:80/redfish/v1/Chassis/DCSCM/Drives/mmcblk0 { ... "MediaType": "SSD", ... } Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: I2cb6c7d3ec3b49e8d666da940d873f1117a0aa85
This daemon serves as an abstraction for an encrypted storage device, encapsulating the security functionality and providing a D-Bus interface to manage the encrypted filesystem on the device. Using the D-Bus interface, other software components can interact with eStoraged to do things like create a new encrypted filesystem, wipe its contents, lock/unlock the device, or change the password.