commit | 2925796c00282fd4a38722581956ea495684f308 | [log] [tgz] |
---|---|---|
author | Brandon Wyman <bjwyman@gmail.com> | Thu Oct 12 17:52:45 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Oct 25 23:26:08 2017 +0000 |
tree | 1cb5f8aa3d9b0b7e3064d58b346301683f5771c8 | |
parent | aa4d23cb20ca6660dc4b0ef6c81bcbc21ad546a0 [diff] |
AutoReboot: Add support for AutoReboot sensor type Resolves: openbmc/openbmc#2398 Change-Id: Ide29aa6fa55cd6fea4f3e9520c425d4758a61dd3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml index 847e269..72f592a 100644 --- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml +++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -171,3 +171,18 @@ type: "bool" assert: true deassert: false + +host_auto_reboot_control_sensor: + path: /xyz/openbmc_project/control/host0/auto_reboot + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + interfaces: + xyz.openbmc_project.Control.Boot.RebootPolicy: + AutoReboot: + Offsets: + 0x00: + type: "bool" + assert: false + 0x01: + type: "bool" + assert: true