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 |
| 10 | # d-bus Interafaces |
| 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 |
| 32 | xyz.openbmc_project.Inventory.Revision: |
| 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 |
| 55 | xyz.openbmc_project.Inventory.Revision: |
| 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 |
| 78 | xyz.openbmc_project.Inventory.Revision: |
| 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 |