oem-ibm: Adding BIOS attribute for IPL version

This commit introduces two new string bios attributes to capture system
code level version with which last CEC full IPL was performed and
another attribute to capture version level in case of MPIPL (after
concurrent code update) scenario. Both the attributes will be updated by
remote terminus during every IPL.

Change-Id: I566c2f4a9cf606f5c9df73a796699b496c5b947f
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
diff --git a/oem/ibm/configurations/bios/bios_attrs.json b/oem/ibm/configurations/bios/bios_attrs.json
index e662c26..0d59608 100644
--- a/oem/ibm/configurations/bios/bios_attrs.json
+++ b/oem/ibm/configurations/bios/bios_attrs.json
@@ -1316,6 +1316,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,
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 7c3f583..ff13e95 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
@@ -1220,6 +1220,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/bios_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/bios_attrs.json
index a627324..acf5da2 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/bios_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Everest/bios_attrs.json
@@ -1338,6 +1338,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/bios_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/bios_attrs.json
index f2e6ff7..60598c5 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/bios_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier1S4U/bios_attrs.json
@@ -1338,6 +1338,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,
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 f2e6ff7..60598c5 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
@@ -1338,6 +1338,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,
diff --git a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/bios_attrs.json b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/bios_attrs.json
index f2e6ff7..60598c5 100644
--- a/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/bios_attrs.json
+++ b/oem/ibm/configurations/bios/com.ibm.Hardware.Chassis.Model.Rainier4U/bios_attrs.json
@@ -1338,6 +1338,30 @@
         },
         {
             "attribute_type": "string",
+            "attribute_name": "hb_full_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last full CEC IPL was performed",
+            "displayName": "Complete IPL System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
+            "attribute_name": "hb_ipl_fw_version",
+            "string_type": "ASCII",
+            "minimum_string_length": 0,
+            "maximum_string_length": 64,
+            "default_string_length": 0,
+            "default_string": "",
+            "helpText": "Provides the full system firmware version level with which last CEC IPL was performed (mpipl)",
+            "displayName": "System FW Level",
+            "readOnly": true
+        },
+        {
+            "attribute_type": "string",
             "attribute_name": "pvm_ibmi_load_source",
             "string_type": "ASCII",
             "minimum_string_length": 0,