summaryrefslogtreecommitdiff
path: root/redfish-core/include/generated/enums/pcie_function.hpp
diff options
context:
space:
mode:
authorAKash A007 <mirrorghost007@gmail.com>2026-05-19 11:07:48 +0300
committerJustin Nguyen <justinnanguyen@gmail.com>2026-09-30 21:19:50 +0300
commit51f5e752fc312cac52bd36e4a258de97f7bdd952 (patch)
tree8bf6c124c5f9faef52a23687bc8bd733dd6b8131 /redfish-core/include/generated/enums/pcie_function.hpp
parentaf5c3aab899ea209e88933042a1ecdde2788ca07 (diff)
downloadbmcweb-master.tar.xz
storage: use PrettyName for Drive Name fieldHEADmaster
The Redfish Name field for drives currently defaults to the D-Bus object path filename (e.g. "drive0"). The D-Bus xyz.openbmc_project.Inventory.Item interface provides a PrettyName property for human-readable labels (e.g. "NVMe Drive Bay 0"). Map PrettyName to the Redfish Name field when available, falling back to the object ID when PrettyName is absent or empty. Tested: - Built bmcweb with meson/ninja successfully - Verified PrettyName appears in drive response when available - Falls back to default name when PrettyName is empty Relates-to: https://github.com/openbmc/bmcweb/issues/204 Change-Id: I90510d8633392c4fcadcee3bb94b87fbcf2ae006 Signed-off-by: Akash Arunkumar <mirrorghost007@gmail.com> Signed-off-by: Justin Nguyen <justinnanguyen@gmail.com>
Diffstat (limited to 'redfish-core/include/generated/enums/pcie_function.hpp')
0 files changed, 0 insertions, 0 deletions