dhcp per-interface counter support#13
Merged
StormLiangMS merged 3 commits intosonic-net:masterfrom Sep 14, 2023
Merged
Conversation
e427246 to
adbcec1
Compare
kellyyeh
approved these changes
Sep 8, 2023
0d956a3 to
5cb4468
Compare
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.
Merged
This file contains hidden or 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
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
Per-interface counter support for dhcp packets in dhcpmon.
Work item tracking
How I did it
Add "DHCP_COUNTER_TABLE|" in Redis STATE_DB.
How to verify it
Maunally test and run test_dhcp_relay.py
Test log