blob: 1abd61c01ccdfa0c8e5f8fc424f01fc676af2bfd [file] [log] [blame]
Nikhil Potade49b82512019-03-13 10:54:04 -07001{
James Feist7379f932019-09-30 13:41:49 -07002 "Bus": "$bus",
James Feistc0dcf0d2019-09-30 13:07:02 -07003 "Exposes": [
Nikhil Potade49b82512019-03-13 10:54:04 -07004 {
James Feistc0dcf0d2019-09-30 13:07:02 -07005 "Address": "$address",
6 "Bus": "$bus",
7 "Name": "NVMe $index FRU",
8 "Type": "EEPROM"
Nikhil Potade49b82512019-03-13 10:54:04 -07009 },
10 {
James Feistc0dcf0d2019-09-30 13:07:02 -070011 "Address": "0x53",
12 "Bus": "$bus",
13 "Name": "NVMe $index Temp",
14 "Thresholds": [
15 {
16 "Direction": "greater than",
17 "Name": "upper critical",
18 "Severity": 1,
19 "Value": 115
20 },
21 {
22 "Direction": "greater than",
23 "Name": "upper non critical",
24 "Severity": 0,
25 "Value": 110
26 },
27 {
28 "Direction": "less than",
29 "Name": "lower non critical",
30 "Severity": 0,
31 "Value": 5
32 },
33 {
34 "Direction": "less than",
35 "Name": "lower critical",
36 "Severity": 1,
37 "Value": 0
38 }
39 ],
40 "Type": "NVME1000"
Nikhil Potade49b82512019-03-13 10:54:04 -070041 }
James Feistc0dcf0d2019-09-30 13:07:02 -070042 ],
James Feist7379f932019-09-30 13:41:49 -070043 "Index": "$index",
James Feistc0dcf0d2019-09-30 13:07:02 -070044 "Name": "NVMe $index",
45 "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'P\\d{4}\\w?'})",
46 "Type": "Drive",
47 "xyz.openbmc_project.Inventory.Decorator.Asset": {
48 "Manufacturer": "$PRODUCT_MANUFACTURER",
49 "Model": "$PRODUCT_PRODUCT_NAME",
50 "PartNumber": "$PRODUCT_PART_NUMBER",
51 "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
Nikhil Potade49b82512019-03-13 10:54:04 -070052 }
James Feist7379f932019-09-30 13:41:49 -070053}