blob: 710c5e162c0816d7a424b929c948a7d22a7d3f72 [file] [log] [blame]
Manojkiran Eda2746fb42021-08-29 10:59:27 +05301// This is the master config file for generating PLDM FRU records from the D-Bus
2// inventory objects. "service" is the name of D-Bus service hosting the
3// inventory D-Bus objects, "root_path" is the root path for all the inventory
4// D-Bus objects and "entities" section specifies the type of FRU's for which
5// FRU records are created in the FRU table. FRU Record Set PDR and Entity
6// Association PDR are generated for matching FRU. In this example, PLDM FRU
7// records will be created for all FRU's of type Board and CPU. The "entity_type"
8// field is the PLDM entity type for Board and CPU. For each FRU type,
9// corresponding config JSON's are needed for each record. In the example
10// directory, Board_General.json is the config to generate the General FRU
11// record for FRU of type Board and Board_VINI.json is the config to generate
12// the OEM record (VINI is a record in IBM IPZ VPD format) for FRU of type Board.
13// For all instances of the same FRU, the same config JSON will apply.
Tom Joseph1f4df212020-02-06 15:48:41 +053014{
15 "service":"xyz.openbmc_project.Inventory.Manager",
John Wanga18a1262020-06-05 15:25:21 +080016 "root_path":"/xyz/openbmc_project/inventory",
Deepak Kodihalli3cd61812020-03-10 06:38:45 -050017 "entities":[
18 {
19 "interface" : "xyz.openbmc_project.Inventory.Item.Board",
20 "entity_type" : 64
21 },
22 {
23 "interface" : "xyz.openbmc_project.Inventory.Item.Cpu",
24 "entity_type" : 135
25 }
Tom Joseph1f4df212020-02-06 15:48:41 +053026 ]
27}