[bmcweb] Extending bmcweb support on Storage/Drive

Willy Tu wltu at google.com
Thu May 27 07:36:52 AEST 2021

Hi all,

Main discussion:
bit outdated)

This will be a sub-thread about Storage/Drive resources and new properties
that I want to add to bmcweb.

Related thread: device level logging service

I am thinking of adding a number of support for Storage/Drive in bmcweb and
just want some feedback from the community,

The potential changes includes
- Multi-Storage Resource Support
- Drive Software
- New Drive Property Support
  - State Conditions
 - PhysicalLocation
 - Reset Action



Adding support for multiple Storages instead of just hardcoded to `1`. This
allows us to represent one Storage per plugin and organize the
resources differently.

We could potentially use
`xyz.openbmc_project.Inventory.Item.StorageController` to create the
storages and everything Drive under it will be linked.


Drive Software:

It will use SoftwareInventory and will just need to be able to add
RelatedItem back to a Drive based on the D-bue Association interface.


Drive Properties:

 - State Conditions:
Add log services related to the drive as discussed in device level logging
add debug information.

- PhysicalLocation
Use ` Inventory.Decorator.LocationCode` directly

-  Reset Action
Add reset/powercycle support to Drive resource. Based on


Please let me know if there are any questions and suggestions on the
proposed changes.


Willy Tu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210526/ddc1185f/attachment.htm>

More information about the openbmc mailing list