blob: e0b02d9e80cf9920ffcd5b20718f4817d73ad7c7 [file] [log] [blame]
Manojkiran Eda2746fb42021-08-29 10:59:27 +05301// This JSON has the information needed to create General FRU record for FRU of
2// type Cpu. The FRU fields are based on the PLDM specification DSP0257.
Tom Joseph1f4df212020-02-06 15:48:41 +05303{
Patrick Williams36180642022-12-08 06:13:03 -06004 "record_details": {
Manojkiran Eda2746fb42021-08-29 10:59:27 +05305 // FRU Record Type - General FRU Record
Patrick Williams36180642022-12-08 06:13:03 -06006 "fru_record_type": 1,
Manojkiran Eda2746fb42021-08-29 10:59:27 +05307 // Encoding Type for FRU fields - ASCII
Tom Joseph1f4df212020-02-06 15:48:41 +05308 "fru_encoding_type": 1,
9 "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
Patrick Williams36180642022-12-08 06:13:03 -060010 },
11 "fru_fields": [
12 {
13 // FRU Field Type 3 - Part Number
14 "fru_field_type": 3,
15 // D-Bus property to read and populate the FRU field
16 "dbus": {
17 "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
18 "property_name": "PartNumber",
19 "property_type": "string"
Tom Joseph1f4df212020-02-06 15:48:41 +053020 }
Patrick Williams36180642022-12-08 06:13:03 -060021 },
22 {
23 // FRU Field Type 4 - Serial Number
24 "fru_field_type": 4,
25 // D-Bus property to read and populate the FRU field
26 "dbus": {
27 "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
28 "property_name": "SerialNumber",
29 "property_type": "string"
Tom Joseph1f4df212020-02-06 15:48:41 +053030 }
Patrick Williams36180642022-12-08 06:13:03 -060031 }
Tom Joseph1f4df212020-02-06 15:48:41 +053032 ]
33}