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

Update the copp test rate limits for queue4_group3 #10724

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prabhataravind
Copy link
Contributor

@prabhataravind prabhataravind commented Nov 13, 2023

Description of PR

  • Do not update default sonic config for queue4_group3 in scripts/update_copp_config.py as the new rate-limit for this copp group is lower than the default value of 600 PPS used by copp tests

  • Change constraint checks to reflect a rate-limit of 100 PPS for queue4_group3 in ansible/roles/test/files/ptftests/py3/copp_tests.py

  • This sonic-mgmt change is dependent on and should be merged only after the following buildimage change is merged:
    [image_config]: Update DHCP rate-limit sonic-buildimage#17132

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

DHCP/LLDP/UDLD are rate-limited at 100 PPS via SONiC copp configuration, so the test should also test at that limit.

How did you do it?

By changing the default PPS for DHCP/UDLD/LLDP in copp tests to be 100 PPS

How did you verify/test it?

By running copp tests and making sure DHCP/UDLD/LLDP are rate-limited at 100 PPS.

Any platform specific information?

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

Documentation

 * Do not update default sonic config for queue4_group3 in
   scripts/update_copp_config.py as the new rate-limit for this copp group
   is lower than the default value of 600 PPS used by copp tests

 * Change constraint checks to reflect a rate-limit of 300 PPS for
   queue4_group3 in ansible/roles/test/files/ptftests/py3/copp_tests.py

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
…00 PPS

 * This is necessary to prevent BGP/LACP protocol flaps in certain scenarios
   there is a flood of DHCP broadcast packets.

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
@prabhataravind prabhataravind marked this pull request as ready for review November 16, 2023 18:11
@prabhataravind
Copy link
Contributor Author

Cisco-8111 platform seems to have an issue which will cause it to fail this test once this PR is merged, so waiting to confirm with Cisco before merging this change in.

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