-
Notifications
You must be signed in to change notification settings - Fork 1.2k
CoPP Neighbor Miss Trap and Other Enhancements HLD #1943
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
Merged
Merged
Conversation
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
/azp run |
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
@prabhataravind , please review as this should cover subnet trap. |
/azp run |
No pipelines are associated with this pull request. |
/azp run |
No pipelines are associated with this pull request. |
/azp run |
No pipelines are associated with this pull request. |
/azp run |
No pipelines are associated with this pull request. |
/azp run |
No pipelines are associated with this pull request. |
prsunny
reviewed
Mar 25, 2025
Can you please test trap flow counters with this feature? |
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
Apr 22, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
May 10, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-utilities
that referenced
this pull request
May 10, 2025
What I did: CoPP show commands: * show copp configuration * show copp configuration detailed --trapid <trap_id> * show copp configuration detailed --group <group> Added UT for the CLI commands. HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-buildimage
that referenced
this pull request
May 10, 2025
Added copp default configuration for neighbor_miss trap type to copp_cfg.json HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-utilities
that referenced
this pull request
May 19, 2025
What I did: CoPP show commands: * show copp configuration * show copp configuration detailed --trapid <trap_id> * show copp configuration detailed --group <group> Added UT for the CLI commands. HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-buildimage
that referenced
this pull request
May 19, 2025
Added copp default configuration for neighbor_miss trap type to copp_cfg.json HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
May 19, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-sairedis
that referenced
this pull request
May 19, 2025
1. vslib support for SAI_OBJECT_TYPE_HOSTIF_TRAP, attribute - SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE 2. Added UT for SAI_OBJECT_TYPE_HOSTIF_TRAP 3. Added UT for SAI_OBJECT_TYPE_DEBUG_COUNTER HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-utilities
that referenced
this pull request
May 22, 2025
What I did: CoPP show commands: * show copp configuration * show copp configuration detailed --trapid <trap_id> * show copp configuration detailed --group <group> Added UT for the CLI commands. HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-swss-common
that referenced
this pull request
May 22, 2025
HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-buildimage
that referenced
this pull request
May 22, 2025
Added copp default configuration for neighbor_miss trap type to copp_cfg.json HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
May 22, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-buildimage
that referenced
this pull request
May 26, 2025
Added copp default configuration for neighbor_miss trap type to copp_cfg.json HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-sairedis
that referenced
this pull request
May 30, 2025
1. vslib support for SAI_OBJECT_TYPE_HOSTIF_TRAP, attribute - SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE 2. Added UT for SAI_OBJECT_TYPE_HOSTIF_TRAP 3. Added UT for SAI_OBJECT_TYPE_DEBUG_COUNTER HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
qiluo-msft
pushed a commit
to sonic-net/sonic-swss-common
that referenced
this pull request
May 30, 2025
What I did Added the COPP_TRAP_CAPABILITY_TABLE table definition to schema.h Why I did it Details in HLD: sonic-net/SONiC#1943
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
May 31, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-buildimage
that referenced
this pull request
May 31, 2025
Added copp default configuration for neighbor_miss trap type to copp_cfg.json HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-sairedis
that referenced
this pull request
May 31, 2025
1. vslib support for SAI_OBJECT_TYPE_HOSTIF_TRAP, attribute - SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE 2. Added UT for SAI_OBJECT_TYPE_HOSTIF_TRAP 3. Added UT for SAI_OBJECT_TYPE_DEBUG_COUNTER HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
@dgsudharsan , would you approve? |
dgsudharsan
approved these changes
Jun 3, 2025
selva-nexthop
approved these changes
Jun 9, 2025
@prabhataravind , Merging the HLD. Please review #3624 |
rminnikanti
added a commit
to rminnikanti/sonic-utilities
that referenced
this pull request
Jun 10, 2025
What I did: CoPP show commands: * show copp configuration * show copp configuration detailed --trapid <trap_id> * show copp configuration detailed --group <group> Added UT for the CLI commands. HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
Jun 10, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db * Added UT and mock tests HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
saiarcot895
added a commit
to sonic-net/sonic-sairedis
that referenced
this pull request
Jun 10, 2025
* [vslib]: hostif enum capability query API support 1. vslib support for SAI_OBJECT_TYPE_HOSTIF_TRAP, attribute - SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE 2. Added UT for SAI_OBJECT_TYPE_HOSTIF_TRAP 3. Added UT for SAI_OBJECT_TYPE_DEBUG_COUNTER HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]> * Added comments in unittest Added unittest comments to satisfy PR checks. Signed-off-by: Ravi Minnikanti <[email protected]> --------- Signed-off-by: Ravi Minnikanti <[email protected]> Co-authored-by: Saikrishna Arcot <[email protected]>
qiluo-msft
pushed a commit
to sonic-net/sonic-utilities
that referenced
this pull request
Jun 13, 2025
What I did: Added CoPP show commands: show copp configuration show copp configuration detailed --trapid <trap_id> show copp configuration detailed --group <group> Added UT for the CLI commands. Why I did it Details in HLD: sonic-net/SONiC#1943 How to verify it Verified with UT
rminnikanti
added a commit
to rminnikanti/sonic-swss
that referenced
this pull request
Jun 17, 2025
What I did * Added neighbor_miss trap type support * enum capability query for hostif trap type * Added trap hw_status field to state_db * Added UT and mock tests HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <[email protected]>
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.
HLD for CoPP Neighbor Miss Trap type support and Other CoPP Enhancements
What we did:
PRs: