Skip to content

[code sync] Merge code from sonic-net/sonic-platform-common:202505 to 202506#107

Merged
mssonicbld merged 2 commits intoAzure:202506from
mssonicbld:sonicbld/202506-merge
Sep 19, 2025
Merged

[code sync] Merge code from sonic-net/sonic-platform-common:202505 to 202506#107
mssonicbld merged 2 commits intoAzure:202506from
mssonicbld:sonicbld/202506-merge

Conversation

@mssonicbld
Copy link
Collaborator

* fb49c9f - (origin/202505) Fix health check for SSD vendors: add a parser for ATP, and add a generic health ID for other brands (#598) (2025-09-18) [mssonicbld]<br>```

mssonicbld and others added 2 commits September 18, 2025 15:12
…eric health ID for other brands (#598)

#### Description

Fix health check for SSD vendors: add a parser for ATP, and add a generic health ID for other brands.
Each vendor stores health information in different SMART attributes.
ATP stores it in attribute ID 248, we add a parser for it.
We also have SSDs use Attribute ID 231 and it is commonly used, so add it in the generic parser.
Skip obtaining vendor SSD info for ATP and Virtium NVMe SSD because they are handle by parse_generic_ssd_info and parse_vendor_ssd_info will overwrite data with N/A.
Add unit test cases for ATP SATA/NVMe SSD.

#### Motivation and Context

`show platform ssdhealth` shows N/A health for some qualified SSDs.

#### Back port request
- [x] 202412
- [x] 202505

#### How Has This Been Tested?

We have tested the code change on DUTs with different SSDs including all the qualified SSDs that show N/A in health and also on the ones that worked fine before.
@mssonicbld mssonicbld merged commit 1607c2c into Azure:202506 Sep 19, 2025
3 checks passed
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.

1 participant