fru inventory update

Vijay Khemka vijaykhemka at fb.com
Sat Oct 20 09:54:35 AEDT 2018


Hi,

I am trying to read fru data of my board and created a config.yaml. I noticed few things that there is only 5 field updated in system/xyz.openbmc_project.Inventory.Decorator.Asset even though I have more field requested in config file. And also how do I get meaningful key string instead of value0, value1. Please see below config.yaml and inventory file.



Config.yaml

============

  /system:

    entityID: 3

    entityInstance: 1

    interfaces:

      xyz.openbmc_project.Inventory.Decorator.Asset:

        SerialNumber:

          IPMIFruProperty: Serial Number

          IPMIFruSection: Product

        Manufacturer:

          IPMIFruProperty: Manufacturer

          IPMIFruSection: Product

        Model:

          IPMIFruProperty: Model Number

          IPMIFruSection: Product

        PrettyName:

          IPMIFruProperty: Name

          IPMIFruSection: Product

        Version:

          IPMIFruProperty: Version

          IPMIFruSection: Product

        AssetTag:

          IPMIFruProperty: Asset Tag

          IPMIFruSection: Product

        CustomField1:

          IPMIFruProperty: Custom Field 1

          IPMIFruSection: Product

        CustomField2:

          IPMIFruProperty: Custom Field 2

          IPMIFruSection: Product





system/xyz.openbmc_project.Inventory.Decorator.Asset

====================================================

{

    "value0": {

        "cereal_class_version": 1,

        "value0": "",

        "value1": "WTF17370D2MA1",

        "value2": "Wiwynn",

        "value3": "",

        "value4": "B81.00X01.0104"

    }

}





Please advise here as what am I missing.



Regards

-Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181019/8becd487/attachment.html>


More information about the openbmc mailing list