[orchagent] CoPP neighbor miss trap and enhancements#3624
[orchagent] CoPP neighbor miss trap and enhancements#3624prsunny merged 3 commits intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
4426b26 to
878b552
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@prsunny @kcudnik PR check compilation failing because of dependency on sonic-swss-common PR - sonic-net/sonic-swss-common#1010 |
|
there is no way to run code without dependency checked in, technically you could modify azure pipeline to pull swss common at specific commit, compile it and then build against that, but this is not standard approach and it would break everything else |
|
Thank you for your response. Can the dependency PR be merged to allow the PR checks to run on this PR? |
878b552 to
7137a39
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
do you need to also update mock test json file https://github.com/sonic-net/sonic-swss/pull/3646/files#diff-7a754ce5badfcc6c7f079baabf320c731eab42f9f98194df7ec53eccb0e6064bR106 ? |
7137a39 to
b922219
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mock_tests/copp_cfg.json is being used in coppmgrd UT. |
|
I created PR under sonic-mgmt to add new CoPP configs for this new trap type PTAL |
@msherif1234 I have sonic-mgmt implemented for this HLD which already covers validating neighbor_miss traffic with default 200PPS if the neighbor_miss trap is supported sonic-net/sonic-mgmt#18326 |
b922219 to
1fe2606
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@rminnikanti , please don't force-push any commit. Reviewers prefer to understand the incremental changes |
|
@prsunny Sure, noted. Any new changes I made different commits for viz. |
|
@dgsudharsan , can you please approve? |
|
@prabhataravind for viz |
|
@prsunny @prabhataravind please suggest whether it's safe to go to 202505, |
* [orchagent] CoPP neighbor miss trap and enhancements 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
|
@prsunny - can this be cherry-picked for 202411? |
unfortunately no. 202411 is already a stable branch and this feature tests are still not yet merged |
|
Cherry-pick PR to 202505: #3811 |
* [orchagent] CoPP neighbor miss trap and enhancements 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
|
Cherry-pick PR to msft-202506: Azure/sonic-swss.msft#138 |
* [orchagent] CoPP neighbor miss trap and enhancements 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
* [orchagent] CoPP neighbor miss trap and enhancements 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
* [orchagent] CoPP neighbor miss trap and enhancements 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: Lawrence Lee <[email protected]>
* [orchagent] CoPP neighbor miss trap and enhancements 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: Baorong Liu <[email protected]>
What I did
Why I did it
HLD: sonic-net/SONiC#1943
How I verified it
Verified with test_copp.py DVS test
Verified on Sonic switch with and without neighbor_miss trap support by vendorSAI.
Details if related
PR Dependencies:
Signed-off-by: Ravi Minnikanti [email protected]