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

[enable counters] provide initial rates parameters #5048

Merged
merged 4 commits into from
Nov 18, 2020

Conversation

mykolaf
Copy link
Collaborator

@mykolaf mykolaf commented Jul 27, 2020

Signed-off-by: Mykola Faryma [email protected]

- Why I did it
The lua plugins port_rates.lua and rif_rates.lua rely on the parameter of alpha. We should provide some a default value for this.
Currently the scripts flood with error because of missing value from db.
- How I did it

- How to verify it
Run the lua script, finishes with no error.
- Which release branch to backport (provide reason below if seleted)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

akokhan
akokhan previously approved these changes Jul 28, 2020
@liat-grozovik liat-grozovik requested a review from nazariig July 28, 2020 17:34
@lguohan lguohan linked an issue Jul 29, 2020 that may be closed by this pull request
@akokhan
Copy link
Contributor

akokhan commented Aug 12, 2020

@lguohan , @liat-grozovik , please approve and merge.

Signed-off-by: Mykola Faryma <[email protected]>
liat-grozovik
liat-grozovik previously approved these changes Aug 12, 2020
@akokhan
Copy link
Contributor

akokhan commented Aug 13, 2020

retest vsimage please

lguohan
lguohan previously approved these changes Sep 8, 2020
@lguohan
Copy link
Collaborator

lguohan commented Sep 8, 2020

can you resolve the conflict?

@liat-grozovik
Copy link
Collaborator

@volodymyrsamotiy can you please handle the conflicts on behalf of mykola so we can forward with the merge?

…to fix_rates

Signed-off-by: Volodymyr Samotiy <[email protected]>

Conflicts:
	dockers/docker-orchagent/enable_counters.py
@vboykox
Copy link
Member

vboykox commented Sep 24, 2020

retest broadcom please

1 similar comment
@liat-grozovik
Copy link
Collaborator

retest broadcom please

liat-grozovik
liat-grozovik previously approved these changes Sep 30, 2020
lguohan
lguohan previously approved these changes Oct 20, 2020
@lguohan
Copy link
Collaborator

lguohan commented Oct 20, 2020

is there a dependency between this pr and the pr in sonic utilities?

sonic-net/sonic-utilities#817

…to fix_rates

Conflicts:
	dockers/docker-orchagent/enable_counters.py
@liat-grozovik
Copy link
Collaborator

is there a dependency between this pr and the pr in sonic utilities?

Azure/sonic-utilities#817

The dependency are on merged PRs
sonic-net/sonic-swss-common#330
sonic-net/sonic-sairedis#562
sonic-net/sonic-swss#1201

@liat-grozovik liat-grozovik merged commit bbbd94f into sonic-net:master Nov 18, 2020
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
* [enable counters] provide initial rates parameters

Signed-off-by: Mykola Faryma <[email protected]>

* add descriptive comment

Signed-off-by: Mykola Faryma <[email protected]>

Co-authored-by: Volodymyr Samotiy <[email protected]>
@zhaoxiaoke
Copy link

test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Caught exception while running Redis lua script
7 participants