Skip to content

Update the way of shutdown bgp service in qos sai test#15108

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
echuawu:update_bgp_shutdown_method
Dec 11, 2024
Merged

Update the way of shutdown bgp service in qos sai test#15108
liat-grozovik merged 1 commit intosonic-net:masterfrom
echuawu:update_bgp_shutdown_method

Conversation

@echuawu
Copy link
Contributor

@echuawu echuawu commented Oct 23, 2024

Description of PR

Update the way of shutdown bgp service in qos sai test
The original way of setting bgp down would be too slow especially for CPUs which are not that strong.
And the bgp routes would be delay handled after several minutes, it would affect the qos buffer test result

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

The original way of setting bgp down would be too slow especially for CPUs which are not that strong.
And the bgp routes would be delay handled after several minutes, it would affect the qos buffer test result

How did you do it?

Use bgp shutdown/start to control bgp

How did you verify/test it?

Run it in internal regression

Any platform specific information?

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

Documentation

Update the way of shutdown bgp service in qos sai test
In MSN2700 T0 setup, the original way of setting bgp down would be too slow
And the bgp routes would be delay handled after several minutes, it would affect the qos buffer test result
@bingwang-ms
Copy link
Collaborator

@XuChen-MSFT Can you help review?

@liat-grozovik liat-grozovik merged commit 404fe4a into sonic-net:master Dec 11, 2024
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Jan 13, 2025
- What is the motivation for this PR?
The original way of setting bgp down would be too slow especially for CPUs which are not that strong.
And the bgp routes would be delay handled after several minutes, it would affect the qos buffer test result

- How did you do it?
Use bgp shutdown/start to control bgp

- How did you verify/test it?
Run it in internal regression
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #16473

mssonicbld pushed a commit that referenced this pull request Jan 13, 2025
- What is the motivation for this PR?
The original way of setting bgp down would be too slow especially for CPUs which are not that strong.
And the bgp routes would be delay handled after several minutes, it would affect the qos buffer test result

- How did you do it?
Use bgp shutdown/start to control bgp

- How did you verify/test it?
Run it in internal regression
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