Conversation
Add custom-monitored IPv4 and IPv6 host-route regressions for sonic-mgmt#28320 and sonic-swss#4910. Require a competing APP_DB BGP route and preserve the VNET ASIC next hop and forwarding after withdrawal. Signed-off-by: Jing Zhang <26625909+zjswhhh@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Collaborator
|
/azp run |
github-actions
Bot
requested review from
lolyu,
wangxin and
yutongzhang-microsoft
September 30, 2026 17:56
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: Jing Zhang <26625909+zjswhhh@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
|
/azp run |
github-actions
Bot
requested review from
mramezani95,
rraghav-cisco and
theasianpianist
September 30, 2026 19:02
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary: Add a regression for VNET-first, same-prefix BGP withdrawal.
Fixes #28320. Related bug: sonic-net/sonic-swss#4910.
Type of change
Back port request
Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO): N/A; no backport requested.
Failure type: Test coverage gap.
Tested branch
Test result
The new test has not run on a SONiC image or testbed. Hardware validation is pending.
Approach
What is the motivation for this PR?
Existing cases do not cover activating VNET before adding and then withdrawing only BGP.
How did you do it?
Activate a custom-monitored VNET host route, add same-prefix BGP, confirm its APP_DB entry, and withdraw only BGP. Verify the original ASIC route/VR/next hop, monitor Up state, and VXLAN forwarding remain intact. Cover IPv4 /32 and IPv6 /128.
Disable VNET's local prefix advertisement only for this case so it cannot hide the competing BGP path. Reuse existing cleanup, remove synthetic monitor state, and make the neighbor helper support host prefixes.
Any platform specific information?
Inherits the suite's Cisco-8000, Mellanox, and VPP support; other platforms are skipped.
Supported testbed topology if it's a new test case?
T1, including t1-64-lag and t1-56-lag.
Documentation
The test docstring describes the regression sequence.