Marri Devender Rao | a62bacc | 2017-06-04 23:40:16 -0500 | [diff] [blame] | 1 | # 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 |
| 13 | 0: |
| 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 Rao | c9d7d01 | 2017-07-07 12:23:29 -0500 | [diff] [blame] | 32 | xyz.openbmc_project.Inventory.Decorator.Revision: |
Marri Devender Rao | a62bacc | 2017-06-04 23:40:16 -0500 | [diff] [blame] | 33 | Version: |
| 34 | IPMIFruProperty: Version |
| 35 | IPMIFruSection: Product |
| 36 | 1: |
| 37 | /system/chassis/motherboard/dimm0: |
| 38 | xyz.openbmc_project.Inventory.Item: |
| 39 | PrettyName: |
| 40 | IPMIFruProperty: Product Name |
| 41 | IPMIFruSection: Product |
| 42 | xyz.openbmc_project.Inventory.Decorator.Asset: |
| 43 | Manufacturer: |
| 44 | IPMIFruProperty: Manufacturer |
| 45 | IPMIFruSection: Product |
| 46 | BuildDate: |
| 47 | IPMIFruProperty: Mfg Date |
| 48 | IPMIFruSection: Product |
| 49 | SerialNumber: |
| 50 | IPMIFruProperty: Serial Number |
| 51 | IPMIFruSection: Product |
| 52 | PartNumber: |
| 53 | IPMIFruProperty: Part Number |
| 54 | IPMIFruSection: Product |
Marri Devender Rao | c9d7d01 | 2017-07-07 12:23:29 -0500 | [diff] [blame] | 55 | xyz.openbmc_project.Inventory.Decorator.Revision: |
Marri Devender Rao | a62bacc | 2017-06-04 23:40:16 -0500 | [diff] [blame] | 56 | Version: |
| 57 | IPMIFruProperty: Version |
| 58 | IPMIFruSection: Product |
| 59 | 2: |
| 60 | /system/chassis/motherboard/dimm1: |
| 61 | xyz.openbmc_project.Inventory.Item: |
| 62 | PrettyName: |
| 63 | IPMIFruProperty: Product Name |
| 64 | IPMIFruSection: Product |
| 65 | xyz.openbmc_project.Inventory.Decorator.Asset: |
| 66 | Manufacturer: |
| 67 | IPMIFruProperty: Manufacturer |
| 68 | IPMIFruSection: Product |
| 69 | BuildDate: |
| 70 | IPMIFruProperty: Mfg Date |
| 71 | IPMIFruSection: Product |
| 72 | SerialNumber: |
| 73 | IPMIFruProperty: Serial Number |
| 74 | IPMIFruSection: Product |
| 75 | PartNumber: |
| 76 | IPMIFruProperty: Part Number |
| 77 | IPMIFruSection: Product |
Marri Devender Rao | c9d7d01 | 2017-07-07 12:23:29 -0500 | [diff] [blame] | 78 | xyz.openbmc_project.Inventory.Decorator.Revision: |
Marri Devender Rao | a62bacc | 2017-06-04 23:40:16 -0500 | [diff] [blame] | 79 | Version: |
| 80 | IPMIFruProperty: Version |
| 81 | IPMIFruSection: Product |
| 82 | 3: |
| 83 | /system/chassis/motherboard/cpu0: |
| 84 | xyz.openbmc_project.Inventory.Item: |
| 85 | PrettyName: |
| 86 | IPMIFruProperty: Product Name |
| 87 | IPMIFruSection: Board |
| 88 | xyz.openbmc_project.Inventory.Decorator.Asset: |
| 89 | BuildDate: |
| 90 | IPMIFruProperty: Mfg Date |
| 91 | IPMIFruSection: Board |
| 92 | SerialNumber: |
| 93 | IPMIFruProperty: Serial Number |
| 94 | IPMIFruSection: Board |
| 95 | PartNumber: |
| 96 | IPMIFruProperty: Part Number |
| 97 | IPMIFruSection: Board |
| 98 | Manufacturer: |
| 99 | IPMIFruProperty: Manufacturer |
| 100 | IPMIFruSection: Board |
| 101 | 4: |
| 102 | /system/chassis/motherboard/cpu1: |
| 103 | xyz.openbmc_project.Inventory.Item: |
| 104 | PrettyName: |
| 105 | IPMIFruProperty: Product Name |
| 106 | IPMIFruSection: Board |
| 107 | xyz.openbmc_project.Inventory.Decorator.Asset: |
| 108 | BuildDate: |
| 109 | IPMIFruProperty: Mfg Date |
| 110 | IPMIFruSection: Board |
| 111 | SerialNumber: |
| 112 | IPMIFruProperty: Serial Number |
| 113 | IPMIFruSection: Board |
| 114 | PartNumber: |
| 115 | IPMIFruProperty: Part Number |
| 116 | IPMIFruSection: Board |
| 117 | Manufacturer: |
| 118 | IPMIFruProperty: Manufacturer |
| 119 | IPMIFruSection: Board |