James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 1 | [ |
| 2 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 3 | "Exposes": [ |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 4 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 5 | "Address": "0x48", |
| 6 | "Bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 7 | "Name": "Riser1 Temp", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 8 | "Thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 9 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 10 | "Direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 11 | "Name": "upper critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 12 | "Severity": 1, |
| 13 | "Value": 80 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 14 | }, |
| 15 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 16 | "Direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 17 | "Name": "upper non critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 18 | "Severity": 0, |
| 19 | "Value": 75 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 20 | }, |
| 21 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 22 | "Direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 23 | "Name": "lower non critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 24 | "Severity": 0, |
| 25 | "Value": 5 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 26 | }, |
| 27 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 28 | "Direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 29 | "Name": "lower critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 30 | "Severity": 1, |
| 31 | "Value": 0 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 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 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 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 | 1e3e698 | 2018-08-03 16:09:28 -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 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 53 | "Exposes": [ |
James Feist | 3cb5fec | 2018-01-23 14:41:51 -0800 | [diff] [blame] | 54 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 55 | "Address": "0x49", |
| 56 | "Bus": "$bus", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 57 | "Name": "Riser2 Temp", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 58 | "Thresholds": [ |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 59 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 60 | "Direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 61 | "Name": "upper critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 62 | "Severity": 1, |
| 63 | "Value": 80 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 64 | }, |
| 65 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 66 | "Direction": "greater than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 67 | "Name": "upper non critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 68 | "Severity": 0, |
| 69 | "Value": 75 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 70 | }, |
| 71 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 72 | "Direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 73 | "Name": "lower non critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 74 | "Severity": 0, |
| 75 | "Value": 5 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 76 | }, |
| 77 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 78 | "Direction": "less than", |
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame] | 79 | "Name": "lower critical", |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 80 | "Severity": 1, |
| 81 | "Value": 0 |
James Feist | 1b2e224 | 2018-01-30 13:45:19 -0800 | [diff] [blame] | 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 | { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame^] | 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 | 1e3e698 | 2018-08-03 16:09:28 -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 | ] |