Skip to content

Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors#4007

Merged
yxieca merged 2 commits intosonic-net:masterfrom
manamand2020:muxcable_tunnel_route
Aug 8, 2025
Merged

Adapt 'show muxcable tunnel-route' for prefix route based mux neighbors#4007
yxieca merged 2 commits intosonic-net:masterfrom
manamand2020:muxcable_tunnel_route

Conversation

@manamand2020
Copy link
Contributor

@manamand2020 manamand2020 commented Jul 31, 2025

What I did

Mux neighbors now use prefix-based routes based on changes from the following PR:
sonic-net/sonic-swss#3722
Presence of route prefix for neighbors does not mean tunnel-route use anymore. Show command now uses nexthop type to distinguish between tunnel and normal neighbor route.

How I did it

How to verify it

Verified output on hardware.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@manamand2020 manamand2020 force-pushed the muxcable_tunnel_route branch from 88e2d60 to cb809d2 Compare July 31, 2025 22:15
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Manas Kumar Mandal <[email protected]>
@manamand2020 manamand2020 force-pushed the muxcable_tunnel_route branch from cb809d2 to 947b6d6 Compare August 1, 2025 15:37
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@zjswhhh zjswhhh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm mostly!

Can you also add UT to cover the case that when ROUTE exists, but next hop is non tunnel.

Copy link
Contributor

@lolyu lolyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, so no change to the command line output format right?

Signed-off-by: Manas Kumar Mandal <[email protected]>
@manamand2020
Copy link
Contributor Author

lgtm mostly!

Can you also add UT to cover the case that when ROUTE exists, but next hop is non tunnel.

Added entry in mock_tables which gets covered by existing test cases.

@manamand2020
Copy link
Contributor Author

LGTM, so no change to the command line output format right?

Yes, no change to command line output.

@zjswhhh
Copy link
Contributor

zjswhhh commented Aug 5, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca yxieca merged commit 50df9ea into sonic-net:master Aug 8, 2025
7 checks passed
YairRaviv pushed a commit to YairRaviv/sonic-utilities that referenced this pull request Jan 12, 2026
…rs (sonic-net#4007)

What I did
Mux neighbors now use prefix-based routes based on changes from the following PR:
sonic-net/sonic-swss#3722
Presence of route prefix for neighbors does not mean tunnel-route use anymore. Show command now uses nexthop type to distinguish between tunnel and normal neighbor route.

How to verify it
Verified output on hardware.

Signed-off-by: Manas Kumar Mandal <[email protected]>
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.

5 participants