diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-02-14 23:49:36 +0530 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-16 23:08:11 +0000 |
commit | 5ff8c68dcd8ea8ecad15ef5d2b4968c918c94352 (patch) | |
tree | 86ad4125f75980bd702d037140bfc0109f8bebc9 /meta-openbmc-machines/meta-openpower | |
parent | cb1cc2b4d0c156d0d6848ddf9f0dc6682a0ba11c (diff) | |
download | talos-openbmc-5ff8c68dcd8ea8ecad15ef5d2b4968c918c94352.tar.gz talos-openbmc-5ff8c68dcd8ea8ecad15ef5d2b4968c918c94352.zip |
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>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/ipmi/hostboot-inventory-config/config.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
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 88b4d0cd8..a03e27586 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 @@ PROC: 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 @@ SYS: PrettyName: IPMIFruSection: Board IPMIFruProperty: "Name" - DIMM: xyz.openbmc_project.Inventory.Decorator.Asset: BuildDate: |