Skip to content

[Mellanox] Support PSU power threshold checking#11863

Merged
prgeor merged 3 commits intosonic-net:masterfrom
stephenxs:psu-power-threshold-platform-api
Nov 21, 2022
Merged

[Mellanox] Support PSU power threshold checking#11863
prgeor merged 3 commits intosonic-net:masterfrom
stephenxs:psu-power-threshold-platform-api

Conversation

@stephenxs
Copy link
Copy Markdown
Collaborator

@stephenxs stephenxs commented Aug 29, 2022

Why I did it

Support PSU power threshold checking on Mellanox platform: support platform APIs

  • get_psu_power_warning_suppress_threshold
  • get_psu_power_critical_threshold

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

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

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@stephenxs stephenxs force-pushed the psu-power-threshold-platform-api branch from 67e9e85 to 9c7bb4a Compare November 13, 2022 01:40
@stephenxs
Copy link
Copy Markdown
Collaborator Author

Rebased and force pushed just for resolving the conflicts.

…eshold

Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
@prgeor prgeor self-assigned this Nov 21, 2022
@prgeor prgeor merged commit 5d45759 into sonic-net:master Nov 21, 2022
@stephenxs stephenxs deleted the psu-power-threshold-platform-api branch November 21, 2022 22:58
StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this pull request Dec 8, 2022
* Support power threshold

Signed-off-by: Stephen Sun <stephens@nvidia.com>

* get_psu_power_warning_threshold => get_psu_power_warning_suppress_threshold

Signed-off-by: Stephen Sun <stephens@nvidia.com>

* Fix comments

Signed-off-by: Stephen Sun <stephens@nvidia.com>

Signed-off-by: Stephen Sun <stephens@nvidia.com>
StormLiangMS pushed a commit that referenced this pull request Dec 10, 2022
* Support power threshold

Signed-off-by: Stephen Sun <stephens@nvidia.com>

* get_psu_power_warning_threshold => get_psu_power_warning_suppress_threshold

Signed-off-by: Stephen Sun <stephens@nvidia.com>

* Fix comments

Signed-off-by: Stephen Sun <stephens@nvidia.com>

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

@stephenxs PR conflicts with 202211 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants