Skip to content

Commit

Permalink
Update CoPP reserved names list
Browse files Browse the repository at this point in the history
  • Loading branch information
stalabi1 committed Nov 14, 2024
1 parent 14a07d4 commit 4e0ba9b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/481-copp-bugfix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- sonic_copp - Update reserved CoPP names list (https://github.com/ansible-collections/dellemc.enterprise_sonic/pull/481).
32 changes: 17 additions & 15 deletions plugins/module_utils/network/sonic/config/copp/copp.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,31 @@ def __derive_copp_delete_op(key_set, command, exist_conf):
{'copp_groups': {'copp_name': '', '__delete_op': __derive_copp_delete_op}}
]
reserved_copp_names = [
'copp-system-lacp',
'copp-system-udld',
'copp-system-stp',
'copp-system-arp',
'copp-system-bfd',
'copp-system-ptp',
'copp-system-lldp',
'copp-system-vrrp',
'copp-system-iccp',
'copp-system-ospf',
'copp-system-bgp',
'copp-system-pim',
'copp-system-igmp',
'copp-system-suppress',
'copp-system-arp',
'copp-system-cdp',
'copp-system-default',
'copp-system-dhcp',
'copp-system-dhcpl2',
'copp-system-iccp',
'copp-system-icmp',
'copp-system-igmp',
'copp-system-ip2me',
'copp-system-subnet',
'copp-system-nat',
'copp-system-lacp',
'copp-system-lldp',
'copp-system-mtu',
'copp-system-nat',
'copp-system-ospf',
'copp-system-pim',
'copp-system-ptp',
'copp-system-sflow',
'copp-system-default',
'copp-system-stp',
'copp-system-subnet',
'copp-system-suppress',
'copp-system-ttl',
'copp-system-udld',
'copp-system-vrrp',
'default'
]

Expand Down

0 comments on commit 4e0ba9b

Please sign in to comment.