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.Rainier2U/bios_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/bios_attrs.json
index 65e5f63..11ce1d0 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/bios_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier2U/bios_attrs.json
@@ -96,6 +96,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"
@@ -104,6 +105,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",