Add updated sensor config.yaml for non mrw systems
Added boot count, boot progress and os status
Change-Id: I6cbc4e9698d34007f846eabb8bbb23d1ea79bf8d
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index a326e75..c5cc569 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-firestone/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,5 +1,67 @@
+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
+0xB5:
+ 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
+0x5F:
+ 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
0x08:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
@@ -16,7 +78,7 @@
deassert: false
type: bool
0x09:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ1
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index a326e75..c5cc569 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-garrison/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,5 +1,67 @@
+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
+0xB5:
+ 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
+0x5F:
+ 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
0x08:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
@@ -16,7 +78,7 @@
deassert: false
type: bool
0x09:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ1
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
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 48a1979..8fd4fb8 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,5 +1,67 @@
+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:
+ 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
0x08:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 027c138..0b26f8f 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,5 +1,67 @@
+0x02:
+ 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
+0x91:
+ 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
+0x8B:
+ 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
0x03:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
@@ -16,7 +78,7 @@
deassert: false
type: bool
0x04:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ1
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 373235c..05f725b 100755
--- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,5 +1,67 @@
+0x03:
+ 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
+0x05:
+ 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
+0x07:
+ 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
0x6A:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
@@ -16,7 +78,7 @@
deassert: false
type: bool
0xBA:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ1
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
index 9bf9255..7f03211 100755
--- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory%/config.yaml
@@ -1,5 +1,67 @@
+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:
+ 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
0x08:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ0
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties
@@ -16,7 +78,7 @@
deassert: false
type: bool
0x0A:
- sensorType: 0x09
+ sensorType: 0x07
path: /org/open_power/control/occ1
sensorReadingType: 0x09
serviceInterface: org.freedesktop.DBus.Properties