[202012][copp_cfg] Enable dhcp trap for BmcMgmtToRRouter (#10596)

Signed-off-by: Jing Kan jika@microsoft.com
This commit is contained in:
Jing Kan 2022-04-19 15:59:20 +08:00 committed by GitHub
parent fa1e364f54
commit 4ee75f490e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@
"trap_ids": "lldp", "trap_ids": "lldp",
"trap_group": "queue4_group3" "trap_group": "queue4_group3"
}, },
{% if not (DEVICE_METADATA is defined and DEVICE_METADATA['localhost'] is defined and DEVICE_METADATA['localhost']['type'] is defined and DEVICE_METADATA['localhost']['type'] is not in ['ToRRouter', 'EPMS', 'MgmtTsToR', 'MgmtToRRouter']) %} {% if not (DEVICE_METADATA is defined and DEVICE_METADATA['localhost'] is defined and DEVICE_METADATA['localhost']['type'] is defined and DEVICE_METADATA['localhost']['type'] is not in ['ToRRouter', 'EPMS', 'MgmtTsToR', 'MgmtToRRouter', 'BmcMgmtToRRouter']) %}
"dhcp_relay": { "dhcp_relay": {
"trap_ids": "dhcp,dhcpv6", "trap_ids": "dhcp,dhcpv6",
"trap_group": "queue4_group3" "trap_group": "queue4_group3"