Ratan Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [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 |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 10 | # d-bus Interfaces |
Ratan Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [diff] [blame] | 11 | # d-bus Properties |
| 12 | # IPMI Fru mapping |
| 13 | 0: |
| 14 | /system: |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 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 Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [diff] [blame] | 40 | 1: |
| 41 | /system/chassis/motherboard/dimm0: |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 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 Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [diff] [blame] | 67 | 2: |
| 68 | /system/chassis/motherboard/dimm1: |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 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 Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [diff] [blame] | 94 | 3: |
| 95 | /system/chassis/motherboard/cpu0: |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 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 Gupta | 0f2e7fe | 2016-12-22 19:00:41 +0530 | [diff] [blame] | 117 | 4: |
| 118 | /system/chassis/motherboard/cpu1: |
Ratan Gupta | c19c054 | 2018-02-04 23:24:44 +0530 | [diff] [blame^] | 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: |