pldm: Add bios configuration in single json file
Currently bios attributes are added in three json configuration
files based on the attribute type(integer, string, enum).
Combining all the attributes in single bios attribute json file
to organize the attributes based on the usage pattern.
Tested:
BMC powered on successfully
Unit tests passed
Change-Id: I42cc7c2394918e48d27dca2041f8ce00509c565a
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/libpldmresponder/bios_attribute.hpp b/libpldmresponder/bios_attribute.hpp
index c07d86f..fb593e4 100644
--- a/libpldmresponder/bios_attribute.hpp
+++ b/libpldmresponder/bios_attribute.hpp
@@ -90,6 +90,9 @@
/** @brief Method to return the D-Bus map */
std::optional<pldm::utils::DBusMapping> getDBusMap();
+ /** @brief Type of the attribute */
+ const std::string type;
+
/** @brief Name of this attribute */
const std::string name;