James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 1 | { |
| 2 | "exposes": [ |
| 3 | { |
| 4 | "address": "$address", |
| 5 | "bus": "$bus", |
| 6 | "name": "Front Panel FRU", |
| 7 | "type": "IntelFruDevice" |
| 8 | }, |
| 9 | { |
| 10 | "address": "0x4D", |
| 11 | "bus": "$bus", |
| 12 | "name": "Front Panel Temp", |
| 13 | "thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 14 | { |
| 15 | "direction": "greater than", |
| 16 | "name": "upper critical", |
| 17 | "severity": 1, |
| 18 | "value": 55 |
| 19 | }, |
| 20 | { |
| 21 | "direction": "greater than", |
| 22 | "name": "upper non critical", |
| 23 | "severity": 0, |
| 24 | "value": 50 |
| 25 | }, |
| 26 | { |
| 27 | "direction": "less than", |
| 28 | "name": "lower non critical", |
| 29 | "severity": 0, |
| 30 | "value": 5 |
| 31 | }, |
| 32 | { |
| 33 | "direction": "less than", |
| 34 | "name": "lower critical", |
| 35 | "severity": 1, |
| 36 | "value": 0 |
| 37 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 38 | ], |
| 39 | "type": "TMP75" |
| 40 | } |
| 41 | ], |
Ed Tanous | 3383273 | 2018-03-14 16:09:14 -0700 | [diff] [blame] | 42 | "manufacturer": "$BOARD_MANUFACTURER", |
| 43 | "model": "$BOARD_PRODUCT_NAME", |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 44 | "name": "Intel Front Panel", |
Ed Tanous | 3383273 | 2018-03-14 16:09:14 -0700 | [diff] [blame] | 45 | "part_number": "$BOARD_PART_NUMBER", |
| 46 | "serial_number": "$BOARD_SERIAL_NUMBER", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 47 | "probe": [ |
| 48 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'FFPANEL'})", |
| 49 | "OR", |
| 50 | "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'F2USTOPANEL'})" |
| 51 | ] |
| 52 | } |