Skip to content

Commit

Permalink
[CoPP] Add always_enabled field to coppmgr logic (#2034)
Browse files Browse the repository at this point in the history
- What I did
Add the new design for copp manager - always_enabled field in copp_cfg.json file.

- Why I did it
A change was done for traps needs to be installed but doesn't have feature (arp, udld, lacp, ip2me),
in the new implementation, coppmgr will not automatically install traps which has no entry in features table, but will check first if the trap has "always_enabled":"true" field.

- How I verified it
run tests for making sure traps are installed and not when expecting them to.

- Details if related
Related to sonic-buildimage change - #9302
SONiC mgmt test plan can be found in sonic-net/SONiC#903.
  • Loading branch information
noaOrMlnx authored Jan 26, 2022
1 parent adcf69d commit 53c630b
Show file tree
Hide file tree
Showing 3 changed files with 387 additions and 115 deletions.
Loading

0 comments on commit 53c630b

Please sign in to comment.