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

[test_iface_namingmode] Adjusted the test according to the new buffer queue/pg counters optimization #6431

Conversation

vadymhlushko-mlnx
Copy link
Contributor

Description of PR

Summary: Adjusted the test test_iface_namingmode.py according to the new buffer queue/pg counters optimization
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?

Because of the new implementation sonic-swss/pull/2432 from now on, there is a valid case if there are no multicast counters inside the COUNTERS_DB.

In order for multicast counters to be presented in COUNTERS_DB the appropriate queues should be configured inside the CONFIG_DB (e.g "BUFFER_QUEUE|Ethernet14|7-8")

How did you do it?

Change the testcases - test_show_queue_counters, test_show_queue_persistent_watermark_multicast, test_show_queue_watermark_multicast

How did you verify/test it?

Any platform specific information?

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

Documentation

… queue/pg counters optimization

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
@liat-grozovik
Copy link
Collaborator

@vadymhlushko-mlnx should we merge this first or should we merge the swss fix first? please define the order

@vadymhlushko-mlnx
Copy link
Contributor Author

@vadymhlushko-mlnx should we merge this first or should we merge the swss fix first? please define the order

You could merge, it will work without the swss changes

@neethajohn neethajohn self-requested a review October 10, 2022 16:00
@neethajohn neethajohn merged commit 7b0548f into sonic-net:master Oct 17, 2022
wangxin pushed a commit that referenced this pull request Oct 21, 2022
… queue/pg counters optimization (#6431)

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

What is the motivation for this PR?
Because of the new implementation sonic-swss/pull/2432 from now on, there is a valid case if there are no multicast counters inside the COUNTERS_DB.

In order for multicast counters to be presented in COUNTERS_DB the appropriate queues should be configured inside the CONFIG_DB (e.g "BUFFER_QUEUE|Ethernet14|7-8")

How did you do it?
Change the testcases - test_show_queue_counters, test_show_queue_persistent_watermark_multicast, test_show_queue_watermark_multicast
allen-xf pushed a commit to allen-xf/sonic-mgmt that referenced this pull request Oct 28, 2022
… queue/pg counters optimization (sonic-net#6431)

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>

What is the motivation for this PR?
Because of the new implementation sonic-swss/pull/2432 from now on, there is a valid case if there are no multicast counters inside the COUNTERS_DB.

In order for multicast counters to be presented in COUNTERS_DB the appropriate queues should be configured inside the CONFIG_DB (e.g "BUFFER_QUEUE|Ethernet14|7-8")

How did you do it?
Change the testcases - test_show_queue_counters, test_show_queue_persistent_watermark_multicast, test_show_queue_watermark_multicast
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.

4 participants