Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 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 |
Tom Joseph | 6a30a3e | 2020-03-23 12:45:23 +0530 | [diff] [blame] | 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 Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 14 | { |
| 15 | "service":"xyz.openbmc_project.Inventory.Manager", |
| 16 | "root_path":"/xyz/openbmc_project/inventory/system/", |
Deepak Kodihalli | 3cd6181 | 2020-03-10 06:38:45 -0500 | [diff] [blame] | 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 | } |
Tom Joseph | 1f4df21 | 2020-02-06 15:48:41 +0530 | [diff] [blame] | 26 | ] |
| 27 | } |