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

[portorch] Add capability to add unreliable LOS setting to a PORT via config #3472

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

Conversation

vdahiya12
Copy link
Contributor

@vdahiya12 vdahiya12 commented Jan 15, 2025

What I did
This pull request introduces a new capability in the SONiC system: support for handling ports with "unreliable loss of signal" (unreliable LOS). The aim is to improve how the system manages situations where ports intermittently fail to detect signals reliably.

Why I did it
The implementation includes new helper methods. Functions like getUnreliableLosStr and parsePortUnreliableLos have been introduced to handle the conversion and parsing of the unreliable LOS field during configuration processing. The existing parsePortConfig method has been updated to integrate these changes seamlessly, ensuring the system correctly interprets and applies the new settings.

A new schema entry, PORT_UNRELIABLE_LOS, has been defined to standardize how this configuration is represented and handled across the system

How I verified it

Details if related

config

Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 requested a review from prsunny as a code owner January 15, 2025 22:40
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@vdahiya12 vdahiya12 requested a review from prgeor January 15, 2025 22:43
Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Vaibhav Dahiya <vdahiya@microsoft.com>
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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