blob: fc58c3cc0e412f966f94a4872f59602deff20d03 [file] [log] [blame]
Tom Joseph1f4df212020-02-06 15:48:41 +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.
3{
4 "record_details":
5 {
6 # FRU Record Type - General FRU Record
7 "fru_record_type" : 1,
8 # Encoding Type for FRU fields - ASCII
9 "fru_encoding_type": 1,
10 "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Board"
11 },
12 "fru_fields":[
13 {
14 # FRU Field Type 3 - Part Number
15 "fru_field_type" : 3,
16 # D-Bus property to read and populate the FRU field
17 "dbus":
18 {
19 "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
20 "property_name" : "PartNumber",
21 "property_type" : "string"
22 }
23 },
24 {
25 # FRU Field Type 4 - Serial Number
26 "fru_field_type" : 4,
27 # D-Bus property to read and populate the FRU field
28 "dbus":
29 {
30 "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
31 "property_name" : "SerialNumber",
32 "property_type" : "string"
33 }
34 }
35 ]
36}
37