Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added WDC ssd health #300

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

deran1980
Copy link

@deran1980 deran1980 commented Aug 15, 2022

Signed-off-by: Eran Dahan [[email protected]]

  • What I did
    Added support for a new SSD appliance from WDC

  • How I did it

Modify ssd_genric.py to extend support of a new SSD

  • How to verify it

Verify on Accton platform (based on Xsight ASIC) with WDC SSD

  • Description for the changelog

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 15, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@lgtm-com
Copy link

lgtm-com bot commented Aug 15, 2022

This pull request introduces 1 alert when merging 844e65e into 030a382 - view on LGTM.com

new alerts:

  • 1 for Except block handles 'BaseException'

@deran1980
Copy link
Author

@prgeor can you please assist in reviewing this PR?

@deran1980
Copy link
Author

Hi @stephenxs - can you help with review of this PR?

prgeor
prgeor previously approved these changes Dec 1, 2023
@prgeor
Copy link
Collaborator

prgeor commented Dec 1, 2023

@assrinivasan could you review

@prgeor prgeor added the SSD label Dec 1, 2023
@prgeor
Copy link
Collaborator

prgeor commented Dec 1, 2023

@deran1980 could you add code coverage?

@assrinivasan assrinivasan self-requested a review December 1, 2023 20:37
Copy link
Contributor

@msosyak msosyak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prgeor All checks have passed. Could you merge this PR?

tests/ssd_generic_test.py Outdated Show resolved Hide resolved
self.firmware = self._parse_re('Firmware Version:\s*(.+?)\n', self.ssd_info)
try:
if ("SDASN8Y1T00" == self.model.split(' ')[3]):
self.nand_endurance = 400 * 1000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @deran1980 - could you please elaborate on why NAND endurance is set to this value?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-platform-common that referenced this pull request Oct 25, 2024
Signed-off-by: maipbui <[email protected]>

Signed-off-by: maipbui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants