| commit | 1eb3d64c21539785d89e4883bb685dbf52ef9593 | [log] [tgz] | 
|---|---|---|
| author | Arun Lal K M <arun.lal@intel.com> | Mon May 08 12:58:20 2023 +0000 | 
| committer | Arun Lal K M <arun.lal@intel.com> | Mon May 08 12:58:20 2023 +0000 | 
| tree | ab7c1d4bef02266660885754d7df221d569525df | |
| parent | 7a8ab9ee86144c94fec33cf5990740e911266d56 [diff] | 
Use knob->prompt for DisplayName in BiosAttributeRegistry
GET on /redfish/v1/Registries/BiosAttributeRegistry/BiosAttributeRegistry/
shows list of Attributes under RegistryEntries. Each attribute
corresponds to a knob in BIOS.
DisplayName is currently filled with knob->name but knob->prompt is more
accurate for DisplayName as that is the name we see in EDKII menu.
Code changes makes the above mentioned fix.
Tested
Sample knobs from BIOS.
<knob name="ADDDCEn" prompt="ADDDC Sparing" ... >
	<options>
		<option text="Disable" value="0x0"/>
		<option text="Enable" value="0x1"/>
	</options>
</knob>
Corresponding Redfish response in BiosAttributeRegistry
{
	"AttributeName": "ADDDCEn",
	"CurrentValue": "0x00",
	"DefaultValue": "0x00",
	"DisplayName": "ADDDC Sparing",
	"HelpText": "Enable/Disable ADDDC Sparing",
	"MenuPath": "./",
	"ReadOnly": false,
	"Type": "Enumeration",
	"Value": [
		{
			"ValueDisplayName": "Disable",
			"ValueName": "0x0"
		},
		{
			"ValueDisplayName": "Enable",
			"ValueName": "0x1"
		}
	]
}
Change-Id: I6ee251e32169cecb4d86436373397054863552b5
Signed-off-by: Arun Lal K M <arun.lal@intel.com>
This component is intended to provide Intel-specific IPMI[3] command handlers for OpenBMC. These handlers are intended to integrate BMC with servers based on Intel architecture.
intel-ipmi-oem serves as an extension[1] to OpenBMC IPMI daemon[2]. It is compiled as a shared library and intended to both:
Related features provided by the library are grouped in separate source files. Main extensions to vanilla OpenBMC IPMI stack are the following:
[4]