Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ExaBGP v3 and v4 flask based process API with tornado #16834

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

opcoder0
Copy link
Contributor

@opcoder0 opcoder0 commented Feb 6, 2025

Description of PR

Replace the Flask based ExaBGP process API with tornado-based application. Tornado handles large number of requests with higher payload sizes automatically while Flask+Werkzeug requires additional setting changes which can be avoided keeping the code cleaner.

Merge after sonic-net/sonic-buildimage#21655

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

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Replace the Flask based ExaBGP process API with tornado-based application. Tornado handles large number of requests with higher payload sizes automatically while Flask+Werkzeug requires additional setting changes which can be avoided keeping the code cleaner.

How did you do it?

Replace ExaBGP process API with Tornado app.

How did you verify/test it?

Ran add, remove topology to check announce routes
Ran route stress test to verify it is stable

Any platform specific information?

None

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

NA

Documentation

NA

Replace the Flask based ExaBGP process API with tornado-based
application. Tornado handles large number of requests with higher
payload sizes automatically while Flask+Werkzeug requires additional
setting changes which can be avoided keeping the code cleaner.
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants