Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 1 | { |
James Feist | c0dcf0d | 2019-09-30 13:07:02 -0700 | [diff] [blame^] | 2 | "Exposes": [ |
Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 3 | { |
James Feist | c0dcf0d | 2019-09-30 13:07:02 -0700 | [diff] [blame^] | 4 | "Address": "$address", |
| 5 | "Bus": "$bus", |
| 6 | "Name": "NVMe $index FRU", |
| 7 | "Type": "EEPROM" |
Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 8 | }, |
| 9 | { |
James Feist | c0dcf0d | 2019-09-30 13:07:02 -0700 | [diff] [blame^] | 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" |
Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 40 | } |
James Feist | c0dcf0d | 2019-09-30 13:07:02 -0700 | [diff] [blame^] | 41 | ], |
| 42 | "Name": "NVMe $index", |
| 43 | "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})", |
| 44 | "Type": "Drive", |
| 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" |
Nikhil Potade | 49b8251 | 2019-03-13 10:54:04 -0700 | [diff] [blame] | 50 | } |
James Feist | c0dcf0d | 2019-09-30 13:07:02 -0700 | [diff] [blame^] | 51 | } |