blob: a186794b1af2d2dd18fec12122d87df8e0c2061f [file] [log] [blame]
Marri Devender Raoa62bacc2017-06-04 23:40:16 -05001# 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
10# d-bus Interfaces
11# d-bus Properties
12# IPMI Fru mapping
130:
Patrick Williamsa1bd2852022-12-08 06:12:43 -060014 /system:
15 entityID: 23
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:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500401:
Patrick Williamsa1bd2852022-12-08 06:12:43 -060041 /system/chassis/motherboard/dimm0:
42 entityID: 32
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:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500672:
Patrick Williamsa1bd2852022-12-08 06:12:43 -060068 /system/chassis/motherboard/dimm1:
69 entityID: 32
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:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500943:
Patrick Williamsa1bd2852022-12-08 06:12:43 -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:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -05001174:
Patrick Williamsa1bd2852022-12-08 06:12:43 -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: