-
Notifications
You must be signed in to change notification settings - Fork 11
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
[counter] Clear counter table when dhcpmon init #14
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yaqiangz
force-pushed
the
master_fix_counter
branch
from
December 27, 2023 07:00
826854f
to
f71f8b9
Compare
@kellyyeh Could you help to review this PR? |
vivekrnv
approved these changes
Jan 4, 2024
kellyyeh
approved these changes
Jan 4, 2024
yaqiangz
added a commit
to yaqiangz/sonic-dhcpmon
that referenced
this pull request
Jan 8, 2024
yaqiangz
added a commit
that referenced
this pull request
Jan 10, 2024
[202311][counter] Clear counter table when dhcpmon init (#14) Cherry-pick from #14 Why I did it Fix issue sonic-net/sonic-buildimage#15047 dhcp counter didn't restore after config reload Work item tracking Microsoft ADO (number only): 26270786 How I did it Clear all counters when dhcpmon start Remove clear counter in initialize_counter since they are cleared in previous How to verify it Build debian packet and install in DUT do manually testing Run dhcp_relay test, all passed Signed-off-by: Yaqiang Zhu <yaqiangzhu@microsoft.com>
yaqiangz
added a commit
that referenced
this pull request
Jan 10, 2024
Cherry-pick from #14 Why I did it Fix issue sonic-net/sonic-buildimage#15047 dhcp counter didn't restore after config reload Work item tracking Microsoft ADO (number only): 26270786 How I did it Clear all counters when dhcpmon start Remove clear counter in initialize_counter since they are cleared in previous How to verify it Build debian packet and install in DUT do manually testing Run dhcp_relay test, all passed
@yaqiangz @StormLiangMS This fix is not included in 202305 branch. Can you please update submodule in 202305? |
sonic-net/sonic-buildimage#17952 |
yaqiangz
added a commit
to yaqiangz/sonic-dhcpmon
that referenced
this pull request
Feb 29, 2024
This reverts commit bace2e0.
yaqiangz
added a commit
to yaqiangz/sonic-dhcpmon
that referenced
this pull request
Mar 5, 2024
This reverts commit bace2e0.
kellyyeh
added a commit
to kellyyeh/sonic-dhcpmon
that referenced
this pull request
Mar 6, 2024
This reverts commit bace2e0.
yaqiangz
pushed a commit
to yaqiangz/sonic-dhcpmon
that referenced
this pull request
May 31, 2024
* Revert "[counter] Clear counter table when dhcpmon init (sonic-net#14)" This reverts commit bace2e0. * Revert "Merge pull request sonic-net#13 from jcaiMR/dev/jcai_master_interface_counter" This reverts commit 7c55e50, reversing changes made to a3c5381. * Revert "refine counting logic" This reverts commit 085a087.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why I did it
Fix issue sonic-net/sonic-buildimage#15047
dhcp counter didn't restore after config reload
Work item tracking
How I did it
initialize_counter
since they are cleared in previousHow to verify it