blob: 0e8b441ddb89b6c6c62bb90597091437874c8f76 [file] [log] [blame]
Kamalkumar Patel516122e2024-05-07 04:39:32 -05001{
2 "Description": {
3 "_comment": [
4 "This JSON file defines the entity type and entity name required for generating D-Bus paths.",
5 "Upon parsing the file, a lookup table is created. This lookup table efficiently maps entity types to their respective names, forming a crucial reference for path generation.",
6 "When the PLDM daemon initializes, it retrieves Platform Descriptor Records (PDRs) from remote terminus. Utilizing the information gleaned from these PDRs alongside the data extracted from the lookup table and the PLDM constructs D-Bus paths.",
7 "These paths play a vital role in exposing the intricate system connection architecture to the Redfish client, facilitating streamlined communication and system interaction.",
8 "For Example:",
9 "PDRType : Entity Association PDR",
10 "containerEntityType : [Physical] System (Logical)",
11 "containedEntityType[1] : [Physical] System chassis (main enclosure)",
12 "containedEntityType[1] : [Physical] Socket",
13 "containedEntityType[1] : [Physical] Memory Board",
14 "containedEntityType[1] : [Physical] Processor Module",
15 "The PLDM will generate path '/xyz/openbmc_project/inventory/system/chassis/motherboard/dcm0' for above Entity Association PDR."
16 ]
17 },
18 "EntityTypeToDbusStringMap": {
19 "5": "temp_sensor",
20 "45": "chassis",
21 "60": "io_board",
22 "61": "adapter",
23 "63": "system_management_module",
24 "64": "motherboard",
25 "67": "dcm",
26 "69": "panel",
27 "80": "io_module",
28 "90": "cooling_device",
29 "93": "fan",
30 "120": "powersupply",
31 "123": "power_converter",
32 "135": "cpu",
33 "185": "connector",
34 "186": "slot",
35 "190": "socket",
36 "32813": "system",
37 "32903": "core"
38 }
39}