Ken Chen | 8506f28 | 2017-04-26 10:52:28 +0800 | [diff] [blame] | 1 | ## System states |
| 2 | ## state can change to next state in 2 ways: |
| 3 | ## - a process emits a GotoSystemState signal with state name to goto |
| 4 | ## - objects specified in EXIT_STATE_DEPEND have started |
| 5 | SYSTEM_STATES = [ |
| 6 | 'BASE_APPS', |
| 7 | 'BMC_STARTING', |
| 8 | 'BMC_READY', |
| 9 | 'HOST_POWERING_ON', |
| 10 | 'HOST_POWERED_ON', |
| 11 | 'HOST_BOOTING', |
| 12 | 'HOST_BOOTED', |
| 13 | 'HOST_POWERED_OFF', |
| 14 | ] |
| 15 | |
| 16 | EXIT_STATE_DEPEND = { |
| 17 | 'BASE_APPS' : { |
| 18 | '/org/openbmc/sensors': 0, |
| 19 | }, |
| 20 | 'BMC_STARTING' : { |
| 21 | '/org/openbmc/control/chassis0': 0, |
| 22 | '/org/openbmc/control/power0' : 0, |
| 23 | '/org/openbmc/control/flash/bios' : 0, |
| 24 | }, |
| 25 | } |
| 26 | |
| 27 | FRU_INSTANCES = { |
| 28 | '<inventory_root>/system' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
| 29 | '<inventory_root>/system/bios' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
| 30 | '<inventory_root>/system/misc' : { 'fru_type' : 'SYSTEM','is_fru' : False, }, |
| 31 | |
| 32 | '<inventory_root>/system/chassis' : { 'fru_type' : 'SYSTEM','is_fru' : True, 'present' : "True" }, |
| 33 | |
| 34 | '<inventory_root>/system/chassis/motherboard' : { 'fru_type' : 'MAIN_PLANAR','is_fru' : True, }, |
| 35 | |
| 36 | '<inventory_root>/system/systemevent' : { 'fru_type' : 'SYSTEM_EVENT', 'is_fru' : False, }, |
| 37 | '<inventory_root>/system/chassis/motherboard/refclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 38 | '<inventory_root>/system/chassis/motherboard/pcieclock': { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 39 | '<inventory_root>/system/chassis/motherboard/todclock' : { 'fru_type' : 'MAIN_PLANAR', 'is_fru' : False, }, |
| 40 | |
| 41 | '<inventory_root>/system/chassis/fan0' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 42 | '<inventory_root>/system/chassis/fan1' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 43 | '<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, }, |
| 44 | |
| 45 | '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, |
| 46 | |
| 47 | '<inventory_root>/system/chassis/motherboard/cpu0' : { 'fru_type' : 'CPU', 'is_fru' : True, }, |
| 48 | '<inventory_root>/system/chassis/motherboard/cpu1' : { 'fru_type' : 'CPU', 'is_fru' : True, }, |
| 49 | |
| 50 | '<inventory_root>/system/chassis/motherboard/cpu0/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 51 | '<inventory_root>/system/chassis/motherboard/cpu0/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 52 | '<inventory_root>/system/chassis/motherboard/cpu0/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 53 | '<inventory_root>/system/chassis/motherboard/cpu0/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 54 | '<inventory_root>/system/chassis/motherboard/cpu0/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 55 | '<inventory_root>/system/chassis/motherboard/cpu0/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 56 | '<inventory_root>/system/chassis/motherboard/cpu0/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 57 | '<inventory_root>/system/chassis/motherboard/cpu0/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 58 | '<inventory_root>/system/chassis/motherboard/cpu0/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 59 | '<inventory_root>/system/chassis/motherboard/cpu0/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 60 | '<inventory_root>/system/chassis/motherboard/cpu0/core10': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 61 | '<inventory_root>/system/chassis/motherboard/cpu0/core11': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 62 | '<inventory_root>/system/chassis/motherboard/cpu0/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 63 | '<inventory_root>/system/chassis/motherboard/cpu0/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 64 | '<inventory_root>/system/chassis/motherboard/cpu0/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 65 | '<inventory_root>/system/chassis/motherboard/cpu0/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 66 | '<inventory_root>/system/chassis/motherboard/cpu0/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 67 | '<inventory_root>/system/chassis/motherboard/cpu0/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 68 | '<inventory_root>/system/chassis/motherboard/cpu0/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 69 | '<inventory_root>/system/chassis/motherboard/cpu0/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 70 | '<inventory_root>/system/chassis/motherboard/cpu0/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 71 | '<inventory_root>/system/chassis/motherboard/cpu0/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 72 | '<inventory_root>/system/chassis/motherboard/cpu0/core22': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 73 | '<inventory_root>/system/chassis/motherboard/cpu0/core23': { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 74 | |
| 75 | '<inventory_root>/system/chassis/motherboard/cpu1/core0' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 76 | '<inventory_root>/system/chassis/motherboard/cpu1/core1' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 77 | '<inventory_root>/system/chassis/motherboard/cpu1/core2' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 78 | '<inventory_root>/system/chassis/motherboard/cpu1/core3' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 79 | '<inventory_root>/system/chassis/motherboard/cpu1/core4' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 80 | '<inventory_root>/system/chassis/motherboard/cpu1/core5' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 81 | '<inventory_root>/system/chassis/motherboard/cpu1/core6' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 82 | '<inventory_root>/system/chassis/motherboard/cpu1/core7' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 83 | '<inventory_root>/system/chassis/motherboard/cpu1/core8' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 84 | '<inventory_root>/system/chassis/motherboard/cpu1/core9' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 85 | '<inventory_root>/system/chassis/motherboard/cpu1/core10' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 86 | '<inventory_root>/system/chassis/motherboard/cpu1/core11' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 87 | '<inventory_root>/system/chassis/motherboard/cpu1/core12' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 88 | '<inventory_root>/system/chassis/motherboard/cpu1/core13' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 89 | '<inventory_root>/system/chassis/motherboard/cpu1/core14' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 90 | '<inventory_root>/system/chassis/motherboard/cpu1/core15' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 91 | '<inventory_root>/system/chassis/motherboard/cpu1/core16' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 92 | '<inventory_root>/system/chassis/motherboard/cpu1/core17' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 93 | '<inventory_root>/system/chassis/motherboard/cpu1/core18' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 94 | '<inventory_root>/system/chassis/motherboard/cpu1/core19' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 95 | '<inventory_root>/system/chassis/motherboard/cpu1/core20' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 96 | '<inventory_root>/system/chassis/motherboard/cpu1/core21' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 97 | '<inventory_root>/system/chassis/motherboard/cpu1/core22' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 98 | '<inventory_root>/system/chassis/motherboard/cpu1/core23' : { 'fru_type' : 'CORE', 'is_fru' : False, }, |
| 99 | |
| 100 | '<inventory_root>/system/chassis/motherboard/dimm0' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 101 | '<inventory_root>/system/chassis/motherboard/dimm1' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 102 | '<inventory_root>/system/chassis/motherboard/dimm2' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 103 | '<inventory_root>/system/chassis/motherboard/dimm3' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 104 | '<inventory_root>/system/chassis/motherboard/dimm4' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 105 | '<inventory_root>/system/chassis/motherboard/dimm5' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 106 | '<inventory_root>/system/chassis/motherboard/dimm6' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 107 | '<inventory_root>/system/chassis/motherboard/dimm7' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 108 | '<inventory_root>/system/chassis/motherboard/dimm8' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 109 | '<inventory_root>/system/chassis/motherboard/dimm9' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 110 | '<inventory_root>/system/chassis/motherboard/dimm10' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 111 | '<inventory_root>/system/chassis/motherboard/dimm11' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 112 | '<inventory_root>/system/chassis/motherboard/dimm12' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 113 | '<inventory_root>/system/chassis/motherboard/dimm13' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 114 | '<inventory_root>/system/chassis/motherboard/dimm14' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 115 | '<inventory_root>/system/chassis/motherboard/dimm15' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 116 | '<inventory_root>/system/chassis/motherboard/dimm16' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 117 | '<inventory_root>/system/chassis/motherboard/dimm17' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 118 | '<inventory_root>/system/chassis/motherboard/dimm18' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 119 | '<inventory_root>/system/chassis/motherboard/dimm19' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 120 | '<inventory_root>/system/chassis/motherboard/dimm20' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 121 | '<inventory_root>/system/chassis/motherboard/dimm21' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 122 | '<inventory_root>/system/chassis/motherboard/dimm22' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 123 | '<inventory_root>/system/chassis/motherboard/dimm23' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 124 | '<inventory_root>/system/chassis/motherboard/dimm24' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 125 | '<inventory_root>/system/chassis/motherboard/dimm25' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 126 | '<inventory_root>/system/chassis/motherboard/dimm26' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 127 | '<inventory_root>/system/chassis/motherboard/dimm27' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 128 | '<inventory_root>/system/chassis/motherboard/dimm28' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 129 | '<inventory_root>/system/chassis/motherboard/dimm29' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 130 | '<inventory_root>/system/chassis/motherboard/dimm30' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 131 | '<inventory_root>/system/chassis/motherboard/dimm31' : { 'fru_type' : 'DIMM', 'is_fru' : True,}, |
| 132 | } |
| 133 | |
| 134 | ID_LOOKUP = { |
| 135 | 'FRU' : { |
| 136 | 0x01 : '<inventory_root>/system/chassis/motherboard/cpu0', |
| 137 | 0x02 : '<inventory_root>/system/chassis/motherboard/cpu1', |
| 138 | 0x03 : '<inventory_root>/system/chassis/motherboard', |
| 139 | 0x04 : '<inventory_root>/system/chassis/motherboard/membuf0', |
| 140 | 0x05 : '<inventory_root>/system/chassis/motherboard/membuf1', |
| 141 | 0x06 : '<inventory_root>/system/chassis/motherboard/membuf2', |
| 142 | 0x07 : '<inventory_root>/system/chassis/motherboard/membuf3', |
| 143 | 0x08 : '<inventory_root>/system/chassis/motherboard/membuf4', |
| 144 | 0x09 : '<inventory_root>/system/chassis/motherboard/membuf5', |
| 145 | 0x0c : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 146 | 0x0d : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 147 | 0x0e : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 148 | 0x0f : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 149 | 0x10 : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 150 | 0x11 : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 151 | 0x12 : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 152 | 0x13 : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 153 | 0x14 : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 154 | 0x15 : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 155 | 0x16 : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 156 | 0x17 : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 157 | 0x18 : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 158 | 0x19 : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 159 | 0x1a : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 160 | 0x1b : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 161 | 0x1c : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 162 | 0x1d : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 163 | 0x1e : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 164 | 0x1f : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 165 | 0x20 : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 166 | 0x21 : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 167 | 0x22 : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 168 | 0x23 : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 169 | 0x24 : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 170 | 0x25 : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 171 | 0x26 : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 172 | 0x27 : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 173 | 0x28 : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 174 | 0x29 : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 175 | 0x2a : '<inventory_root>/system/chassis/motherboard/dimm30', |
| 176 | 0x2b : '<inventory_root>/system/chassis/motherboard/dimm31', |
| 177 | }, |
| 178 | 'FRU_STR' : { |
| 179 | 'PRODUCT_0' : '<inventory_root>/system/bios', |
| 180 | 'BOARD_1' : '<inventory_root>/system/chassis/motherboard/cpu0', |
| 181 | 'BOARD_2' : '<inventory_root>/system/chassis/motherboard/cpu1', |
| 182 | 'CHASSIS_3' : '<inventory_root>/system/chassis/motherboard', |
| 183 | 'BOARD_3' : '<inventory_root>/system/misc', |
| 184 | 'PRODUCT_12' : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 185 | 'PRODUCT_13' : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 186 | 'PRODUCT_14' : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 187 | 'PRODUCT_15' : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 188 | 'PRODUCT_16' : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 189 | 'PRODUCT_17' : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 190 | 'PRODUCT_18' : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 191 | 'PRODUCT_19' : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 192 | 'PRODUCT_20' : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 193 | 'PRODUCT_21' : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 194 | 'PRODUCT_22' : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 195 | 'PRODUCT_23' : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 196 | 'PRODUCT_24' : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 197 | 'PRODUCT_25' : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 198 | 'PRODUCT_26' : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 199 | 'PRODUCT_27' : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 200 | 'PRODUCT_28' : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 201 | 'PRODUCT_29' : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 202 | 'PRODUCT_30' : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 203 | 'PRODUCT_31' : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 204 | 'PRODUCT_32' : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 205 | 'PRODUCT_33' : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 206 | 'PRODUCT_34' : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 207 | 'PRODUCT_35' : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 208 | 'PRODUCT_36' : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 209 | 'PRODUCT_37' : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 210 | 'PRODUCT_38' : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 211 | 'PRODUCT_39' : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 212 | 'PRODUCT_40' : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 213 | 'PRODUCT_41' : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 214 | 'PRODUCT_42' : '<inventory_root>/system/chassis/motherboard/dimm30', |
| 215 | 'PRODUCT_43' : '<inventory_root>/system/chassis/motherboard/dimm31', |
| 216 | 'PRODUCT_47' : '<inventory_root>/system/misc', |
| 217 | }, |
| 218 | 'SENSOR' : { |
| 219 | 0x02 : '/org/openbmc/sensors/host/HostStatus', |
| 220 | 0x03 : '/org/openbmc/sensors/host/BootProgress', |
| 221 | 0x21 : '<inventory_root>/system/chassis/motherboard/cpu0', |
| 222 | 0x71 : '<inventory_root>/system/chassis/motherboard/cpu1', |
| 223 | 0xc7 : '<inventory_root>/system/chassis/motherboard/dimm3', |
| 224 | 0xc5 : '<inventory_root>/system/chassis/motherboard/dimm2', |
| 225 | 0xc3 : '<inventory_root>/system/chassis/motherboard/dimm1', |
| 226 | 0xc1 : '<inventory_root>/system/chassis/motherboard/dimm0', |
| 227 | 0xcf : '<inventory_root>/system/chassis/motherboard/dimm7', |
| 228 | 0xcd : '<inventory_root>/system/chassis/motherboard/dimm6', |
| 229 | 0xcb : '<inventory_root>/system/chassis/motherboard/dimm5', |
| 230 | 0xc9 : '<inventory_root>/system/chassis/motherboard/dimm4', |
| 231 | 0xd7 : '<inventory_root>/system/chassis/motherboard/dimm11', |
| 232 | 0xd5 : '<inventory_root>/system/chassis/motherboard/dimm10', |
| 233 | 0xd3 : '<inventory_root>/system/chassis/motherboard/dimm9', |
| 234 | 0xd1 : '<inventory_root>/system/chassis/motherboard/dimm8', |
| 235 | 0xdf : '<inventory_root>/system/chassis/motherboard/dimm15', |
| 236 | 0xdd : '<inventory_root>/system/chassis/motherboard/dimm14', |
| 237 | 0xdb : '<inventory_root>/system/chassis/motherboard/dimm13', |
| 238 | 0xd9 : '<inventory_root>/system/chassis/motherboard/dimm12', |
| 239 | 0xe7 : '<inventory_root>/system/chassis/motherboard/dimm19', |
| 240 | 0xe5 : '<inventory_root>/system/chassis/motherboard/dimm18', |
| 241 | 0xe3 : '<inventory_root>/system/chassis/motherboard/dimm17', |
| 242 | 0xe1 : '<inventory_root>/system/chassis/motherboard/dimm16', |
| 243 | 0xef : '<inventory_root>/system/chassis/motherboard/dimm23', |
| 244 | 0xed : '<inventory_root>/system/chassis/motherboard/dimm22', |
| 245 | 0xeb : '<inventory_root>/system/chassis/motherboard/dimm21', |
| 246 | 0xe9 : '<inventory_root>/system/chassis/motherboard/dimm20', |
| 247 | 0xf7 : '<inventory_root>/system/chassis/motherboard/dimm27', |
| 248 | 0xf5 : '<inventory_root>/system/chassis/motherboard/dimm26', |
| 249 | 0xf3 : '<inventory_root>/system/chassis/motherboard/dimm25', |
| 250 | 0xf1 : '<inventory_root>/system/chassis/motherboard/dimm24', |
| 251 | 0xff : '<inventory_root>/system/chassis/motherboard/dimm31', |
| 252 | 0xfd : '<inventory_root>/system/chassis/motherboard/dimm30', |
| 253 | 0xfb : '<inventory_root>/system/chassis/motherboard/dimm29', |
| 254 | 0xf9 : '<inventory_root>/system/chassis/motherboard/dimm28', |
| 255 | 0x23 : '<inventory_root>/system/chassis/motherboard/cpu0/core0', |
| 256 | 0x26 : '<inventory_root>/system/chassis/motherboard/cpu0/core1', |
| 257 | 0x29 : '<inventory_root>/system/chassis/motherboard/cpu0/core2', |
| 258 | 0x2c : '<inventory_root>/system/chassis/motherboard/cpu0/core3', |
| 259 | 0x2f : '<inventory_root>/system/chassis/motherboard/cpu0/core4', |
| 260 | 0x32 : '<inventory_root>/system/chassis/motherboard/cpu0/core5', |
| 261 | 0x35 : '<inventory_root>/system/chassis/motherboard/cpu0/core6', |
| 262 | 0x38 : '<inventory_root>/system/chassis/motherboard/cpu0/core7', |
| 263 | 0x3b : '<inventory_root>/system/chassis/motherboard/cpu0/core8', |
| 264 | 0x3e : '<inventory_root>/system/chassis/motherboard/cpu0/core9', |
| 265 | 0x41 : '<inventory_root>/system/chassis/motherboard/cpu0/core10', |
| 266 | 0x44 : '<inventory_root>/system/chassis/motherboard/cpu0/core11', |
| 267 | 0x47 : '<inventory_root>/system/chassis/motherboard/cpu0/core12', |
| 268 | 0x4a : '<inventory_root>/system/chassis/motherboard/cpu0/core13', |
| 269 | 0x4d : '<inventory_root>/system/chassis/motherboard/cpu0/core14', |
| 270 | 0x50 : '<inventory_root>/system/chassis/motherboard/cpu0/core15', |
| 271 | 0x53 : '<inventory_root>/system/chassis/motherboard/cpu0/core16', |
| 272 | 0x56 : '<inventory_root>/system/chassis/motherboard/cpu0/core17', |
| 273 | 0x59 : '<inventory_root>/system/chassis/motherboard/cpu0/core18', |
| 274 | 0x5c : '<inventory_root>/system/chassis/motherboard/cpu0/core19', |
| 275 | 0x5f : '<inventory_root>/system/chassis/motherboard/cpu0/core20', |
| 276 | 0x62 : '<inventory_root>/system/chassis/motherboard/cpu0/core21', |
| 277 | 0x65 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', |
| 278 | 0x68 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', |
| 279 | 0x73 : '<inventory_root>/system/chassis/motherboard/cpu1/core0', |
| 280 | 0x76 : '<inventory_root>/system/chassis/motherboard/cpu1/core1', |
| 281 | 0x79 : '<inventory_root>/system/chassis/motherboard/cpu1/core2', |
| 282 | 0x7c : '<inventory_root>/system/chassis/motherboard/cpu1/core3', |
| 283 | 0x7f : '<inventory_root>/system/chassis/motherboard/cpu1/core4', |
| 284 | 0x82 : '<inventory_root>/system/chassis/motherboard/cpu1/core5', |
| 285 | 0x85 : '<inventory_root>/system/chassis/motherboard/cpu1/core6', |
| 286 | 0x88 : '<inventory_root>/system/chassis/motherboard/cpu1/core7', |
| 287 | 0x8b : '<inventory_root>/system/chassis/motherboard/cpu1/core8', |
| 288 | 0x8e : '<inventory_root>/system/chassis/motherboard/cpu1/core9', |
| 289 | 0x91 : '<inventory_root>/system/chassis/motherboard/cpu1/core10', |
| 290 | 0x94 : '<inventory_root>/system/chassis/motherboard/cpu1/core11', |
| 291 | 0x97 : '<inventory_root>/system/chassis/motherboard/cpu1/core12', |
| 292 | 0x9a : '<inventory_root>/system/chassis/motherboard/cpu1/core13', |
| 293 | 0x9d : '<inventory_root>/system/chassis/motherboard/cpu1/core14', |
| 294 | 0xa0 : '<inventory_root>/system/chassis/motherboard/cpu1/core15', |
| 295 | 0xa3 : '<inventory_root>/system/chassis/motherboard/cpu1/core16', |
| 296 | 0xa6 : '<inventory_root>/system/chassis/motherboard/cpu1/core17', |
| 297 | 0xa9 : '<inventory_root>/system/chassis/motherboard/cpu1/core18', |
| 298 | 0xac : '<inventory_root>/system/chassis/motherboard/cpu1/core19', |
| 299 | 0xaf : '<inventory_root>/system/chassis/motherboard/cpu1/core20', |
| 300 | 0xb2 : '<inventory_root>/system/chassis/motherboard/cpu1/core21', |
| 301 | 0xb5 : '<inventory_root>/system/chassis/motherboard/cpu1/core22', |
| 302 | 0xb8 : '<inventory_root>/system/chassis/motherboard/cpu1/core23', |
| 303 | 0x07 : '/org/openbmc/sensors/host/BootCount', |
| 304 | 0x10 : '<inventory_root>/system/chassis/motherboard', |
| 305 | 0x01 : '<inventory_root>/system/systemevent', |
| 306 | 0x11 : '<inventory_root>/system/chassis/motherboard/refclock', |
| 307 | 0x12 : '<inventory_root>/system/chassis/motherboard/pcieclock', |
| 308 | 0x13 : '<inventory_root>/system/chassis/motherboard/todclock', |
| 309 | 0x02 : '/org/openbmc/sensors/host/OperatingSystemStatus', |
| 310 | 0x04 : '<inventory_root>/system/chassis/motherboard/pcielink', |
| 311 | }, |
| 312 | 'GPIO_PRESENT' : {} |
| 313 | } |
| 314 | |
Ken Chen | 8506f28 | 2017-04-26 10:52:28 +0800 | [diff] [blame] | 315 | # Miscellaneous non-poll sensor with system specific properties. |
| 316 | # The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. |
| 317 | MISC_SENSORS = { |
Ken Chen | 8506f28 | 2017-04-26 10:52:28 +0800 | [diff] [blame] | 318 | } |
| 319 | |
| 320 | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |