Where to collect information for Redfish System's Processors, Storage, Memory data
Ren, Zhikui
zhikui.ren at intel.com
Fri Mar 19 07:10:31 AEDT 2021
>-----Original Message-----
>From: openbmc <openbmc-bounces+zhikui.ren=intel.com at lists.ozlabs.org>
>On Behalf Of Ren, Zhikui
>Sent: Thursday, March 18, 2021 1:09 PM
>To: Thang Nguyen <thang at os.amperecomputing.com>; OpenBMC Maillist
><openbmc at lists.ozlabs.org>
>Subject: RE: Where to collect information for Redfish System's Processors,
>Storage, Memory data
>
>
>
>>-----Original Message-----
>>From: Thang Nguyen <thang at os.amperecomputing.com>
>>Sent: Thursday, March 18, 2021 12:41 AM
>>To: Ren, Zhikui <zhikui.ren at intel.com>; OpenBMC Maillist
>><openbmc at lists.ozlabs.org>
>>Subject: Re: Where to collect information for Redfish System's
>>Processors, Storage, Memory data
>>
>>
>>On 18/03/2021 02:26, Ren, Zhikui wrote:
>>>
>>>> -----Original Message-----
>>>> From: openbmc <openbmc-
>>bounces+zhikui.ren=intel.com at lists.ozlabs.org>
>>>> On Behalf Of Thang Nguyen
>>>> Sent: Tuesday, March 16, 2021 3:22 AM
>>>> To: OpenBMC Maillist <openbmc at lists.ozlabs.org>
>>>> Subject: Where to collect information for Redfish System's
>>>> Processors, Storage, Memory data
>>>>
>>>> Hi,
>>>>
>>>> I am looking for how to support Redfish System schema which
>>>> information
>>> >from Host:
>>>> - Processors: redfish/v1/Systems/system/Processors
>>>>
>>>> - Storage: redfish/v1/Systems/system/Storage
>>>>
>>>> - Memory: redfish/v1/Systems/system/Memory
>>>>
>>>> I looked into the bmcweb repository at redfish-core/lib/memory.hpp
>>>> and redfish-core/lib/pcie.hpp but just see doGet() function to read
>>>> data from dbus to report via Redfish. There is no doPost() function
>>>> to post codes to Redfish.
>>>>
>>>> My questions are:
>>>>
>>>> 1. How can Host BIOS collect information and send to BMC so that BMC
>>>> can report via Redfish? via in-band Redfish?
>>>>
>>>> 2. If the information is not from BIOS, how can BMC collect information?
>>>> What recipes/repositories are used to collect information?
>>>>
>>> [Ren, Zhikui] https://github.com/openbmc/smbios-mdr is the service
>>> that populates dbus objects
>>
>>[Thang] Thanks for your information. But I don't see any meta-* use
>>smbios- mdr. How can OpenBMC get SMBIOS information?
>>
>>Do we need to implement IPMI OEM or something like that to send data to
>>BMC?
>>
>[Ren, Zhikui] I saw another proposal for adding POST and PATCH in redfish in a
>different thread.
>For completeness of information, here is the existing IPMI handler in intel-
>ipmi-oem:
>https://github.com/openbmc/intel-ipmi-
>oem/blob/master/src/smbioshandler.cpp
[Ren, Zhikui] And for MDRV2 https://github.com/openbmc/intel-ipmi-oem/blob/master/src/smbiosmdrv2handler.cpp
>
>>And UEFI (EDK2) collects SMBIOS data and send to BMC over IPMI?
>>
>>>> Thanks,
>>>>
>>>> Thang Q. Nguyen -
More information about the openbmc
mailing list