Skip to content

sonic-platform-modules-nexthop: Enable ASIC polling by default#26520

Draft
frank-nexthop wants to merge 1 commit intosonic-net:masterfrom
nexthop-ai:frank.nh_asic_polling
Draft

sonic-platform-modules-nexthop: Enable ASIC polling by default#26520
frank-nexthop wants to merge 1 commit intosonic-net:masterfrom
nexthop-ai:frank.nh_asic_polling

Conversation

@frank-nexthop
Copy link
Copy Markdown

Within the Nexthop asic thermal class, set ASIC polling database values to platform.json defaults on the first polling iteration

fixes #26516

Why I did it

Currently, for Nexthop platforms, ASIC polling is not present in the config by default. This causes all ASIC temperatures to be displayed as 0 when running show plat temp.

Work item tracking
  • Microsoft ADO (number only):

How I did it

When thermalctld is started, when the temperatures are first polled, the Nexthop specific platform code will guarantee that the ASIC polling database values are set to the defaults set in platform.json. For all Nexthop platforms right now, this means that ASIC polling will be enabled by default.

How to verify it

Built a sonic image with this change, and loaded it onto a Nexthop device. Confirmed that on first boot ASIC polling works properly without any manual changes to the configuration/database.

Which release branch to backport (provide reason below if selected)

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Tested branch (Please provide the tested image version)

Description for the changelog

Within the Nexthop asic thermal class, set ASIC thermal polling database values to platform.json defaults on the first polling iteration.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

* Within asic thermal class, set ASIC polling database values to
  platform.json defaults on the first polling iteration

fixes sonic-net#26516

Signed-off-by: Frank Jiang <[email protected]>
@frank-nexthop frank-nexthop requested a review from lguohan as a code owner April 1, 2026 20:49
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 1, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: frank-nexthop / name: Frank Jiang (b74298a)

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@frank-nexthop frank-nexthop marked this pull request as draft April 1, 2026 21:17
@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Apr 2, 2026

/azpw ms_conflict

2 similar comments
@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Apr 2, 2026

/azpw ms_conflict

@yxieca
Copy link
Copy Markdown
Contributor

yxieca commented Apr 2, 2026

/azpw ms_conflict

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

Successfully merging this pull request may close these issues.

Enhancement: Enable ASIC temperature polling by default on Nexthop Platforms

3 participants