summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-10-02 04:45:27 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-12 13:33:41 +0000
commite8f6012220b29041ef515c763fb32569780c9283 (patch)
tree6e18e7d9bb55721820754471a592512a742cb957 /meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor
parentca0a04fe124671db1b55e99c696d964ed1c2795e (diff)
downloadtalos-openbmc-e8f6012220b29041ef515c763fb32569780c9283.tar.gz
talos-openbmc-e8f6012220b29041ef515c763fb32569780c9283.zip
ipmi: sensor config yaml updates
When marking a unit as functional both functional state and presence need to be checked to avoid marking non-present units as functional. There was a change in yaml structure for accomodating fix for marking non-present units as functional. All these yamls are not sorted by sensor id, so it will easier for a future script based change. Change-Id: I122d652de32ba4f323ee7b31a59078d86e158246 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor')
-rwxr-xr-xmeta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml553
1 files changed, 344 insertions, 209 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 8fd4fb81b..46794297c 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-palmetto/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,65 +1,28 @@
0x05:
- interfaces:
- xyz.openbmc_project.State.Boot.Progress:
- BootProgress:
- 0x00:
- set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified
- type: string
- 0x01:
- set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit
- type: string
- 0x03:
- set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
- type: string
- 0x13:
- set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart
- type: string
- 0x14:
- set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit
- type: string
- path: /xyz/openbmc_project/state/host0
- readingType: eventdata2
- sensorReadingType: 0x6F
sensorType: 0x0F
- serviceInterface: org.freedesktop.DBus.Properties
-0x32:
- interfaces:
- xyz.openbmc_project.State.OperatingSystem.Status:
- OperatingSystemState:
- 0x01:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot
- type: string
- 0x02:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot
- type: string
- 0x03:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot
- type: string
- 0x04:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot
- type: string
- 0x05:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot
- type: string
- 0x06:
- assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete
- type: string
path: /xyz/openbmc_project/state/host0
- readingType: assertion
sensorReadingType: 0x6F
- sensorType: 0x1F
serviceInterface: org.freedesktop.DBus.Properties
-0x09:
+ readingType: eventdata2
interfaces:
- xyz.openbmc_project.Control.Boot.RebootAttempts:
- AttemptsLeft:
- 0xFF:
- type: uint32_t
- path: /xyz/openbmc_project/state/host0
- readingType: readingAssertion
- sensorReadingType: 0x6F
- sensorType: 0xC3
- serviceInterface: org.freedesktop.DBus.Properties
+ xyz.openbmc_project.State.Boot.Progress:
+ BootProgress:
+ Offsets:
+ 0x13:
+ type: string
+ set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart
+ 0x00:
+ type: string
+ set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified
+ 0x01:
+ type: string
+ set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit
+ 0x14:
+ type: string
+ set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit
+ 0x03:
+ type: string
+ set: xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit
0x08:
sensorType: 0x07
path: /org/open_power/control/occ0
@@ -69,6 +32,7 @@
interfaces:
org.open_power.OCC.Status:
OccActive:
+ Offsets:
0x00:
assert: false
deassert: true
@@ -77,6 +41,18 @@
assert: true
deassert: false
type: bool
+0x09:
+ sensorType: 0xC3
+ path: /xyz/openbmc_project/state/host0
+ sensorReadingType: 0x6F
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: readingAssertion
+ interfaces:
+ xyz.openbmc_project.Control.Boot.RebootAttempts:
+ AttemptsLeft:
+ Offsets:
+ 0xFF:
+ type: uint32_t
0x1e:
sensorType: 0x0C
path: /system/chassis/motherboard/dimm0
@@ -84,18 +60,25 @@
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
interfaces:
- xyz.openbmc_project.Inventory.Item:
- Present:
- 0x06:
- type: bool
- assert: true
- deassert: false
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x04:
- assert: false
- deassert: true
- type: bool
+ Prereqs:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x04:
+ assert: false
+ deassert: true
+ type: bool
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ Offsets:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
0x1f:
sensorType: 0x0C
path: /system/chassis/motherboard/dimm1
@@ -103,18 +86,25 @@
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
interfaces:
- xyz.openbmc_project.Inventory.Item:
- Present:
- 0x06:
- type: bool
- assert: true
- deassert: false
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x04:
- assert: false
- deassert: true
- type: bool
+ Prereqs:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x04:
+ assert: false
+ deassert: true
+ type: bool
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ Offsets:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
0x20:
sensorType: 0x0C
path: /system/chassis/motherboard/dimm2
@@ -122,18 +112,25 @@
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
interfaces:
- xyz.openbmc_project.Inventory.Item:
- Present:
- 0x06:
- type: bool
- assert: true
- deassert: false
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x04:
- assert: false
- deassert: true
- type: bool
+ Prereqs:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x04:
+ assert: false
+ deassert: true
+ type: bool
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ Offsets:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
0x21:
sensorType: 0x0C
path: /system/chassis/motherboard/dimm3
@@ -141,37 +138,25 @@
serviceInterface: xyz.openbmc_project.Inventory.Manager
readingType: assertion
interfaces:
- xyz.openbmc_project.Inventory.Item:
- Present:
- 0x06:
- type: bool
- assert: true
- deassert: false
- xyz.openbmc_project.State.Decorator.OperationalStatus:
- Functional:
- 0x04:
- assert: false
- deassert: true
- type: bool
-0x2f:
- sensorType: 0x07
- path: /system/chassis/motherboard/cpu
- sensorReadingType: 0x6F
- serviceInterface: xyz.openbmc_project.Inventory.Manager
- readingType: assertion
- interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x04:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x06:
+ assert: true
+ deassert: false
+ type: bool
0x22:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core0
@@ -181,16 +166,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x23:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core1
@@ -200,16 +193,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x24:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core2
@@ -219,16 +220,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x25:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core3
@@ -238,16 +247,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x26:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core4
@@ -257,16 +274,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x27:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core5
@@ -276,16 +301,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x28:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core6
@@ -295,16 +328,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x29:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core7
@@ -314,16 +355,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x2a:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core8
@@ -333,16 +382,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x2b:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core9
@@ -352,16 +409,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x2c:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core10
@@ -371,16 +436,24 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
0x2d:
sensorType: 0x07
path: /system/chassis/motherboard/cpu0/core11
@@ -390,13 +463,75 @@
interfaces:
xyz.openbmc_project.State.Decorator.OperationalStatus:
Functional:
- 0x08:
- deassert: true
- assert: false
- type: bool
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
+ xyz.openbmc_project.Inventory.Item:
+ Present:
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ skipOn: deassert
+0x2f:
+ sensorType: 0x07
+ path: /system/chassis/motherboard/cpu
+ sensorReadingType: 0x6F
+ serviceInterface: xyz.openbmc_project.Inventory.Manager
+ readingType: assertion
+ interfaces:
+ xyz.openbmc_project.State.Decorator.OperationalStatus:
+ Functional:
+ Prereqs:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+ Offsets:
+ 0x08:
+ assert: false
+ deassert: true
+ type: bool
xyz.openbmc_project.Inventory.Item:
Present:
- 0x07:
- deassert: false
- assert: true
- type: bool
+ Offsets:
+ 0x07:
+ assert: true
+ deassert: false
+ type: bool
+0x32:
+ sensorType: 0x1F
+ path: /xyz/openbmc_project/state/host0
+ sensorReadingType: 0x6F
+ serviceInterface: org.freedesktop.DBus.Properties
+ readingType: assertion
+ interfaces:
+ xyz.openbmc_project.State.OperatingSystem.Status:
+ OperatingSystemState:
+ Offsets:
+ 0x02:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot
+ type: string
+ 0x06:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete
+ type: string
+ 0x04:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot
+ type: string
+ 0x01:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot
+ type: string
+ 0x03:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot
+ type: string
+ 0x05:
+ assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot
+ type: string
OpenPOWER on IntegriCloud