[asic_sensors] Generate the asic_sensors polling configuration based on the platform.json#20826
Conversation
fba67c0 to
b26025d
Compare
|
@judyjoseph Please review this asic-sensors PR. Thanks |
7c56970 to
f991ffc
Compare
|
@arlakshm This Includes the Yang Model for ASIC_SENSORS configuration. Please review it |
|
Minor comments LGTM |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/Azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@mlok-nokia, can you divide this PR in two, one for the config_db related change and one for the platform related change |
|
|
/Azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Cherry-pick PR to msft-202405: Azure/sonic-buildimage-msft#500 |
|
@arlakshm This PR needs to be merged to 202405 branch. Please cherry-pick it to the branch 202405. Thanks |
@mlok-nokia what's the reason? |
…on the platform.json (sonic-net#20826) For any platform which supports the asic_sensors pulling, it requires the configuration files (config_db#.json) contain the following configuration to trigger the system to poll the ASIC sensors temperature. Fixes Nokia-ION/ndk#48 Adding Yang model support to fixes sonic-net#20633 --------- Signed-off-by: mlok <[email protected]>
The following Nokia pizza boxes support the asic_sensors. I was told that they require this PR also. |
|
could it go to 202411 only? Adding @bingwang-ms to assess this for 202405 cherry-pick request |
It could go into branch 202411. Also this PR on 202411 requires the YangModel PR #21579 |
…on the platform.json (#20826) (#1023) Why I did it For any platform which supports the asic_sensors pulling, it requires the configuration files (config_db#.json) contain the following configuration to trigger the system to poll the ASIC sensors temperature. Fixes Nokia-ION/ndk#48 Adding Yang model support to fixes #20633 Work item tracking Microsoft ADO 32401949: Port sonic-net/sonic-buildimage#20826 to 202503 branch
With the enhancement introduced in PR sonic-net#20826 - "[asic_sensors] Generate the ASIC sensor polling configuration based on the platform.json" - we can now define ASIC sensor polling settings directly in platform.json. This change removes the need for a custom.json override and simplifies platform-specific configuration by centralizing the polling interval and status settings under platform.json. Signed-off-by: Michael Zaidman <[email protected]>
…on the platform.json (sonic-net#20826) For any platform which supports the asic_sensors pulling, it requires the configuration files (config_db#.json) contain the following configuration to trigger the system to poll the ASIC sensors temperature. Fixes Nokia-ION/ndk#48 Adding Yang model support to fixes sonic-net#20633 --------- Signed-off-by: mlok <[email protected]>
Why I did it
For any platform which supports the asic_sensors pulling, it requires the configuration files (config_db#.json) contain the following configuration to trigger the system to poll the ASIC sensors temperature. Fixes https://github.com/Nokia-ION/ndk/issues/48
Adding Yang model support to fixes #20633
Work item tracking
How I did it
Notice: For all platforms which support the asic_sensors polling requires to add the following definition to the device data platform.json file
Also add Yang Model support the ASIC_SENSORS configuration. INcluding YangModel UT.
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)