Marvin Drees | ac7bae3 | 2023-05-10 09:30:35 +0200 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "Exposes": [ |
| 4 | { |
| 5 | "Address": "$address", |
| 6 | "Bus": "$bus", |
| 7 | "Name": "PSU$address % 4 FRU", |
| 8 | "Type": "EEPROM" |
| 9 | }, |
| 10 | { |
| 11 | "Address": "$address", |
| 12 | "Bus": "$bus", |
| 13 | "Name": "PSU$address % 4 ADDR", |
| 14 | "Type": "PSUPresence" |
| 15 | }, |
| 16 | { |
| 17 | "Address": "$address + 4", |
| 18 | "Bus": "$bus", |
| 19 | "Labels": [ |
| 20 | "pin", |
| 21 | "pout1", |
| 22 | "vin", |
| 23 | "vout1", |
| 24 | "iin", |
| 25 | "iout1", |
| 26 | "temp1", |
| 27 | "fan1" |
| 28 | ], |
| 29 | "Name": "PSU$address % 4", |
| 30 | "Thresholds": [ |
| 31 | { |
| 32 | "Direction": "greater than", |
| 33 | "Label": "pin", |
| 34 | "Name": "upper critical", |
| 35 | "Severity": 1, |
| 36 | "Value": 920 |
| 37 | }, |
| 38 | { |
| 39 | "Direction": "greater than", |
| 40 | "Label": "pout1", |
| 41 | "Name": "upper critical", |
| 42 | "Severity": 1, |
| 43 | "Value": 920 |
| 44 | }, |
| 45 | { |
| 46 | "Direction": "less than", |
| 47 | "Label": "vin", |
| 48 | "Name": "lower critical", |
| 49 | "Severity": 1, |
| 50 | "Value": 90 |
| 51 | }, |
| 52 | { |
| 53 | "Direction": "greater than", |
| 54 | "Label": "vin", |
| 55 | "Name": "upper critical", |
| 56 | "Severity": 1, |
| 57 | "Value": 250 |
| 58 | }, |
| 59 | { |
| 60 | "Direction": "greater than", |
| 61 | "Label": "vout1", |
| 62 | "Name": "upper critical", |
| 63 | "Severity": 1, |
| 64 | "Value": 13 |
| 65 | }, |
| 66 | { |
| 67 | "Direction": "greater than", |
| 68 | "Label": "iin", |
| 69 | "Name": "upper critical", |
| 70 | "Severity": 1, |
| 71 | "Value": 13 |
| 72 | }, |
| 73 | { |
| 74 | "Direction": "greater than", |
| 75 | "Label": "iout1", |
| 76 | "Name": "upper critical", |
| 77 | "Severity": 1, |
| 78 | "Value": 80 |
| 79 | }, |
| 80 | { |
| 81 | "Direction": "less than", |
| 82 | "Label": "temp1", |
| 83 | "Name": "lower critical", |
| 84 | "Severity": 1, |
| 85 | "Value": 0 |
| 86 | }, |
| 87 | { |
| 88 | "Direction": "greater than", |
| 89 | "Label": "temp1", |
| 90 | "Name": "upper critical", |
| 91 | "Severity": 1, |
| 92 | "Value": 100 |
| 93 | }, |
| 94 | { |
| 95 | "Direction": "less than", |
| 96 | "Label": "fan1", |
| 97 | "Name": "lower critical", |
| 98 | "Severity": 1, |
| 99 | "Value": 100 |
| 100 | }, |
| 101 | { |
| 102 | "Direction": "greater than", |
| 103 | "Label": "fan1", |
| 104 | "Name": "upper critical", |
| 105 | "Severity": 1, |
| 106 | "Value": 9000 |
| 107 | } |
| 108 | ], |
| 109 | "Type": "pmbus" |
| 110 | } |
| 111 | ], |
| 112 | "Name": "Supermicro PWS 920P SQ $address % 4", |
| 113 | "Probe": [ |
| 114 | "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'PWS-920P-SQ'})" |
| 115 | ], |
| 116 | "Type": "PowerSupply", |
| 117 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 118 | "Manufacturer": "$PRODUCT_MANUFACTURER", |
| 119 | "Model": "$PRODUCT_PRODUCT_NAME", |
| 120 | "PartNumber": "$PRODUCT_PART_NUMBER", |
| 121 | "SerialNumber": "$PRODUCT_SERIAL_NUMBER" |
| 122 | }, |
| 123 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
| 124 | "AssetTag": "$PRODUCT_ASSET_TAG" |
| 125 | } |
| 126 | } |
| 127 | ] |