Alexander Hansen | 719432e | 2023-08-01 17:28:59 +0200 | [diff] [blame] | 1 | { |
| 2 | "Exposes": [ |
| 3 | { |
| 4 | "Address": "$address", |
| 5 | "Bus": "$bus", |
| 6 | "Name": "PSU$ADDRESS % 4 + 1 FRU", |
| 7 | "Type": "EEPROM" |
| 8 | }, |
| 9 | { |
| 10 | "Address": "$address", |
| 11 | "Bus": "$bus", |
| 12 | "Name": "PSU$address % 4 + 1 ADDR", |
| 13 | "Type": "PSUPresence" |
| 14 | }, |
| 15 | { |
| 16 | "Address": "$ADDRESS - 24", |
| 17 | "Bus": "$bus", |
| 18 | "Labels": [ |
| 19 | "temp1", |
| 20 | "pin", |
| 21 | "iin", |
| 22 | "vin", |
| 23 | "fan1", |
| 24 | "pout1" |
| 25 | ], |
| 26 | "Name": "PSU$ADDRESS % 4 + 1", |
| 27 | "Thresholds": [ |
| 28 | { |
| 29 | "Direction": "greater than", |
| 30 | "Label": "pin", |
| 31 | "Name": "upper critical", |
| 32 | "Severity": 1, |
| 33 | "Value": 1200 |
| 34 | }, |
| 35 | { |
| 36 | "Direction": "greater than", |
| 37 | "Label": "pout1", |
| 38 | "Name": "upper critical", |
| 39 | "Severity": 1, |
| 40 | "Value": 1200 |
| 41 | }, |
| 42 | { |
| 43 | "Direction": "less than", |
| 44 | "Label": "vin", |
| 45 | "Name": "lower critical", |
| 46 | "Severity": 1, |
| 47 | "Value": 90 |
| 48 | }, |
| 49 | { |
| 50 | "Direction": "greater than", |
| 51 | "Label": "vin", |
| 52 | "Name": "upper critical", |
| 53 | "Severity": 1, |
| 54 | "Value": 264 |
| 55 | }, |
| 56 | { |
| 57 | "Direction": "greater than", |
| 58 | "Label": "iin", |
| 59 | "Name": "upper critical", |
| 60 | "Severity": 1, |
| 61 | "Value": 8 |
| 62 | }, |
| 63 | { |
| 64 | "Direction": "less than", |
| 65 | "Label": "temp1", |
| 66 | "Name": "lower critical", |
| 67 | "Severity": 1, |
| 68 | "Value": 0 |
| 69 | }, |
| 70 | { |
| 71 | "Direction": "greater than", |
| 72 | "Label": "temp1", |
| 73 | "Name": "upper critical", |
| 74 | "Severity": 1, |
| 75 | "Value": 100 |
| 76 | }, |
| 77 | { |
| 78 | "Direction": "greater than", |
| 79 | "Label": "fan1", |
| 80 | "Name": "upper critical", |
| 81 | "Severity": 1, |
| 82 | "Value": 10000 |
| 83 | } |
| 84 | ], |
| 85 | "Type": "cffps" |
| 86 | } |
| 87 | ], |
| 88 | "Name": "ACBEL RICA PSU$ADDRESS % 4 + 1", |
| 89 | "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'R1CA2122A*'})", |
| 90 | "Type": "PowerSupply", |
| 91 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 92 | "Manufacturer": "$PRODUCT_MANUFACTURER", |
| 93 | "Model": "$PRODUCT_PRODUCT_NAME", |
| 94 | "PartNumber": "$PRODUCT_PART_NUMBER", |
| 95 | "SerialNumber": "$PRODUCT_SERIAL_NUMBER" |
| 96 | }, |
| 97 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
| 98 | "AssetTag": "$PRODUCT_ASSET_TAG" |
| 99 | } |
| 100 | } |