Skip to content

fix bgp update timer failure on dual tor#9423

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
jcaiMR:dev/jcai_fix_bgp_update_tm_dual
Aug 15, 2023
Merged

fix bgp update timer failure on dual tor#9423
StormLiangMS merged 1 commit intosonic-net:masterfrom
jcaiMR:dev/jcai_fix_bgp_update_tm_dual

Conversation

@jcaiMR
Copy link
Copy Markdown
Contributor

@jcaiMR jcaiMR commented Aug 13, 2023

Description of PR

Fix bgp update timer issue on dual tor env.

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Fix bug update timer issue on dual tor, when set up bgp speaker session with dual tor.
Interface selection on PTF has wrong behavior, config IP addresses within same subnet on different interfaces would case connection error. Refer to analysis of #8487.

How did you do it?

Config primary /secondary ip addresses on same physical interface.

How did you verify/test it?

re-run test on dual-tor env

Any platform specific information?

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

Documentation

@jcaiMR jcaiMR requested a review from StormLiangMS as a code owner August 13, 2023 14:54
@jcaiMR jcaiMR requested a review from XuChen-MSFT August 13, 2023 14:54
@jcaiMR jcaiMR changed the title fix bgp update timer dual tor failure fix bgp update timer failure on dual tor Aug 14, 2023
@bingwang-ms
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@yejianquan yejianquan 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.

@jcaiMR LGTM.

but small question, when we use ip address other than ifconfig?

@StormLiangMS StormLiangMS merged commit 5db3e4c into sonic-net:master Aug 15, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Aug 16, 2023
What is the motivation for this PR?
Fix bug update timer issue on dual tor, when set up bgp speaker session with dual tor.
Interface selection on PTF has wrong behavior, config IP addresses within same subnet on different interfaces would case connection error. Refer to analysis of sonic-net#8487.

How did you do it?
Config primary /secondary ip addresses on same physical interface.

How did you verify/test it?
re-run test on dual-tor env
@mssonicbld
Copy link
Copy Markdown
Collaborator

@jcaiMR PR conflicts with 202012 branch

@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #9473

@mssonicbld
Copy link
Copy Markdown
Collaborator

@jcaiMR PR conflicts with 202205 branch

@jcaiMR
Copy link
Copy Markdown
Contributor Author

jcaiMR commented Aug 16, 2023

@jcaiMR LGTM.

but small question, when we use ip address other than ifconfig?

ifconfig will overwrite previous ip address, it's a kind of operation for primary address. ip address will add primary/secondary ip
which can make multiple address on same interface.

mssonicbld pushed a commit that referenced this pull request Aug 18, 2023
What is the motivation for this PR?
Fix bug update timer issue on dual tor, when set up bgp speaker session with dual tor.
Interface selection on PTF has wrong behavior, config IP addresses within same subnet on different interfaces would case connection error. Refer to analysis of #8487.

How did you do it?
Config primary /secondary ip addresses on same physical interface.

How did you verify/test it?
re-run test on dual-tor env
wangxin pushed a commit that referenced this pull request Sep 8, 2023
wangxin pushed a commit that referenced this pull request Sep 8, 2023
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
What is the motivation for this PR?
Fix bug update timer issue on dual tor, when set up bgp speaker session with dual tor.
Interface selection on PTF has wrong behavior, config IP addresses within same subnet on different interfaces would case connection error. Refer to analysis of sonic-net#8487.

How did you do it?
Config primary /secondary ip addresses on same physical interface.

How did you verify/test it?
re-run test on dual-tor env
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