James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "exposes": [ |
| 4 | { |
| 5 | "address": "0x48", |
| 6 | "bus": "$bus", |
| 7 | "name": "Riser1 Temp", |
| 8 | "thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame^] | 9 | { |
| 10 | "direction": "greater than", |
| 11 | "name": "upper critical", |
| 12 | "severity": 1, |
| 13 | "value": 80 |
| 14 | }, |
| 15 | { |
| 16 | "direction": "greater than", |
| 17 | "name": "upper non critical", |
| 18 | "severity": 0, |
| 19 | "value": 75 |
| 20 | }, |
| 21 | { |
| 22 | "direction": "less than", |
| 23 | "name": "lower non critical", |
| 24 | "severity": 0, |
| 25 | "value": 5 |
| 26 | }, |
| 27 | { |
| 28 | "direction": "less than", |
| 29 | "name": "lower critical", |
| 30 | "severity": 1, |
| 31 | "value": 0 |
| 32 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 33 | ], |
| 34 | "type": "TMP75" |
| 35 | }, |
| 36 | { |
| 37 | "address": "$address", |
| 38 | "bus": "$bus", |
| 39 | "name": "Riser 1 Fru", |
| 40 | "type": "IntelFruDevice" |
| 41 | } |
| 42 | ], |
| 43 | "name": "2U12x35 Riser1", |
| 44 | "probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : '0x50'})" |
| 45 | }, |
| 46 | { |
| 47 | "exposes": [ |
| 48 | { |
| 49 | "address": "0x49", |
| 50 | "bus": "$bus", |
| 51 | "name": "Riser2 Temp", |
| 52 | "thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame^] | 53 | { |
| 54 | "direction": "greater than", |
| 55 | "name": "upper critical", |
| 56 | "severity": 1, |
| 57 | "value": 80 |
| 58 | }, |
| 59 | { |
| 60 | "direction": "greater than", |
| 61 | "name": "upper non critical", |
| 62 | "severity": 0, |
| 63 | "value": 75 |
| 64 | }, |
| 65 | { |
| 66 | "direction": "less than", |
| 67 | "name": "lower non critical", |
| 68 | "severity": 0, |
| 69 | "value": 5 |
| 70 | }, |
| 71 | { |
| 72 | "direction": "less than", |
| 73 | "name": "lower critical", |
| 74 | "severity": 1, |
| 75 | "value": 0 |
| 76 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 77 | ], |
| 78 | "type": "TMP75" |
| 79 | }, |
| 80 | { |
| 81 | "address": "$address", |
| 82 | "bus": "$bus", |
| 83 | "name": "Riser 2 Fru", |
| 84 | "type": "IntelFruDevice" |
| 85 | } |
| 86 | ], |
| 87 | "name": "2U12x35 Riser2", |
| 88 | "probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : '0x51'})" |
| 89 | } |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame^] | 90 | ] |