Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 1 | { |
| 2 | "Exposes": [ |
| 3 | { |
| 4 | "Address": "$address", |
| 5 | "Bus": "$bus", |
| 6 | "Name": "NVMe $index FRU", |
| 7 | "Type": "EEPROM" |
| 8 | }, |
| 9 | { |
| 10 | "Address": "0x53", |
| 11 | "Bus": "$bus", |
| 12 | "Name": "NVMe $index Temp", |
| 13 | "Thresholds": [ |
| 14 | { |
| 15 | "Direction": "greater than", |
| 16 | "Name": "upper critical", |
| 17 | "Severity": 1, |
| 18 | "Value": 115 |
| 19 | }, |
| 20 | { |
| 21 | "Direction": "greater than", |
| 22 | "Name": "upper non critical", |
| 23 | "Severity": 0, |
| 24 | "Value": 110 |
| 25 | }, |
| 26 | { |
| 27 | "Direction": "less than", |
| 28 | "Name": "lower non critical", |
| 29 | "Severity": 0, |
| 30 | "Value": 5 |
| 31 | }, |
| 32 | { |
| 33 | "Direction": "less than", |
| 34 | "Name": "lower critical", |
| 35 | "Severity": 1, |
| 36 | "Value": 0 |
| 37 | } |
| 38 | ], |
| 39 | "Type": "NVME1000" |
| 40 | } |
| 41 | ], |
| 42 | "Name": "NVMe $index", |
| 43 | "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})", |
Nikhil Potade | 3b80d7c | 2019-08-23 16:36:43 -0700 | [diff] [blame] | 44 | "Type": "Drive", |
Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 45 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
| 46 | "Manufacturer": "$PRODUCT_MANUFACTURER", |
| 47 | "Model": "$PRODUCT_PRODUCT_NAME", |
| 48 | "PartNumber": "$PRODUCT_PART_NUMBER", |
| 49 | "SerialNumber": "$PRODUCT_SERIAL_NUMBER" |
| 50 | } |
| 51 | } |