Skip to content

[Mellanox] Support PSU voltage high/low thresholds and power max threshold#82

Closed
stephenxs wants to merge 1 commit intomasterfrom
psu-voltage-threshold
Closed

[Mellanox] Support PSU voltage high/low thresholds and power max threshold#82
stephenxs wants to merge 1 commit intomasterfrom
psu-voltage-threshold

Conversation

@stephenxs
Copy link
Owner

@stephenxs stephenxs commented Sep 18, 2021

Why I did it

Support PSU voltage high/low thresholds and power max threshold

  • Add thresholds support for voltage and power.
    As thresholds are not supported on all platforms, we need to check the capability first and fetch thresholds only if it is supported.
  • Rename the original _read_generic_file to _read_numeric_file as it read numbers
  • Add _read_generic_file to read a string from files.

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

How I did it

How to verify it

Run regression test and manual test.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

- Add thresholds
- Rename the original _read_generic_file to _read_numeric_file as it read numbers
- Add _read_generic_file to read string from files

Signed-off-by: Stephen Sun <stephens@nvidia.com>
stephenxs pushed a commit that referenced this pull request Oct 8, 2021
e466ac226c48cf87f83aa5564efd7155ac97a0c1 (HEAD -> master, origin/master, origin/HEAD) Reject incorrect CIDR addresses while configuring routes (#91)
07cf59d866914ef7cb6901d51f289f0bee721e44 [CI] Set up Azure pipeline (#89)
47476acdfaf668ab0cd9ae2443205a3bdc2e9ef9 Upgrade Go version to 1.14 (#90)
ee887c785c10d8b4f70db90ca50cc398327c5d73 Added flag to make go/pkg/ folder writable (removable) (#87)
6cfc8fe110c46a1ee5a8430e02a440b5a7b4006d (origin/shilongliu/azp) Default Vrf static route support (#85)
d3e8b8e4aee278fa11d7d86acabdab3fffc70d5a Add BFD config to subinterface and neighbor (#68)
8d4fd4a56b637d3b7403c321aef36b8dff58cd62 Fix WS-2018-0594 potential non-random UUIDs security issue (#78)
fad87fa20f6b15e28c90e02a131c44d236d6a751 Update API description for default vrf and ecmp routes (#82)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@stephenxs stephenxs closed this Oct 15, 2021
stephenxs pushed a commit that referenced this pull request Nov 15, 2023
…utomatically (sonic-net#17083)

#### Why I did it
src/sonic-host-services
```
* beb8bbe - (HEAD -> master, origin/master, origin/HEAD) [DualToR][caclmgrd] Fix IPtables rules for multiple vlan interfaces for DualToR config (#82) (3 hours ago) [vdahiya12]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Dec 26, 2023
…utomatically (sonic-net#17229)

#### Why I did it
src/sonic-host-services
```
* 689395a - (HEAD -> 202305, origin/202305) Updated the iptable rule to use parent/base name of midplane interface of chassis. (#75) (2 days ago) [abdosi]
* 45212a8 - [DualToR][caclmgrd] Fix IPtables rules for multiple vlan interfaces for DualToR config (#82) (2 days ago) [vdahiya12]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Mar 20, 2024
…e latest HEAD automatically (sonic-net#18374)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* 13e6f1100 - (HEAD -> master, origin/master, origin/HEAD) Fix a memory leak introduced by last commit for high level EVP API #82 (64 minutes ago) [xumia]
|\ 
| failure_prs.log 225157a01 - Merge branch 'master' into master (3 days ago) [wumiao_nokia]
| |\ 
| |/ 
|/| 
* | 413704a6c - Provide CMAC high level API replacement #81 (4 days ago) [xumia]
| failure_prs.log c7eafc778 - Fix a memory leak introduced by last commit for high level EVP API for CMAC (3 days ago) [wumiao_nokia]
|/ 
* 8521d4abb - Fix a port issue (6 days ago) [wumiao_nokia]
* 01a39044a - Provide CMAC high level API replacement (6 days ago) [wumiao_nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Aug 8, 2025
…ically (sonic-net#23555)

#### Why I did it
src/sonic-dash-ha
```
* cfcc624 - (HEAD -> master, origin/master, origin/HEAD) Support protobuf fields. (#82) (9 hours ago) [dypet]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

2 participants