Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 1 | boot_count_sensor: |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 2 | path: /xyz/openbmc_project/state/host0 |
| 3 | serviceInterface: org.freedesktop.DBus.Properties |
Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 4 | readingType: readingAssertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 5 | sensorNamePattern: nameProperty |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 6 | interfaces: |
| 7 | xyz.openbmc_project.Control.Boot.RebootAttempts: |
| 8 | AttemptsLeft: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 9 | Offsets: |
| 10 | 0xFF: |
| 11 | type: uint32_t |
Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 12 | |
| 13 | os_boot_sensor: |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 14 | path: /xyz/openbmc_project/state/host0 |
| 15 | serviceInterface: org.freedesktop.DBus.Properties |
| 16 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 17 | sensorNamePattern: nameProperty |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 18 | interfaces: |
| 19 | xyz.openbmc_project.State.OperatingSystem.Status: |
| 20 | OperatingSystemState: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 21 | 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 Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 40 | |
| 41 | fw_boot_sensor: |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 42 | path: /xyz/openbmc_project/state/host0 |
| 43 | serviceInterface: org.freedesktop.DBus.Properties |
| 44 | readingType: eventdata2 |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 45 | sensorNamePattern: nameProperty |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 46 | interfaces: |
| 47 | xyz.openbmc_project.State.Boot.Progress: |
| 48 | BootProgress: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 49 | 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 Subhashchandran | 1177b93 | 2017-10-25 01:22:53 -0500 | [diff] [blame] | 59 | 0x07: |
| 60 | type: string |
| 61 | set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit" |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 62 | 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 Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 68 | |
| 69 | dimm_func_sensor: |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 70 | serviceInterface: xyz.openbmc_project.Inventory.Manager |
| 71 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 72 | sensorNamePattern: nameLeaf |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 73 | interfaces: |
| 74 | xyz.openbmc_project.State.Decorator.OperationalStatus: |
| 75 | Functional: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 76 | 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 Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 86 | xyz.openbmc_project.Inventory.Item: |
| 87 | Present: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 88 | Offsets: |
| 89 | 0x06: |
| 90 | type: "bool" |
| 91 | assert: true |
| 92 | deassert: false |
Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 93 | |
| 94 | cpu_func_sensor: |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 95 | serviceInterface: xyz.openbmc_project.Inventory.Manager |
| 96 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 97 | sensorNamePattern: nameLeaf |
Dhruvaraj Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 98 | interfaces: |
| 99 | xyz.openbmc_project.State.Decorator.OperationalStatus: |
| 100 | Functional: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 101 | 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 Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 111 | xyz.openbmc_project.Inventory.Item: |
| 112 | Present: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 113 | Offsets: |
| 114 | 0x07: |
| 115 | type: "bool" |
| 116 | assert: true |
| 117 | deassert: false |
Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 118 | |
| 119 | cpucore_func_sensor: |
| 120 | serviceInterface: xyz.openbmc_project.Inventory.Manager |
| 121 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 122 | sensorNamePattern: nameParentLeaf |
Deepak Kodihalli | e98824a | 2017-08-13 12:00:36 -0500 | [diff] [blame] | 123 | interfaces: |
| 124 | xyz.openbmc_project.State.Decorator.OperationalStatus: |
| 125 | Functional: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 126 | 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 Subhashchandran | a03c56d | 2017-07-12 06:45:14 -0500 | [diff] [blame] | 136 | xyz.openbmc_project.Inventory.Item: |
| 137 | Present: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 138 | Offsets: |
| 139 | 0x07: |
| 140 | type: "bool" |
| 141 | assert: true |
| 142 | deassert: false |
| 143 | skipOn: "deassert" |
Tom Joseph | 6b06899 | 2017-08-18 12:08:56 +0530 | [diff] [blame] | 144 | |
| 145 | tpm_required_sensor: |
| 146 | path: /xyz/openbmc_project/control/host0/TPMEnable |
| 147 | serviceInterface: org.freedesktop.DBus.Properties |
| 148 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 149 | sensorNamePattern: nameLeaf |
Tom Joseph | 6b06899 | 2017-08-18 12:08:56 +0530 | [diff] [blame] | 150 | interfaces: |
| 151 | xyz.openbmc_project.Control.TPM.Policy: |
| 152 | TPMEnable: |
Dhruvaraj Subhashchandran | ce94263 | 2017-10-02 04:45:27 -0500 | [diff] [blame] | 153 | Offsets: |
| 154 | 0x00: |
| 155 | type: "bool" |
| 156 | assert: false |
| 157 | 0x01: |
| 158 | type: "bool" |
| 159 | assert: true |
Gunnar Mills | a5eb91d | 2017-10-06 09:44:13 -0500 | [diff] [blame] | 160 | |
| 161 | gpu_func_sensor: |
| 162 | serviceInterface: xyz.openbmc_project.Inventory.Manager |
| 163 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 164 | sensorNamePattern: nameLeaf |
Gunnar Mills | a5eb91d | 2017-10-06 09:44:13 -0500 | [diff] [blame] | 165 | 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 Gupta | 0783817 | 2018-02-16 16:21:09 +0530 | [diff] [blame] | 185 | # 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 Wyman | 2925796 | 2017-10-12 17:52:45 -0500 | [diff] [blame] | 195 | |
| 196 | host_auto_reboot_control_sensor: |
| 197 | path: /xyz/openbmc_project/control/host0/auto_reboot |
| 198 | serviceInterface: org.freedesktop.DBus.Properties |
| 199 | readingType: assertion |
Tom Joseph | b998383 | 2018-01-24 11:18:34 +0530 | [diff] [blame] | 200 | sensorNamePattern: nameLeaf |
Brandon Wyman | 2925796 | 2017-10-12 17:52:45 -0500 | [diff] [blame] | 201 | 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 |