Description
tests/copp/test_copp.py (sonic-mgmt#27726) does not have any BGPv6 test coverage.
PROTOCOL_TO_TRAP_ID lists "BGP": ["bgp", "bgpv6"], but every BGP-related test call (test_add_new_trap, test_remove_trap, test_policer_mtu) hardcodes ip_version="4". No test has ever sent IPv6 BGP traffic for this trap.
Acceptance Criteria
Description
tests/copp/test_copp.py(sonic-mgmt#27726) does not have any BGPv6 test coverage.PROTOCOL_TO_TRAP_IDlists"BGP": ["bgp", "bgpv6"], but every BGP-related test call (test_add_new_trap,test_remove_trap,test_policer_mtu) hardcodesip_version="4". No test has ever sent IPv6 BGP traffic for this trap.Acceptance Criteria
tests/copp/test_copp.pyfor the existing BGP-related test cases (test_add_new_trap,test_remove_trap,test_policer_mtu), either by parametrizingip_versionto include"6"for the BGP trap or adding equivalent BGPv6-specific cases.