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 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 32 xyz.openbmc_project.Inventory.Revision: 33 Version: 34 IPMIFruProperty: Version 35 IPMIFruSection: Product 36 xyz.openbmc_project.Inventory.Item.System: 371: 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 56 xyz.openbmc_project.Inventory.Revision: 57 Version: 58 IPMIFruProperty: Version 59 IPMIFruSection: Product 60 xyz.openbmc_project.Inventory.Item.Dimm: 612: 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 80 xyz.openbmc_project.Inventory.Revision: 81 Version: 82 IPMIFruProperty: Version 83 IPMIFruSection: Product 84 xyz.openbmc_project.Inventory.Item.Dimm: 853: 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 104 xyz.openbmc_project.Inventory.Item.Cpu: 1054: 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 124 xyz.openbmc_project.Inventory.Item.Cpu: 125