Inventory: map custom IPMI properties
Here we are mapping the EC(Engineering Change) property of the processor,
which comes as a custom field in the ipmi fru packet.
Change-Id: Id136433ed4b33669eae3e50562a4f6517330fc08
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
index 88b4d0c..a03e275 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml
@@ -16,6 +16,14 @@
PrettyName:
IPMIFruSection: Board
IPMIFruProperty: "Name"
+ xyz.openbmc_project.Inventory.Decorator.Revision:
+ Version:
+ IPMIFruSection: Board
+ # Custom Field 2 is EC.
+ IPMIFruProperty: "Custom Field 2"
+ # Delimiter value in ascii as YAML parser
+ # was not allowing certain characters like ":" as value
+ IPMIFruValueDelimiter: "58"
SYS:
xyz.openbmc_project.Inventory.Decorator.Asset:
@@ -35,7 +43,6 @@
PrettyName:
IPMIFruSection: Board
IPMIFruProperty: "Name"
-
DIMM:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate: