Skip to content

Fix bgp notification test#10127

Merged
StormLiangMS merged 1 commit intosonic-net:masterfrom
zbud-msft:fix_bgp_notification_event
Sep 27, 2023
Merged

Fix bgp notification test#10127
StormLiangMS merged 1 commit intosonic-net:masterfrom
zbud-msft:fix_bgp_notification_event

Conversation

@zbud-msft
Copy link
Copy Markdown
Contributor

@zbud-msft zbud-msft commented Sep 26, 2023

Description of PR

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?

Add step in bgp holdtimer repro to list iptables rules.

The default chain policy is to accept all packets. When I add the rule to drop all packets (including bgp packets), when we list the iptable rules, the rules are reevaluated such that they take place into effect.

How did you do it?

code change

How did you verify/test it?

manual/pipeline

Any platform specific information?

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

Documentation

@zbud-msft zbud-msft marked this pull request as ready for review September 26, 2023 01:10
Copy link
Copy Markdown
Contributor

@qiluo-msft qiluo-msft left a comment

Choose a reason for hiding this comment

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

LGTM. Please also ask @StormLiangMS to review.

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 2eaa7fd into sonic-net:master Sep 27, 2023
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
What is the motivation for this PR?
Add step in bgp holdtimer repro to list iptables rules.

The default chain policy is to accept all packets. When I add the rule to drop all packets (including bgp packets), when we list the iptable rules, the rules are reevaluated such that they take place into effect.

How did you do it?
code change

How did you verify/test it?
manual/pipeline
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.

3 participants