Skip to contentSkip to conversation

IPMI - get device ID

DISCUSSION Dave Cobbley 2 participants 3 messages Oct 26, 2017 – Oct 27, 2017

lore
Share & tools
lore
#0 lore raw

I noticed a bit of the get-device-id information in phosphor-ipmi-host/apphandler is hard coded.

Much of this info should be determined at compile time - would the inventory manager be the appropriate place that all platforms under the OpenBMC umbrella would like to store this information?

•   Device ID
•   Device Revision
•   IANA
•   Product ID
•   Auxiliary

Thanks,

-Dave Cobbley

#1 lore raw

Hello Dave,

https://github.com/openbmc/openbmc/issues/495

We had this issue open to fix the hardcoded Product ID, Manufacturing ID..etc. Since these fields are IPMI specific, we do not plan to create D-Bus properties for that.

The solution we have in mind is to have these values specified in a yaml in the openbmc machine specific layer. This gives the advantage that we have these values as machine specific and can be taken care at compile time. We would add code in phosphor-host-ipmid, to generate code out of this yaml file and serve the Get Device ID command.

Dinesh is working on this and he would share the code on gerrit to solicit your feedback. Let me know your thoughts.

Regards,
Tom

Quoted 14 lines · Dave Cobbley

I noticed a bit of the get-device-id information in phosphor-ipmi-host/apphandler is hard coded.

Much of this info should be determined at compile time - would the inventory manager be the appropriate place that all platforms under the OpenBMC umbrella would like to store this information?

•   Device ID
•   Device Revision
•   IANA
•   Product ID
•   Auxiliary

Thanks,

-Dave Cobbley

#2 lore raw

Sounds great!

Looking forward to seeing the pull request in gerrit.

Thanks,

-Dave

Quoted 29 lines · tomjose

Hello Dave,

https://github.com/openbmc/openbmc/issues/495

We had this issue open to fix the hardcoded Product ID, Manufacturing ID..etc. Since these fields are IPMI specific, we do not plan to create D-Bus properties for that.

The solution we have in mind is to have these values specified in a yaml in the openbmc machine specific layer. This gives the advantage that we have these values as machine specific and can be taken care at compile time. We would add code in phosphor-host-ipmid, to generate code out of this yaml file and serve the Get Device ID command.

Dinesh is working on this and he would share the code on gerrit to solicit your feedback. Let me know your thoughts.

Regards,
Tom

Quoted 14 lines · Dave Cobbley

I noticed a bit of the get-device-id information in phosphor-ipmi-host/apphandler is hard coded.

Much of this info should be determined at compile time - would the inventory manager be the appropriate place that all platforms under the OpenBMC umbrella would like to store this information?

•   Device ID
•   Device Revision
•   IANA
•   Product ID
•   Auxiliary

Thanks,

-Dave Cobbley