Skip to content

[y_cable] refactor y_cable to a seperate logic and new daemon from xcvrd#237

Merged
vdahiya12 merged 4 commits intosonic-net:202012from
vdahiya12:update-202012
Jan 31, 2022
Merged

[y_cable] refactor y_cable to a seperate logic and new daemon from xcvrd#237
vdahiya12 merged 4 commits intosonic-net:202012from
vdahiya12:update-202012

Conversation

@vdahiya12
Copy link
Copy Markdown
Contributor

@vdahiya12 vdahiya12 commented Jan 28, 2022

  • [xcvrd] support for integrating y cable within xcvrd

This PR separates the logic of Y-Cable from xcvrd. Before this change we were utilizing xcvrd daemon to control all aspects of Y-Cable right from initialization to processing requests from other entities like orch,linkmgr.
Now we would have another daemon ycabled which will serve this purpose.
Logically everything still remains the same from the perspective of other daemons.
it also take care aspects like init/delete daemon from Y-Cable perspective.


xcvrd                            RUNNING   pid 33, uptime 20:02:58
ycabled                          RUNNING   pid 218, uptime 0:22:12

Motivation and Context
Required for separating the logic of Y-Cable from xcvrd. This is to ensure that the daemon always works and responds to linkmgr to address its requests

How Has This Been Tested?
Built an image with the changes and ran dualtor specific tests on the change on a 7050cx3 testbed.
Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com

Separate PR because cherry-pick had conflicts
#219

Description

Motivation and Context

How Has This Been Tested?

Additional Information (Optional)

…vrd (sonic-net#219)

* [xcvrd] suuport for integrating y cable within xcvrd

This PR separates the logic of Y-Cable from xcvrd. Before this change we were utilizing xcvrd daemon to control all aspects of Y-Cable right from initialization to processing requests from other entities like orch,linkmgr.
Now we would have another daemon ycabled which will serve this purpose.
Logically everything still remains the same from the perspective of other daemons.
it also take care aspects like init/delete daemon from Y-Cable perspective.

dependent-startup                EXITED    Jan 18 05:40 AM

xcvrd                            RUNNING   pid 33, uptime 20:02:58
ycabled                          RUNNING   pid 218, uptime 0:22:12
Motivation and Context
Required for separating the logic of Y-Cable from xcvrd. This is to ensure that the daemon always works and responds to linkmgr to address its requests

How Has This Been Tested?
Built an image with the changes and ran dualtor specific tests on the change on a 7050cx3 testbed.
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 requested a review from prgeor January 28, 2022 04:41
@prgeor prgeor self-assigned this Jan 28, 2022
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 28, 2022

This pull request introduces 1 alert when merging bc3bed5 into 9acb2f9 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 28, 2022

This pull request introduces 1 alert when merging b1138ba into 9acb2f9 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 28, 2022

This pull request introduces 1 alert when merging 44cfe62 into 9acb2f9 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
@vdahiya12 vdahiya12 merged commit 0328497 into sonic-net:202012 Jan 31, 2022
vdahiya12 pushed a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
* [SFP-Refactor] Implement CMIS LP mode
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.

2 participants