blob: 86151afa1406b57e689ab7bfca91e05a07197c74 [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:
14 /system:
15 xyz.openbmc_project.Inventory.Item:
16 PrettyName:
17 IPMIFruProperty: Product Name
18 IPMIFruSection: Product
19 xyz.openbmc_project.Inventory.Decorator.Asset:
20 Manufacturer:
21 IPMIFruProperty: Manufacturer
22 IPMIFruSection: Product
23 PartNumber:
24 IPMIFruProperty: Part Number
25 IPMIFruSection: Product
26 SerialNumber:
27 IPMIFruProperty: Serial Number
28 IPMIFruSection: Product
29 BuildDate:
30 IPMIFruProperty: Mfg Date
31 IPMIFruSection: Product
Marri Devender Raoc9d7d012017-07-07 12:23:29 -050032 xyz.openbmc_project.Inventory.Decorator.Revision:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -050033 Version:
34 IPMIFruProperty: Version
35 IPMIFruSection: Product
Marri Devender Rao16fe26d2017-08-21 04:11:18 -050036 xyz.openbmc_project.Inventory.Item.System:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500371:
38 /system/chassis/motherboard/dimm0:
39 xyz.openbmc_project.Inventory.Item:
40 PrettyName:
41 IPMIFruProperty: Product Name
42 IPMIFruSection: Product
43 xyz.openbmc_project.Inventory.Decorator.Asset:
44 Manufacturer:
45 IPMIFruProperty: Manufacturer
46 IPMIFruSection: Product
47 BuildDate:
48 IPMIFruProperty: Mfg Date
49 IPMIFruSection: Product
50 SerialNumber:
51 IPMIFruProperty: Serial Number
52 IPMIFruSection: Product
53 PartNumber:
54 IPMIFruProperty: Part Number
55 IPMIFruSection: Product
Marri Devender Raoc9d7d012017-07-07 12:23:29 -050056 xyz.openbmc_project.Inventory.Decorator.Revision:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -050057 Version:
58 IPMIFruProperty: Version
59 IPMIFruSection: Product
Marri Devender Rao16fe26d2017-08-21 04:11:18 -050060 xyz.openbmc_project.Inventory.Item.Dimm:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500612:
62 /system/chassis/motherboard/dimm1:
63 xyz.openbmc_project.Inventory.Item:
64 PrettyName:
65 IPMIFruProperty: Product Name
66 IPMIFruSection: Product
67 xyz.openbmc_project.Inventory.Decorator.Asset:
68 Manufacturer:
69 IPMIFruProperty: Manufacturer
70 IPMIFruSection: Product
71 BuildDate:
72 IPMIFruProperty: Mfg Date
73 IPMIFruSection: Product
74 SerialNumber:
75 IPMIFruProperty: Serial Number
76 IPMIFruSection: Product
77 PartNumber:
78 IPMIFruProperty: Part Number
79 IPMIFruSection: Product
Marri Devender Raoc9d7d012017-07-07 12:23:29 -050080 xyz.openbmc_project.Inventory.Decorator.Revision:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -050081 Version:
82 IPMIFruProperty: Version
83 IPMIFruSection: Product
Marri Devender Rao16fe26d2017-08-21 04:11:18 -050084 xyz.openbmc_project.Inventory.Item.Dimm:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -0500853:
86 /system/chassis/motherboard/cpu0:
87 xyz.openbmc_project.Inventory.Item:
88 PrettyName:
89 IPMIFruProperty: Product Name
90 IPMIFruSection: Board
91 xyz.openbmc_project.Inventory.Decorator.Asset:
92 BuildDate:
93 IPMIFruProperty: Mfg Date
94 IPMIFruSection: Board
95 SerialNumber:
96 IPMIFruProperty: Serial Number
97 IPMIFruSection: Board
98 PartNumber:
99 IPMIFruProperty: Part Number
100 IPMIFruSection: Board
101 Manufacturer:
102 IPMIFruProperty: Manufacturer
103 IPMIFruSection: Board
Marri Devender Rao16fe26d2017-08-21 04:11:18 -0500104 xyz.openbmc_project.Inventory.Item.Cpu:
Marri Devender Raoa62bacc2017-06-04 23:40:16 -05001054:
106 /system/chassis/motherboard/cpu1:
107 xyz.openbmc_project.Inventory.Item:
108 PrettyName:
109 IPMIFruProperty: Product Name
110 IPMIFruSection: Board
111 xyz.openbmc_project.Inventory.Decorator.Asset:
112 BuildDate:
113 IPMIFruProperty: Mfg Date
114 IPMIFruSection: Board
115 SerialNumber:
116 IPMIFruProperty: Serial Number
117 IPMIFruSection: Board
118 PartNumber:
119 IPMIFruProperty: Part Number
120 IPMIFruSection: Board
121 Manufacturer:
122 IPMIFruProperty: Manufacturer
123 IPMIFruSection: Board
Marri Devender Rao16fe26d2017-08-21 04:11:18 -0500124 xyz.openbmc_project.Inventory.Item.Cpu: