Fix the mapping of IPMI chassis info area part number
This fix maps the chassis info area partnumber to the model
property of dbus object.
Resolves openbmc/openbmc#1729
Change-Id: I3974065bb8e3cfc5d5ac9a827546ec8095f717e0
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml b/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
index 2c7f8ee..7178184 100644
--- a/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
+++ b/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
@@ -28,15 +28,12 @@
SYS:
Interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
- PartNumber:
+ Model:
IPMIFruSection: Chassis
IPMIFruProperty: "Part Number"
SerialNumber:
IPMIFruSection: Chassis
IPMIFruProperty: "Serial Number"
- Model:
- IPMIFruSection: Chassis
- IPMIFruProperty: "Type"
NODE:
Interfaces: