openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
154 stars 131 forks source link

Should use Inventory Item "PrettyName" #204

Open gtmills opened 3 years ago

gtmills commented 3 years ago

We should map "PrettyName" to Redfish Name.

https://github.com/openbmc/phosphor-dbus-interfaces/blob/495981805244269650bee13d1ee8f13543b2bc5a/xyz/openbmc_project/Inventory/Item.interface.yaml#L5

Drives, Processors, etc, etc. all need to be moved.

gtmills commented 3 years ago

Name is a required property so probably want to do something here where we fall back to the last segment of the URI if there isn't a PrettyName interface

gtmills commented 3 years ago

See https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/43967

edtanous commented 1 year ago

Anyone still working on this? Aformentioned review was abandoned.