Skip to content
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

How to hide undefined thermal threshold in onlpd? #912

Open
nicwu-cel opened this issue Oct 17, 2022 · 0 comments
Open

How to hide undefined thermal threshold in onlpd? #912

nicwu-cel opened this issue Oct 17, 2022 · 0 comments

Comments

@nicwu-cel
Copy link
Contributor

Hi,

I tried to cut out the 'Caps' in thermal to hide undefined thresholds but it didn't work as below.

...
thermal @ 2 = {
Description: Switchboard_Inlet_Temp_U4
Status: 0x00000001 [ PRESENT ]
Caps: 0x00000003 [ GET_TEMPERATURE,GET_WARNING_THRESHOLD ]
Temperature: 29250
thresholds = {
Warning: 55000
Error: 345000
Shutdown: 345000
...

Are these thresholds (Warning/Error/Shutdown) mandatory? Is there a method to hide these?

In above example, I set thresholds as 345000 as a value that will never be reached to indicate it's undefined but I'm not sure if it's good method or not.

PS: I need to care about all these thresholds because when I run redfish on ONL, improper thresholds will trigger warning in redfish log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant