[202012] [CoPP] Add always_enabled field (#9999)
Add the "always_enabled" field to copp_cfg.j2 file, in order to allow traps without an entry in features table, to be installed automatically. This is a cherry-pick of https://github.com/Azure/sonic-buildimage/pull/9302 - Why I did it In order to allow traps without an entry in features table, to be installed automatically. - How I did it Add always_enabled field to traps without a feature
This commit is contained in:
parent
a564fc8a6e
commit
7a35504ff7
@ -13,7 +13,7 @@
|
||||
"trap_priority":"4",
|
||||
"queue": "4"
|
||||
},
|
||||
"queue4_group2": {
|
||||
"queue4_group2": {
|
||||
"trap_action":"copy",
|
||||
"trap_priority":"4",
|
||||
"queue": "4",
|
||||
@ -69,11 +69,13 @@
|
||||
},
|
||||
"lacp": {
|
||||
"trap_ids": "lacp",
|
||||
"trap_group": "queue4_group1"
|
||||
"trap_group": "queue4_group1",
|
||||
"always_enabled": "true"
|
||||
},
|
||||
"arp": {
|
||||
"trap_ids": "arp_req,arp_resp,neigh_discovery",
|
||||
"trap_group": "queue4_group2"
|
||||
"trap_group": "queue4_group2",
|
||||
"always_enabled": "true"
|
||||
},
|
||||
"lldp": {
|
||||
"trap_ids": "lldp",
|
||||
@ -87,11 +89,13 @@
|
||||
{% endif %}
|
||||
"udld": {
|
||||
"trap_ids": "udld",
|
||||
"trap_group": "queue4_group3"
|
||||
"trap_group": "queue4_group3",
|
||||
"always_enabled": "true"
|
||||
},
|
||||
"ip2me": {
|
||||
"trap_ids": "ip2me",
|
||||
"trap_group": "queue1_group1"
|
||||
"trap_group": "queue1_group1",
|
||||
"always_enabled": "true"
|
||||
},
|
||||
"nat": {
|
||||
"trap_ids": "src_nat_miss,dest_nat_miss",
|
||||
|
Reference in New Issue
Block a user