blob: 722f489108a7f2bd25ca988f50d996c26fe7031e [file] [log] [blame]
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +05301# A YAML similar to this example would have to be generated, for eg with MRW
2# inputs and system configuration, to depict IPMI Fru information.
3#
4# This file maps IPMI properties to phosphor dbus inventory properties
5#
6# This YAML could help generate C++ code.
7# Format of the YAML:
8# Fruid:
9# Associated Fru paths
Ratan Guptac19c0542018-02-04 23:24:44 +053010# d-bus Interfaces
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +053011# d-bus Properties
12# IPMI Fru mapping
130:
Patrick Williams2de07e92022-12-08 06:12:50 -060014 /system:
15 entityID: 200
16 entityInstance: 1
17 interfaces:
18 xyz.openbmc_project.Inventory.Item:
19 PrettyName:
20 IPMIFruProperty: Product Name
21 IPMIFruSection: Product
22 xyz.openbmc_project.Inventory.Decorator.Asset:
23 Manufacturer:
24 IPMIFruProperty: Manufacturer
25 IPMIFruSection: Product
26 PartNumber:
27 IPMIFruProperty: Part Number
28 IPMIFruSection: Product
29 SerialNumber:
30 IPMIFruProperty: Serial Number
31 IPMIFruSection: Product
32 BuildDate:
33 IPMIFruProperty: Mfg Date
34 IPMIFruSection: Product
35 xyz.openbmc_project.Inventory.Decorator.Revision:
36 Version:
37 IPMIFruProperty: Version
38 IPMIFruSection: Product
39 xyz.openbmc_project.Inventory.Item.System:
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +0530401:
Patrick Williams2de07e92022-12-08 06:12:50 -060041 /system/chassis/motherboard/dimm0:
42 entityID: 8
43 entityInstance: 1
44 interfaces:
45 xyz.openbmc_project.Inventory.Item:
46 PrettyName:
47 IPMIFruProperty: Product Name
48 IPMIFruSection: Product
49 xyz.openbmc_project.Inventory.Decorator.Asset:
50 Manufacturer:
51 IPMIFruProperty: Manufacturer
52 IPMIFruSection: Product
53 BuildDate:
54 IPMIFruProperty: Mfg Date
55 IPMIFruSection: Product
56 SerialNumber:
57 IPMIFruProperty: Serial Number
58 IPMIFruSection: Product
59 PartNumber:
60 IPMIFruProperty: Part Number
61 IPMIFruSection: Product
62 xyz.openbmc_project.Inventory.Decorator.Revision:
63 Version:
64 IPMIFruProperty: Version
65 IPMIFruSection: Product
66 xyz.openbmc_project.Inventory.Item.Dimm:
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +0530672:
Patrick Williams2de07e92022-12-08 06:12:50 -060068 /system/chassis/motherboard/dimm1:
69 entityID: 8
70 entityInstance: 2
71 interfaces:
72 xyz.openbmc_project.Inventory.Item:
73 PrettyName:
74 IPMIFruProperty: Product Name
75 IPMIFruSection: Product
76 xyz.openbmc_project.Inventory.Decorator.Asset:
77 Manufacturer:
78 IPMIFruProperty: Manufacturer
79 IPMIFruSection: Product
80 BuildDate:
81 IPMIFruProperty: Mfg Date
82 IPMIFruSection: Product
83 SerialNumber:
84 IPMIFruProperty: Serial Number
85 IPMIFruSection: Product
86 PartNumber:
87 IPMIFruProperty: Part Number
88 IPMIFruSection: Product
89 xyz.openbmc_project.Inventory.Decorator.Revision:
90 Version:
91 IPMIFruProperty: Version
92 IPMIFruSection: Product
93 xyz.openbmc_project.Inventory.Item.Dimm:
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +0530943:
Patrick Williams2de07e92022-12-08 06:12:50 -060095 /system/chassis/motherboard/cpu0:
96 entityID: 3
97 entityInstance: 1
98 interfaces:
99 xyz.openbmc_project.Inventory.Item:
100 PrettyName:
101 IPMIFruProperty: Product Name
102 IPMIFruSection: Board
103 xyz.openbmc_project.Inventory.Decorator.Asset:
104 BuildDate:
105 IPMIFruProperty: Mfg Date
106 IPMIFruSection: Board
107 SerialNumber:
108 IPMIFruProperty: Serial Number
109 IPMIFruSection: Board
110 PartNumber:
111 IPMIFruProperty: Part Number
112 IPMIFruSection: Board
113 Manufacturer:
114 IPMIFruProperty: Manufacturer
115 IPMIFruSection: Board
116 xyz.openbmc_project.Inventory.Item.Cpu:
Ratan Gupta0f2e7fe2016-12-22 19:00:41 +05301174:
Patrick Williams2de07e92022-12-08 06:12:50 -0600118 /system/chassis/motherboard/cpu1:
119 entityID: 3
120 entityInstance: 2
121 interfaces:
122 xyz.openbmc_project.Inventory.Item:
123 PrettyName:
124 IPMIFruProperty: Product Name
125 IPMIFruSection: Board
126 xyz.openbmc_project.Inventory.Decorator.Asset:
127 BuildDate:
128 IPMIFruProperty: Mfg Date
129 IPMIFruSection: Board
130 SerialNumber:
131 IPMIFruProperty: Serial Number
132 IPMIFruSection: Board
133 PartNumber:
134 IPMIFruProperty: Part Number
135 IPMIFruSection: Board
136 Manufacturer:
137 IPMIFruProperty: Manufacturer
138 IPMIFruSection: Board
139 xyz.openbmc_project.Inventory.Item.Cpu: