James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "exposes": [ |
| 4 | { |
| 5 | "address": "0x48", |
| 6 | "bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 7 | "Name": "Riser1 Temp", |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 8 | "thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 9 | { |
| 10 | "direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 11 | "Name": "upper critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 12 | "severity": 1, |
| 13 | "value": 80 |
| 14 | }, |
| 15 | { |
| 16 | "direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 17 | "Name": "upper non critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 18 | "severity": 0, |
| 19 | "value": 75 |
| 20 | }, |
| 21 | { |
| 22 | "direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 23 | "Name": "lower non critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 24 | "severity": 0, |
| 25 | "value": 5 |
| 26 | }, |
| 27 | { |
| 28 | "direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 29 | "Name": "lower critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 30 | "severity": 1, |
| 31 | "value": 0 |
| 32 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 33 | ], |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 34 | "Type": "TMP75" |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 35 | }, |
| 36 | { |
| 37 | "address": "$address", |
| 38 | "bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 39 | "Name": "Riser 1 Fru", |
| 40 | "Type": "IntelFruDevice" |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 41 | } |
| 42 | ], |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 43 | "Name": "2U12x35 Riser1", |
James Feist | 13b86d6 | 2018-05-29 11:24:35 -0700 | [diff] [blame] | 44 | "probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : 80})", |
James Feist | 11be667 | 2018-04-06 14:05:32 -0700 | [diff] [blame] | 45 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 46 | "Manufacturer": "$BOARD_MANUFACTURER", |
| 47 | "Model": "$BOARD_PRODUCT_NAME", |
| 48 | "PartNumber": "$BOARD_PART_NUMBER", |
| 49 | "SerialNumber": "$BOARD_SERIAL_NUMBER" |
| 50 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 51 | }, |
| 52 | { |
| 53 | "exposes": [ |
| 54 | { |
| 55 | "address": "0x49", |
| 56 | "bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 57 | "Name": "Riser2 Temp", |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 58 | "thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 59 | { |
| 60 | "direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 61 | "Name": "upper critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 62 | "severity": 1, |
| 63 | "value": 80 |
| 64 | }, |
| 65 | { |
| 66 | "direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 67 | "Name": "upper non critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 68 | "severity": 0, |
| 69 | "value": 75 |
| 70 | }, |
| 71 | { |
| 72 | "direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 73 | "Name": "lower non critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 74 | "severity": 0, |
| 75 | "value": 5 |
| 76 | }, |
| 77 | { |
| 78 | "direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 79 | "Name": "lower critical", |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 80 | "severity": 1, |
| 81 | "value": 0 |
| 82 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 83 | ], |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 84 | "Type": "TMP75" |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 85 | }, |
| 86 | { |
| 87 | "address": "$address", |
| 88 | "bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 89 | "Name": "Riser 2 Fru", |
| 90 | "Type": "IntelFruDevice" |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 91 | } |
| 92 | ], |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 93 | "Name": "2U12x35 Riser2", |
James Feist | 13b86d6 | 2018-05-29 11:24:35 -0700 | [diff] [blame] | 94 | "probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d', 'ADDRESS' : 81})", |
James Feist | 11be667 | 2018-04-06 14:05:32 -0700 | [diff] [blame] | 95 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 96 | "Manufacturer": "$BOARD_MANUFACTURER", |
| 97 | "Model": "$BOARD_PRODUCT_NAME", |
| 98 | "PartNumber": "$BOARD_PART_NUMBER", |
| 99 | "SerialNumber": "$BOARD_SERIAL_NUMBER" |
| 100 | } |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 101 | } |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 102 | ] |