Closed daadajuan closed 5 months ago
Hi @daadajuan - OEM data is unique to each vendor, so it's handled a little differently. See background here for details on how vendor plugins need to be implemented to access this data.
@stmcginnis - Thanks for your reply. In the issue you mentioned, I saw that @mikeletux added Oem json.RawMessage field in Service struct, similarly, I'm going to add Oem json.RawMessage in Thermal struct and Fan struct. And I will create a new folder oem to code the logic for handle oem information from vendors, like your example in the issue. For now, I have coded a change for this problem, you can see the PR if you are available. Thanks a lot.
Closed by #178
Oem shall be the information describing the Original Equipment Manufacturer, different data structures or map keys response from different manufacturers. We can add oem field into Thermal and Fan, to support user get the information of oem.
For example, this is raw data of a hpe server when query Thermal.
We can see the Oem and the Fan.Oem in the json but not in the Thermal and Fan, and could we support the 2 fields to return oem information?