oem-ibm: Adding value_name json key for dynamic deallocation of Memory
This commit adds value_name json key to BIOS attribute that allows user
to enable/disable the dynamic deallocation of memory based on predictive
memory fail events.
Tested: Verified the BIOS attribute with get bios attribute command from
pldmtool.
Change-Id: I913d2062c1d7af024a447f9eb4e0289fa7ebdf12
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/bios_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/bios_attrs.json
index 1e8e54a..d41c02a 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/bios_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Bonnell/bios_attrs.json
@@ -78,6 +78,7 @@
"attribute_type": "enum",
"attribute_name": "hb_predictive_mem_guard",
"possible_values": ["Enabled", "Disabled"],
+ "value_names": ["Enabled", "Disabled"],
"default_values": ["Enabled"],
"help_text": "Enable or Disable Predictive Guard for Memory Errors.",
"display_name": "Predictive Memory Guard"
@@ -86,6 +87,7 @@
"attribute_type": "enum",
"attribute_name": "hb_predictive_mem_guard_current",
"possible_values": ["Enabled", "Disabled"],
+ "value_names": ["Enabled", "Disabled"],
"default_values": ["Enabled"],
"help_text": "Enable or Disable Predictive Guard for Memory Errors.",
"display_name": "Predictive Memory Guard",