blob: c9914b67287ee7c5b78f196a92d00f60e7f8ef18 [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 Board. The FRU fields are based on the PLDM specification DSP0257.
Tom Joseph1f4df212020-02-06 15:48:41 +05303{
4 "record_details":
5 {
Manojkiran Eda2746fb42021-08-29 10:59:27 +05306 // FRU Record Type - General FRU Record
Tom Joseph1f4df212020-02-06 15:48:41 +05307 "fru_record_type" : 1,
Manojkiran Eda2746fb42021-08-29 10:59:27 +05308 // Encoding Type for FRU fields - ASCII
Tom Joseph1f4df212020-02-06 15:48:41 +05309 "fru_encoding_type": 1,
10 "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Board"
11 },
12 "fru_fields":[
13 {
Manojkiran Eda2746fb42021-08-29 10:59:27 +053014 // FRU Field Type 3 - Part Number
Tom Joseph1f4df212020-02-06 15:48:41 +053015 "fru_field_type" : 3,
Manojkiran Eda2746fb42021-08-29 10:59:27 +053016 // D-Bus property to read and populate the FRU field
Tom Joseph1f4df212020-02-06 15:48:41 +053017 "dbus":
18 {
19 "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
20 "property_name" : "PartNumber",
21 "property_type" : "string"
22 }
23 },
24 {
Manojkiran Eda2746fb42021-08-29 10:59:27 +053025 // FRU Field Type 4 - Serial Number
Tom Joseph1f4df212020-02-06 15:48:41 +053026 "fru_field_type" : 4,
Manojkiran Eda2746fb42021-08-29 10:59:27 +053027 // D-Bus property to read and populate the FRU field
Tom Joseph1f4df212020-02-06 15:48:41 +053028 "dbus":
29 {
30 "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
31 "property_name" : "SerialNumber",
32 "property_type" : "string"
33 }
34 }
35 ]
36}
37