1// 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. 14{ 15 "service": "xyz.openbmc_project.Inventory.Manager", 16 "root_path": "/xyz/openbmc_project/inventory", 17 "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 } 26 ] 27} 28