Skip to content

Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topos#21708

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
dayouliu1:fix-test-default-route-t0-iso
Feb 26, 2026
Merged

Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topos#21708
StormLiangMS merged 1 commit intosonic-net:masterfrom
dayouliu1:fix-test-default-route-t0-iso

Conversation

@dayouliu1
Copy link
Copy Markdown
Contributor

@dayouliu1 dayouliu1 commented Dec 16, 2025

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
@dayouliu1 dayouliu1 force-pushed the fix-test-default-route-t0-iso branch from 8a28293 to 096598e Compare December 16, 2025 21:51
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dayouliu1
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dayouliu1
Copy link
Copy Markdown
Contributor Author

Current Github check timed out, failure does not seem related to the change

@dayouliu1
Copy link
Copy Markdown
Contributor Author

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Copy Markdown
Collaborator

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Contributor

@Gfrom2016 Gfrom2016 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@StormLiangMS StormLiangMS left a comment

Choose a reason for hiding this comment

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

LGTM

@StormLiangMS StormLiangMS merged commit d4e3306 into sonic-net:master Feb 26, 2026
17 checks passed
@StormLiangMS StormLiangMS added the Request for 202511 branch Request to backport a change to 202511 branch label Feb 26, 2026
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 26, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: mssonicbld <sonicbld@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202511: #22640

vmittal-msft pushed a commit that referenced this pull request Feb 27, 2026
#22640)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: mssonicbld <sonicbld@microsoft.com>
Co-authored-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
@sdszhang
Copy link
Copy Markdown
Contributor

sdszhang commented Mar 1, 2026

Hi @dayouliu1, PT neighbors are expected to advertise default route. seems it was broken recently. #22565 has opened to correct the behavior.

aronovic pushed a commit to aronovic/sonic-mgmt that referenced this pull request Mar 3, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: Mihut Aronovici <aronovic@cisco.com>
rraghav-cisco pushed a commit to rraghav-cisco/sonic-mgmt that referenced this pull request Mar 3, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: Raghavendran Ramanathan <rraghav@cisco.com>
selldinesh pushed a commit to selldinesh/sonic-mgmt that referenced this pull request Mar 16, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: selldinesh <dinesh.sellappan@keysight.com>
abhishek-nexthop pushed a commit to nexthop-ai/sonic-mgmt that referenced this pull request Mar 17, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: Abhishek <abhishek@nexthop.ai>
vrajeshe pushed a commit to vrajeshe/sonic-mgmt that referenced this pull request Mar 23, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
Signed-off-by: Venkata Gouri Rajesh Etla <vrajeshe@cisco.com>
ravaliyel pushed a commit to ravaliyel/sonic-mgmt that referenced this pull request Mar 27, 2026
…net#21708)

What is the motivation for this PR?
Fix test_default_route_with_bgp_flap for t0-isolated-d32u32s2 and related topologies with PT0 TOR neighbours. We do not count the PT0 TOR peers as upstream neighbours in this scenario as they do not announce default routes.

Signed-off-by: Dayou Liu <113053330+dayouliu1@users.noreply.github.com>
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.

6 participants