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

[tests/copp]: Update copp mgmt tests to support new rate-limits #8199

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

prabhataravind
Copy link
Contributor

@prabhataravind prabhataravind commented May 3, 2023

Description of PR

Summary:
Fixes # 17964421

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?

It was observed that a flood of DHCP packets without rate-limiting can cause BGP flaps or lacp keepalive losses.

How did you do it?

Enable rate-limiting for all traffic types to prevent such BGP flaps.

How did you verify/test it?

By injecting DHCP traffic at a fast enough rate and verifying that they are indeed throttled.

Any platform specific information?

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

Documentation

@prabhataravind
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

 * Rate limits are being set for bgp, lacp, dhcp, lldp,
   udld and macsec via a copp cfg change. This is the corresponding
   sonic-mgmt change

Signed-off-by: Prabhat Aravind <[email protected]>
@neethajohn
Copy link
Contributor

neethajohn commented Oct 18, 2023

Please also state the dependency on the buildimage PR explicitly in the description so that the merge for this one happens after the other PR

 * Updated comments for new rate limiting configurations

Signed-off-by: Prabhat Aravind <[email protected]>
@prabhataravind
Copy link
Contributor Author

Please also state the dependency on the buildimage PR explicitly in the description so that the merge for this one happens after the other PR

Done. Thanks!

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #10615

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Nov 2, 2023
…c-net#8199)

* [tests/copp]: Update copp mgmt tests to support new rate-limits
* Rate limits are being set for bgp, lacp, dhcp, lldp, udld and macsec via a copp cfg change. This is the corresponding
   sonic-mgmt change
mssonicbld pushed a commit that referenced this pull request Nov 2, 2023
* [tests/copp]: Update copp mgmt tests to support new rate-limits
* Rate limits are being set for bgp, lacp, dhcp, lldp, udld and macsec via a copp cfg change. This is the corresponding
   sonic-mgmt change
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.

5 participants