-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ASIC Thermal Monitoring HLD #557
ASIC Thermal Monitoring HLD #557
Conversation
@keboliu, @Junchao-Mellanox: Please review. |
doc/asic_thermal_monitoring_hld.md
Outdated
``` | ||
|
||
The ThermalBase() implementation for ASIC sensors will return the latest values exported by the SwitchOrch to the stateDB's TEMPERATURE_INFO table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks strange to me, the current idea is that platform API responsible to get the thermal sensor info from the lower layer and populate it to DB, and state DB info will feed CLI/SNMP or telemetry etc. but here you are suggesting platform API to read sensor info from DB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The objective is to present ASIC internal sensors to any advanced thermal control algorithm. The reason it appears dissimilar to the standard platform sensors is because the intent was not to let pmon (or any platform daemon) make SAI calls (and create a new dependency) since this is a unique case. Hence letting the poller be part of SwitchOrch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as comments left above.
@keboliu: Please review responses. |
@Junchao-Mellanox and @keboliu appreciate your feedback
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Please wait for other reviewers.
This document describes the high level design of a poller for ASIC thermal sensors.