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?
Thanks,
Thang Q. Nguyen -
Quoted 26 lines
-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Thang Nguyen
Sent: Tuesday, March 16, 2021 3:22 AM
To: OpenBMC Maillist <[email protected]>
Subject: Where to collect information for Redfish System's Processors, Storage, Memory dataHi,
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 nodoPost()function to post codes to Redfish.
Quoted 8 lines
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
Quoted 4 lines
Thanks,
Thang Q. Nguyen -
Quoted 26 lines · Zhikui
Quoted 26 lines
-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Thang Nguyen
Sent: Tuesday, March 16, 2021 3:22 AM
To: OpenBMC Maillist <[email protected]>
Subject: Where to collect information for Redfish System's Processors, Storage, Memory dataHi,
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 nodoPost()function to post codes to Redfish.My questions are:
Quoted 7 lines
Quoted 6 lines
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?
And UEFI (EDK2) collects SMBIOS data and send to BMC over IPMI?
Quoted 3 lines
Quoted 3 lines
Thanks,
Thang Q. Nguyen -
Quoted 46 lines
-----Original Message-----
From: Thang Nguyen <[email protected]>
Sent: Thursday, March 18, 2021 12:41 AM
To: Ren, Zhikui <[email protected]>; OpenBMC Maillist <[email protected]>
Subject: Re: Where to collect information for Redfish System's Processors, Storage, Memory dataQuoted 3 lines · Zhikui
Quoted 3 lines
-----Original Message-----
From: openbmc <openbmc-Quoted 30 lines
Quoted 30 lines
On Behalf Of Thang Nguyen
Sent: Tuesday, March 16, 2021 3:22 AM
To: OpenBMC Maillist <[email protected]>
Subject: Where to collect information for Redfish System's Processors, Storage, Memory dataHi,
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 nodoPost()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?
Quoted 9 lines
Quoted 2 lines
[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
Quoted 5 lines
And UEFI (EDK2) collects SMBIOS data and send to BMC over IPMI?
Quoted 3 lines
Quoted 3 lines
Thanks,
Thang Q. Nguyen -
Quoted 66 lines
-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Ren, Zhikui
Sent: Thursday, March 18, 2021 1:09 PM
To: Thang Nguyen <[email protected]>; OpenBMC Maillist <[email protected]>
Subject: RE: Where to collect information for Redfish System's Processors, Storage, Memory dataQuoted 44 lines
-----Original Message-----
From: Thang Nguyen <[email protected]>
Sent: Thursday, March 18, 2021 12:41 AM
To: Ren, Zhikui <[email protected]>; OpenBMC Maillist <[email protected]>
Subject: Re: Where to collect information for Redfish System's Processors, Storage, Memory dataQuoted 3 lines · Zhikui
Quoted 3 lines
-----Original Message-----
From: openbmc <openbmc-Quoted 30 lines
Quoted 30 lines
On Behalf Of Thang Nguyen
Sent: Tuesday, March 16, 2021 3:22 AM
To: OpenBMC Maillist <[email protected]>
Subject: Where to collect information for Redfish System's Processors, Storage, Memory dataHi,
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 nodoPost()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?
Quoted 9 lines
Quoted 2 lines
[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?
Quoted 6 lines
[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
Quoted 6 lines
Quoted 6 lines
And UEFI (EDK2) collects SMBIOS data and send to BMC over IPMI?
Quoted 3 lines
Quoted 3 lines
Thanks,
Thang Q. Nguyen -
Quoted 8 lines · Thang Nguyen
Hi,
I am looking for how to support Redfish System schema which information from Host:
- Processors: redfish/v1/Systems/system/Processors
Quoted 8 lines
- 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 nodoPost()function to post codes to Redfish.
Today, there's no way to do this sort of Redfish POST/PATCH for normal BIOS use cases. I'm working on a design doc for how to add this (via redfish host interface) to bmcweb. If you have any ideas here for how this should work, or requirements for what you're trying to do, please, share.
Quoted 14 lines
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?
Thanks,
Thang Q. Nguyen -
Quoted 17 lines · Ed Tanous
Quoted 7 lines · Thang Nguyen
Hi,
I am looking for how to support Redfish System schema which information from Host:
- Processors: redfish/v1/Systems/system/Processors
Quoted 8 lines
- 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 nodoPost()function to post codes to Redfish.
Quoted 5 lines
Today, there's no way to do this sort of Redfish POST/PATCH for normal BIOS use cases. I'm working on a design doc for how to add this (via redfish host interface) to bmcweb. If you have any ideas here for how this should work, or requirements for what you're trying to do, please, share.
I checked on the Redfish Schema Supplement document and saw attributes from the Memory, Pcie, ... schema are read-only. It means no POST/PATCH action is supported now.
How's about suggesting on supporting POST/PATCH action with the needed information change to read-write? UEFI will then collect data and send Redfish commands via the Redfish Host Interface.
Quoted 14 lines
Quoted 14 lines
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?
Thanks,
Thang Q. Nguyen -
Quoted 26 lines · Thang Nguyen
Quoted 17 lines · Ed Tanous
Quoted 7 lines · Thang Nguyen
Hi,
I am looking for how to support Redfish System schema which information from Host:
- Processors: redfish/v1/Systems/system/Processors
Quoted 8 lines
- 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 nodoPost()function to post codes to Redfish.Quoted 5 lines
Today, there's no way to do this sort of Redfish POST/PATCH for normal BIOS use cases. I'm working on a design doc for how to add this (via redfish host interface) to bmcweb. If you have any ideas here for how this should work, or requirements for what you're trying to do, please, share.
Quoted 7 lines
I checked on the Redfish Schema Supplement document and saw attributes from the Memory, Pcie, ... schema are read-only. It means no POST/PATCH action is supported now.
How's about suggesting on supporting POST/PATCH action with the needed information change to read-write? UEFI will then collect data and send Redfish commands via the Redfish Host Interface.
That's effectively what I'm hoping to propose. ar ethe Memory and PCIe schemas the only things you need?
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
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?
Thanks,
Thang Q. Nguyen -
Quoted 30 lines · Ed Tanous
Quoted 28 lines · Thang Nguyen
Quoted 17 lines · Ed Tanous
Quoted 7 lines · Thang Nguyen
Hi,
I am looking for how to support Redfish System schema which information from Host:
- Processors: redfish/v1/Systems/system/Processors
Quoted 8 lines
- 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 nodoPost()function to post codes to Redfish.Quoted 5 lines
Today, there's no way to do this sort of Redfish POST/PATCH for normal BIOS use cases. I'm working on a design doc for how to add this (via redfish host interface) to bmcweb. If you have any ideas here for how this should work, or requirements for what you're trying to do, please, share.
I checked on the Redfish Schema Supplement document and saw attributes from the Memory, Pcie, ... schema are read-only. It means no POST/PATCH action is supported now.
Quoted 6 lines
Quoted 3 lines
How's about suggesting on supporting POST/PATCH action with the needed information change to read-write? UEFI will then collect data and send Redfish commands via the Redfish Host Interface.
That's effectively what I'm hoping to propose. ar ethe Memory and PCIe schemas the only things you need?
I think the following information should be sent from UEFI: CPU (information in SMBIOS type 4)), Memory, PCIE, Storage (SSD/NVMe, HDD, ...) and firmware information (information in SMBIOS Type 0).
I see in some hardware designs, there are I2C connections from BMC to DIMM SPD and PCIE slots. I wonder if we can have alternative way to read DIMM SPD and PCIE devices information.
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
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?
Thanks,
Thang Q. Nguyen -