commit | 6c0d8ce1309afb96a253deba5af6287ddba75dc4 | [log] [tgz] |
---|---|---|
author | John Wedig <johnwedig@google.com> | Fri Apr 22 14:00:43 2022 -0700 |
committer | John Wedig <johnwedig@google.com> | Wed Apr 27 14:08:10 2022 -0700 |
tree | 71cdb1a97e0f7a0d092979f56013216d02deb3f6 | |
parent | 2f187348b4ebb8a3d1acdbbdfb86902c0b49cccc [diff] |
Add association between chassis and drive This commit adds an association between the storage device ("drive") and the associated chassis. Specifically, the new association is the following: ["chassis", "drive", <chassis_path>] This association will be used in bmcweb to add Redfish links between drive and chassis. Tested: $ busctl get-property xyz.openbmc_project.eStoraged \ /xyz/openbmc_project/inventory/storage/mmcblk0 \ xyz.openbmc_project.Association.Definitions Associations $ busctl get-property xyz.openbmc_project.ObjectMapper \ /xyz/openbmc_project/inventory/system/board/dcscm/drive \ xyz.openbmc_project.Association endpoints $ busctl get-property xyz.openbmc_project.ObjectMapper \ /xyz/openbmc_project/inventory/storage/mmcblk0/chassis \ xyz.openbmc_project.Association endpoints Signed-off-by: John Wedig <johnwedig@google.com> Change-Id: Ie21725e9ceb5134ac94854dcb06f3b86a48eeabd
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.