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

[Mellanox] Fix issues found for CMIS host management #17637

Merged

Conversation

Junchao-Mellanox
Copy link
Collaborator

Why I did it

  1. thermal updater should wait more time for module to be initialized
  2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
  3. rename sfp function to fix typo
  4. sfp.get_presence should return False if module is under initialization
Work item tracking
  • Microsoft ADO (number only):

How I did it

  1. thermal updater should wait more time for module to be initialized
  2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
  3. rename sfp function to fix typo
  4. sfp.get_presence should return False if module is under initialization

How to verify it

Manual test
Unit test

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @prgeor , @keboliu , could you please kindly review it?

@Junchao-Mellanox
Copy link
Collaborator Author

Hi @liat-grozovik , could you please help merge this?

@liat-grozovik liat-grozovik merged commit ee49d0d into sonic-net:master Jan 4, 2024
12 checks passed
@Junchao-Mellanox Junchao-Mellanox deleted the master-fix-thermal-updater branch January 19, 2024 06:52
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jan 19, 2024
- Why I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How to verify it
Manual test
Unit test
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #17861

mssonicbld pushed a commit that referenced this pull request Jan 19, 2024
- Why I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How I did it
1. Thermal updater should wait more time for module to be initialized
2. sfp should get temperature threshold from EEPROM because SDK sysfs is not yet supported
3. Rename sfp function to fix typo
4. sfp.get_presence should return False if module is under initialization

- How to verify it
Manual test
Unit test
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