summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-03-06 17:05:11 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-03-16 14:32:36 +0530
commit3aa591fe9b9509fbdb0ea41ae6763448393294ac (patch)
tree74b0b1ece6639d39b6cabe6f35b2079643875e96 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw
parentf0a463adf45dc2baedd2e5d60a22dd41827781eb (diff)
downloadtalos-openbmc-3aa591fe9b9509fbdb0ea41ae6763448393294ac.tar.gz
talos-openbmc-3aa591fe9b9509fbdb0ea41ae6763448393294ac.zip
Add virtual/phosphor-ipmi-sensor-inventory
This virtual provides a YAML file that serves as sensor inventory configuration for phosphor-host-ipmid. Add a native recipe that builds the configuration from MRW. Set this recipe as the default for OpenPOWER systems. Resolves openbmc/openbmc#781 Resolves openbmc/openbmc#1212 Change-Id: I25034dd3ed825e2ef320ab0b38ac2f733afded47 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw/config.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw/config.yaml b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw/config.yaml
new file mode 100644
index 000000000..183061193
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw/config.yaml
@@ -0,0 +1,27 @@
+0x0C:
+ xyz.openbmc_project.State.Decorator.OperationalStatus:
+ Functional:
+ 0x04:
+ type: "bool"
+ assert: false
+ deassert: true
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ 0x06:
+ type: "bool"
+ assert: true
+ deassert: false
+
+0x07:
+ xyz.openbmc_project.State.Decorator.OperationalStatus:
+ Functional:
+ 0x08:
+ type: "bool"
+ assert: false
+ deassert: true
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ 0x07:
+ type: "bool"
+ assert: true
+ deassert: false
OpenPOWER on IntegriCloud