Bring back the dbus backend for bios attributes
- This commit would bring back the dbus backend support
for the bios attributes.
- This was required to be supported as we have two redfish
interfaces that can be used to poke the same bios settings,
and we should make sure that they should be in sync.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I032594c90ac6cfdaff1197ea98710c5efa27d7c3
diff --git a/oem/ibm/configurations/bios/enum_attrs.json b/oem/ibm/configurations/bios/enum_attrs.json
index 644902a..0fb8498 100644
--- a/oem/ibm/configurations/bios/enum_attrs.json
+++ b/oem/ibm/configurations/bios/enum_attrs.json
@@ -94,7 +94,15 @@
"PowerVM"
],
"helpText" : "hb_hyp_switch",
- "displayName" : "hb_hyp_switch"
+ "displayName" : "hb_hyp_switch",
+ "dbus":
+ {
+ "object_path" : "/com/ibm/host0/hypervisor",
+ "interface" : "com.ibm.Host.Target",
+ "property_name" : "Target",
+ "property_type" : "string",
+ "property_values" : ["com.ibm.Host.Target.Hypervisor.PowerVM" , "com.ibm.Host.Target.Hypervisor.OPAL"]
+ }
},
{
"attribute_name":"pvm_stop_at_standby",
@@ -103,10 +111,18 @@
"Enabled"
],
"default_values":[
- "Disabled"
+ "Enabled"
],
"helpText" : "pvm_stop_at_standby",
- "displayName" : "pvm_stop_at_standby"
+ "displayName" : "pvm_stop_at_standby",
+ "dbus":
+ {
+ "object_path" : "/xyz/openbmc_project/control/host0/boot",
+ "interface" : "xyz.openbmc_project.Control.Boot.Mode",
+ "property_name" : "BootMode",
+ "property_type" : "string",
+ "property_values" : ["xyz.openbmc_project.Control.Boot.Mode.Modes.Regular", "xyz.openbmc_project.Control.Boot.Mode.Modes.Setup"]
+ }
},
{
"attribute_name":"hb_debug_console",
@@ -172,3 +188,4 @@
}
]
}
+