Skip to content

[Mellanox] Provide default implementation for sfp error description when CMIS host management is enabled#17294

Merged
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-error-desc
Dec 5, 2023
Merged

[Mellanox] Provide default implementation for sfp error description when CMIS host management is enabled#17294
liat-grozovik merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:master-error-desc

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

Why I did it

Provide a dummy implementation for SFP error description when CMIS host management is enabled. A future feature shall be raised to implement SFP error description for such mode.

Work item tracking
  • Microsoft ADO (number only):

How I did it

  1. if SFP is under software control, provide "Not supported" as error description
  2. if SFP is under initialization, provide "Initializing" as error description

How to verify it

unit test

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

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

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)

@prgeor
Copy link
Copy Markdown
Contributor

prgeor commented Dec 5, 2023

@liat-grozovik please merge

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

Hi @yxieca , could you please help cherry-pick to 202311?

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jan 3, 2024
…hen CMIS host management is enabled (sonic-net#17294)

- Why I did it
Provide a dummy implementation for SFP error description when CMIS host management is enabled. A future feature shall be raised to implement SFP error description for such mode.

- How I did it
if SFP is under software control, provide "Not supported" as error description
if SFP is under initialization, provide "Initializing" as error description

- How to verify it
unit test
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202311: #17664

mssonicbld pushed a commit that referenced this pull request Jan 4, 2024
…hen CMIS host management is enabled (#17294)

- Why I did it
Provide a dummy implementation for SFP error description when CMIS host management is enabled. A future feature shall be raised to implement SFP error description for such mode.

- How I did it
if SFP is under software control, provide "Not supported" as error description
if SFP is under initialization, provide "Initializing" as error description

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