Get inventory FRU from inventory system path

john.chung at mic.com.tw john.chung at mic.com.tw
Thu Oct 8 19:53:14 AEDT 2020


Hi,

I am trying to get the data from this path “https://<bmcip>/xyz/openbmc_project/inventory/system<https://%3cbmcip%3e/xyz/openbmc_project/inventory/system>”.
But only get the following data from this path.

"/xyz/openbmc_project/inventory/system": {
"AssetTag": ""
},

Here is an example for this path which I expected to get.

    "/xyz/openbmc_project/inventory/system": {
        "BuildDate": "",
        "Cached": 0,
        "FieldReplaceable": 0,
        "Manufacturer": "",
        "Model": "2",
        "PartNumber": "0000000000000000",
        "Present": 1,
        "PrettyName": "",
        "SerialNumber": "0000000000000000"
    },



Only using entity-manager in my project for inventory FRU.
I could get the FRU data from this path “https://<bmcip>/xyz/openbmc_project/inventory/system/board/<name>”
But the inventory system path is null.

Any setting I should set for getting FRU from this path?

Regards,
John Chung



============================================================================
This email message and all attachments transmitted with it are intended solely for the use of the intended recipient(s) and may contain legally privileged and confidential information. If you are not the intended recipient of this email, you are hereby notified that any disclosure, dissemination, distribution, copying, or other use of this message, its attachments or any information contained therein is strictly prohibited. If you have received this email in error, please contact the sender immediately and please delete it and any attachments from your system. Computer viruses can be transmitted via email. The sender accepts no liability for any damage caused by any virus transmitted by this email. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201008/502c206a/attachment.htm>


More information about the openbmc mailing list