blob: 6ca7c0e1f4b6ec3dc94b52059ab73a9d96b4fd80 [file] [log] [blame]
Deepak Kodihallie98824a2017-08-13 12:00:36 -05001boot_count_sensor:
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -05002 path: /xyz/openbmc_project/state/host0
3 serviceInterface: org.freedesktop.DBus.Properties
Deepak Kodihallie98824a2017-08-13 12:00:36 -05004 readingType: readingAssertion
Tom Josephb9983832018-01-24 11:18:34 +05305 sensorNamePattern: nameProperty
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -05006 interfaces:
7 xyz.openbmc_project.Control.Boot.RebootAttempts:
8 AttemptsLeft:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -05009 Offsets:
10 0xFF:
11 type: uint32_t
Deepak Kodihallie98824a2017-08-13 12:00:36 -050012
13os_boot_sensor:
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050014 path: /xyz/openbmc_project/state/host0
15 serviceInterface: org.freedesktop.DBus.Properties
16 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +053017 sensorNamePattern: nameProperty
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050018 interfaces:
19 xyz.openbmc_project.State.OperatingSystem.Status:
20 OperatingSystemState:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -050021 Offsets:
22 0x01:
23 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot"
24 type: string
25 0x02:
26 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot"
27 type: string
28 0x03:
29 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot"
30 type: string
31 0x04:
32 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot"
33 type: string
34 0x05:
35 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot"
36 type: string
37 0x06:
38 assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete"
39 type: string
Deepak Kodihallie98824a2017-08-13 12:00:36 -050040
41fw_boot_sensor:
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050042 path: /xyz/openbmc_project/state/host0
43 serviceInterface: org.freedesktop.DBus.Properties
44 readingType: eventdata2
Tom Josephb9983832018-01-24 11:18:34 +053045 sensorNamePattern: nameProperty
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050046 interfaces:
47 xyz.openbmc_project.State.Boot.Progress:
48 BootProgress:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -050049 Offsets:
50 0x00:
51 type: string
52 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified"
53 0x01:
54 type: string
55 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit"
56 0x03:
57 type: string
58 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit"
Dhruvaraj Subhashchandran1177b932017-10-25 01:22:53 -050059 0x07:
60 type: string
61 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit"
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -050062 0x13:
63 type: string
64 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart"
65 0x14:
66 type: string
67 set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit"
Deepak Kodihallie98824a2017-08-13 12:00:36 -050068
69dimm_func_sensor:
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050070 serviceInterface: xyz.openbmc_project.Inventory.Manager
71 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +053072 sensorNamePattern: nameLeaf
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050073 interfaces:
74 xyz.openbmc_project.State.Decorator.OperationalStatus:
75 Functional:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -050076 Offsets:
77 0x04:
78 type: "bool"
79 assert: false
80 deassert: true
81 Prereqs:
82 0x06:
83 type: "bool"
84 assert: true
85 deassert: false
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050086 xyz.openbmc_project.Inventory.Item:
87 Present:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -050088 Offsets:
89 0x06:
90 type: "bool"
91 assert: true
92 deassert: false
Deepak Kodihallie98824a2017-08-13 12:00:36 -050093
94cpu_func_sensor:
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050095 serviceInterface: xyz.openbmc_project.Inventory.Manager
96 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +053097 sensorNamePattern: nameLeaf
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -050098 interfaces:
99 xyz.openbmc_project.State.Decorator.OperationalStatus:
100 Functional:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -0500101 Offsets:
102 0x08:
103 type: "bool"
104 assert: false
105 deassert: true
106 Prereqs:
107 0x07:
108 type: "bool"
109 assert: true
110 deassert: false
Deepak Kodihallie98824a2017-08-13 12:00:36 -0500111 xyz.openbmc_project.Inventory.Item:
112 Present:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -0500113 Offsets:
114 0x07:
115 type: "bool"
116 assert: true
117 deassert: false
Deepak Kodihallie98824a2017-08-13 12:00:36 -0500118
119cpucore_func_sensor:
120 serviceInterface: xyz.openbmc_project.Inventory.Manager
121 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +0530122 sensorNamePattern: nameParentLeaf
Deepak Kodihallie98824a2017-08-13 12:00:36 -0500123 interfaces:
124 xyz.openbmc_project.State.Decorator.OperationalStatus:
125 Functional:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -0500126 Offsets:
127 0x08:
128 type: "bool"
129 assert: false
130 deassert: true
131 Prereqs:
132 0x07:
133 type: "bool"
134 assert: true
135 deassert: false
Dhruvaraj Subhashchandrana03c56d2017-07-12 06:45:14 -0500136 xyz.openbmc_project.Inventory.Item:
137 Present:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -0500138 Offsets:
139 0x07:
140 type: "bool"
141 assert: true
142 deassert: false
143 skipOn: "deassert"
Tom Joseph6b068992017-08-18 12:08:56 +0530144
145tpm_required_sensor:
146 path: /xyz/openbmc_project/control/host0/TPMEnable
147 serviceInterface: org.freedesktop.DBus.Properties
148 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +0530149 sensorNamePattern: nameLeaf
Tom Joseph6b068992017-08-18 12:08:56 +0530150 interfaces:
151 xyz.openbmc_project.Control.TPM.Policy:
152 TPMEnable:
Dhruvaraj Subhashchandrance942632017-10-02 04:45:27 -0500153 Offsets:
154 0x00:
155 type: "bool"
156 assert: false
157 0x01:
158 type: "bool"
159 assert: true
Gunnar Millsa5eb91d2017-10-06 09:44:13 -0500160
161gpu_func_sensor:
162 serviceInterface: xyz.openbmc_project.Inventory.Manager
163 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +0530164 sensorNamePattern: nameLeaf
Gunnar Millsa5eb91d2017-10-06 09:44:13 -0500165 interfaces:
166 xyz.openbmc_project.State.Decorator.OperationalStatus:
167 Functional:
168 Offsets:
169 0x08:
170 type: "bool"
171 assert: false
172 deassert: true
173 Prereqs:
174 0x07:
175 type: "bool"
176 assert: true
177 deassert: false
178 xyz.openbmc_project.Inventory.Item:
179 Present:
180 Offsets:
181 0x07:
182 type: "bool"
183 assert: true
184 deassert: false
Ratan Gupta07838172018-02-16 16:21:09 +0530185# Field replacable doesn't come as a sensor data
186# but we know that GPU is Field replacable so setting
187# true in both cases.
188 xyz.openbmc_project.Inventory.Decorator.Replaceable:
189 FieldReplaceable:
190 Offsets:
191 0x07:
192 type: "bool"
193 assert: true
194 deassert: true
Brandon Wyman29257962017-10-12 17:52:45 -0500195
196host_auto_reboot_control_sensor:
197 path: /xyz/openbmc_project/control/host0/auto_reboot
198 serviceInterface: org.freedesktop.DBus.Properties
199 readingType: assertion
Tom Josephb9983832018-01-24 11:18:34 +0530200 sensorNamePattern: nameLeaf
Brandon Wyman29257962017-10-12 17:52:45 -0500201 interfaces:
202 xyz.openbmc_project.Control.Boot.RebootPolicy:
203 AutoReboot:
204 Offsets:
205 0x00:
206 type: "bool"
207 assert: false
208 0x01:
209 type: "bool"
210 assert: true