History log of /openbmc/bmcweb/redfish-core/include/utils/asset_utils.hpp (Results 1 – 1 of 1)
Revision Date Author Comments
# 1ac7f6cf 07-Sep-2025 Myung Bae <myungbae@us.ibm.com>

Add getAssetInfo into util function

AssetInfo is needed for many schemas like Fan, Storage etc. Using this
utility function, those AssetInfo can be obtained in one place.

This function extracts the

Add getAssetInfo into util function

AssetInfo is needed for many schemas like Fan, Storage etc. Using this
utility function, those AssetInfo can be obtained in one place.

This function extracts the following properties if available.
- Manufacturer
- Model
- PartNumber
- SerialNumber
- SparePartNumber (if requested)

Tested:
- GET Chassis, Fan, Storage etc
- Redfish Service Validator passes

Change-Id: I2e8fdab8969d24899c261cfdf601be971d0210d7
Signed-off-by: Myung Bae <myungbae@us.ibm.com>

show more ...