|
Post by gmills on Apr 15, 2019 18:10:52 GMT
Should the SensorCollection, redfish.dmtf.org/schemas/SensorCollection.json, contain all sensors in a chassis? Or should it only contain sensors not found in the Thermal and Power schemas? Is the SensorCollection a superset of the sensors in the Thermal and Power schemas then? Thanks! Gunnar
|
|
|
Post by jautor on Apr 16, 2019 21:32:51 GMT
The Sensor model is new and should be used, at least in the server/BMC context, for sensors that are not covered elsewhere in the model - meaning don't duplicate Power and Thermal.
From an interoperability standpoint, you'd want to implement the Power and Thermal resources as that's what is done on all existing implementations.
The Sensor model was added for non-server use cases (the DCIM work on Power Distribution Units and related gear).
Jeff
|
|
|
Post by gmills on Apr 17, 2019 19:34:37 GMT
For OpenBMC we will implement as you mentioned above, "sensors that are not covered elsewhere in the model - meaning don't duplicate Power and Thermal". Thank you for the help!
Gunnar
|
|
|
Post by gmills on Jan 11, 2021 17:54:55 GMT
This guided our OpenBMC implement of Sensors. I noticed in the new Power/Thermal schemas, www.dmtf.org/sites/default/files/standards/documents/DSP-IS0015_0.8a.zip (Work in progress from the OCP summit), the sensor collection contains all sensors. OpenBMC plans to support both the new and old Power/Thermal Schemas for some time. There does not appear to be a "new" sensor collection. I assume this guidance has now changed, the SensorCollection should contain all sensors?
|
|
|
Post by jautor on Jan 14, 2021 21:00:33 GMT
My statement from 18 months ago is no longer our recommendation. That was before we proposed to re-factor the Power and Thermal schemas to use the Sensor model. And that continues to be our direction. So in that light, we want everything that counts as a "sensor" to be part of the Sensor collection so that generic monitoring software can be built to harvest sensor data across the Redfish model.
Even if an implementation hasn't decided to adopt the (still a work-in-progress) PowerSubystem and ThermalSubsystem models, the underlying temperature and fan sensors can be rendered as Redfish Sensor resources as a good middle ground (and a step in the right direction for future work).
Jeff
|
|