Upstream BIOS Attributes under oem extensions
- This commit would upstream all the bios attributes
that ibm machines use.
- These attributes will be copied onto the BMC when
it is compiled with oem-ibm flag enabled.
Tested By:
- meson builddir -Doem-ibm=enabled -Dprefix=<>
- ninja -C builddir
- ninja install
Post install step, was able to see all the bios attribute
jsons inside <prefix>/share/pldm/bios folder.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Iea030b773946298b26bbb26443ef4015f19ff37d
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
new file mode 100644
index 0000000..1c666e2
--- /dev/null
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -0,0 +1,31 @@
+{
+ "entries":[
+ {
+ "attribute_name" : "vmi_if_count",
+ "lower_bound" : 0,
+ "upper_bound" : 2,
+ "scalar_increment" : 1,
+ "default_value" : 1,
+ "helpText" : "vmi_if_count",
+ "displayName" : "vmi_if_count"
+ },
+ {
+ "attribute_name" : "vmi_if0_ipv4_prefix_length",
+ "lower_bound" : 0,
+ "upper_bound" : 32,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "helpText" : "vmi_if0_ipv4_prefix_length",
+ "displayName" : "vmi_if0_ipv4_prefix_length"
+ },
+ {
+ "attribute_name" : "vmi_if1_ipv4_prefix_length",
+ "lower_bound" : 0,
+ "upper_bound" : 32,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "helpText" : "vmi_if1_ipv4_prefix_length",
+ "displayName" : "vmi_if1_ipv4_prefix_length"
+ }
+ ]
+}