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

[dualtor-io] Support using fix source IP for upstream packets #15554

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

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Nov 14, 2024

Description of PR

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?

Let's make the packets for each server belongs to same TCP flow, SONiC will use the same route to forward it.
So any route change will forward/drop all the packets from the same server.

How did you do it?

Use fixed IP to generate packets for a single server.

How did you verify/test it?

dualtor_io/test_tor_bgp_failure.py::test_active_tor_kill_bgpd_upstream[active-standby] PASSED                                                                                                                                                                          [100%]^

Any platform specific information?

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

Documentation

Signed-off-by: Longxiang <lolv@microsoft.com>
@lolyu lolyu marked this pull request as ready for review November 14, 2024 08:04
@lolyu lolyu requested review from yxieca and zjswhhh November 14, 2024 08:08
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.

1 participant