Skip to content

Fix breakage for smartswitch usecase#3999

Closed
venkit-nexthop wants to merge 97 commits intosonic-net:masterfrom
venkit-nexthop:master
Closed

Fix breakage for smartswitch usecase#3999
venkit-nexthop wants to merge 97 commits intosonic-net:masterfrom
venkit-nexthop:master

Conversation

@venkit-nexthop
Copy link
Copy Markdown
Contributor

@venkit-nexthop venkit-nexthop commented Nov 15, 2025

What I did
Make fpmsyncd use the mgmt vrf to bind to zmq when configured.

Why I did it
Refer to sonic-net/sonic-buildimage#19638 The previous PR (#3979) inadvertantly caused the above issue.
This commit fixes that by connecting to zmq from fpmsyncd using the vrf as well (if one is configured)

How I verified it
By ensuring that when mgmt vrf is configured, FRR routes are programmed correctly via orchagent.

I also ran test_gnmi_zmq.py with the following diff and it ran successfully.

--- a/tests/zmq/test_gnmi_zmq.py
+++ b/tests/zmq/test_gnmi_zmq.py
@@ -28,6 +28,7 @@ def save_reload_config(duthost):
     orchagent_pid = get_pid(duthost, "orchagent")
     telemetry_pid = get_pid(duthost, "telemetry")

+    duthost.shell("sudo config vrf add mgmt", module_ignore_errors=True)
     result = duthost.shell("sudo config save -y", module_ignore_errors=True)
     logger.debug("Save config: {}".format(result))
     result = duthost.shell("sudo config reload -y -f", module_ignore_errors=True)

Details if related

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-swss

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

tagging @dgsudharsan as well.

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 3999 in repo sonic-net/sonic-swss

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 3999 in repo sonic-net/sonic-swss

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

/AzurePipelines run Azure.sonic-swss

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 3999 in repo sonic-net/sonic-swss

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

venkit-nexthop and others added 6 commits January 13, 2026 00:45
Signed-off-by: Venkit Kasiviswanathan <[email protected]>
…ndatory.

Signed-off-by: mint570 <[email protected]>
Signed-off-by: Venkit Kasiviswanathan <[email protected]>
Signed-off-by: SRAVANI KANASANI <[email protected]>
Signed-off-by: Venkit Kasiviswanathan <[email protected]>
What I did
[LPO] Added support for serdes Tx/Rx polarity settings

Why I did it
To set the polarity for Tx and Rx serdes lanes as needed for LPO optics

Signed-off-by: Venkit Kasiviswanathan <[email protected]>
- What I did
Check if SAI_DASH_APPLIANCE_ATTR_LOCAL_REGION_ID is implemented before attempting to create the dash appliance object.

- Why I did it
This prevents error handling for SAI_STATUS_NOT_IMPLEMENTED by proactively checking attribute capability using sai_query_attribute_capability.

- Changes:
Add capability check before creating dash appliance object
Only create appliance if attribute is supported and implemented
How I verified it
Run DASH FNIC test

Signed-off-by: Oleksandr Ivantsiv <[email protected]>
Co-authored-by: Sudharsan Dhamal Gopalarathnam <[email protected]>
Signed-off-by: Venkit Kasiviswanathan <[email protected]>
Signed-off-by: Venkit Kasiviswanathan <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

I am going to abandon this PR and am going to create a new one from a fresh fork. This is because I hitting this DCO error which is very painful for me to fix (based on the suggested way).

1 similar comment
@venkit-nexthop
Copy link
Copy Markdown
Contributor Author

I am going to abandon this PR and am going to create a new one from a fresh fork. This is because I hitting this DCO error which is very painful for me to fix (based on the suggested way).

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.