-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need Redfish equivalents to our IPMI extensions #21
Comments
This already exists in Redfish, and has significantly more functionality than even the IPMI commands that exist: Is an example of one of the schemas for it. |
As for OemManager, it's strange, wouldn't there be separate schemas for fans, PID loops, and such, instead of grouping them all into the OemManager schema? I see this is a way to expose the configuration parameters of the PID loops (what is in the JSON file for entity-manager now) over Redfish. That's useful, but doesn't address the question. Are there Redfish equivalents to the existing IPMI extensions? I could not find them, after searching. In particular, these are needed:
A challenge is that these parameters are "live", in that they come directly from the phosphor-pid-control program when queried. They aren't merely configuration parameters. They only exist at run time, they don't exist at configuration time. If these are already in OemManager, where are they? I couldn't find them. |
What you described is what's already there. All of the answers to the above can be found by looking through he code.
The existing schemas cover everything that I'm aware of (and more) that the IPMI extensions did, so I think the answer is, yes, there are equivalents, but most things are covered in the standard now.
This I think is covered as part of "health", but we'd have to go read the code.
We don't have an explicit "manual" setting, we just have a PATCH to the PWM value you'd like to set puts it in manual mode. I believe a patch of null puts it back in automatic for any given zone.
When in dbus mode, the "value" of a PWM is owned by pwmsensor in dbus-sensors, which redfish is capable of reading and controlling. You're right, the failsafe status might not be handled.
Answers above. |
There was an earlier effort to add this functionality: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/45181 This patch is incomplete (no exposure of the |
In the absence of having this feature standardized upstream, several OEM have added it on their own. An example is Google's implementation here: https://gbmc.googlesource.com/gbmcweb/+/refs/heads/master/redfish-core/lib/managers.hpp#492 I contributed to this implementation, and I can say that it worked and that it successfully met our needs at the time. Your mileage may vary. Among other things, making the addressing finer grained, not part of a single large monolithic URL endpoint, is left as an exercise for the reader. |
This is a request for discussion.
We currently have these IPMI extensions:
https://github.com/openbmc/phosphor-pid-control/blob/master/ipmi.md
We should have Redfish equivalents for these, for feature parity with IPMI.
Are there existing efforts to expose thermal zones (both read-only and read-write parameters) to Redfish? I know sensors and fans are currently exposed, but I'm not sure about thermal zones.
The text was updated successfully, but these errors were encountered: