forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests_mark_conditions_drop_packets.yaml
More file actions
175 lines (153 loc) · 7.41 KB
/
Copy pathtests_mark_conditions_drop_packets.yaml
File metadata and controls
175 lines (153 loc) · 7.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
####################################################
##### test_configurable_drop_counters.py #####
####################################################
#Link local address(169.254.xxx.xxx) as a source address as IPv4 header is not invalid in all the cases
#Hence, it is not dropped by default in Cisco-8000. For dropping link local address, it should be done through security/DATA ACL
drop_packets/test_configurable_drop_counters.py::test_sip_link_local:
skip:
reason: "Cisco 8000 platform does not drop SIP link local packets"
conditions:
- asic_type=="cisco-8000"
#######################################
##### test_drop_counters.py #####
#######################################
drop_packets/test_drop_counters.py::test_acl_egress_drop:
skip:
reason: "Not supported on Broadcom platforms"
conditions:
- "asic_type in ['broadcom']"
drop_packets/test_drop_counters.py::test_absent_ip_header:
skip:
reason: "Test case not supported on Broadcom DNX platform"
conditions:
- "asic_subtype in ['broadcom-dnx']"
drop_packets/test_drop_counters.py::test_equal_smac_dmac_drop:
skip:
reason: "Drop not enabled on chassis since internal traffic uses same smac & dmac"
conditions:
- "asic_subtype in ['broadcom-dnx']"
drop_packets/test_drop_counters.py::test_dst_ip_absent:
skip:
reason: "Test case not supported on Broadcom DNX platform"
conditions:
"asic_subtype in ['broadcom-dnx']"
drop_packets/test_drop_counters.py::test_dst_ip_absent[vlan_members]:
skip:
reason: "Image issue on Broadcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_dst_ip_is_loopback_addr:
skip:
reason: "Cisco 8000 platform does not drop DIP loopback packets in 202012 version. Test also not supported on Broadcom DNX"
conditions:
- "(asic_type=='cisco-8000' and release in ['202012']) or (asic_type =='cisco-8000' and topo_name in ['t1', 't1-lag', 't1-56-lag', 't1-64-lag', 't1-64-lag-clet', 't1-4-lag', 't1-backend']) or (asic_subtype in ['broadcom-dnx'])"
drop_packets/test_drop_counters.py::test_dst_ip_is_loopback_addr[vlan_members]:
skip:
reason: "Image issue on Boradcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_dst_ip_link_local:
skip:
reason: "Cisco 8000 with 202012 version and broadcom DNX platforms do not drop DIP linklocal packets"
conditions:
- "(asic_type=='cisco-8000' and release in ['202012']) or (asic_type =='cisco-8000' and topo_name in ['t1', 't1-lag', 't1-56-lag', 't1-64-lag', 't1-64-lag-clet', 't1-4-lag', 't1-backend']) or (asic_subtype in ['broadcom-dnx'])"
drop_packets/test_drop_counters.py::test_ip_is_zero_addr:
skip:
reason: "Cisco 8000 platform does not drop packets with 0.0.0.0 source or destination IP address"
conditions:
- "asic_type=='cisco-8000'"
drop_packets/test_drop_counters.py::test_ip_is_zero_addr[vlan_members-ipv4-dst]:
skip:
reason: "Image issue on Boradcom dualtor testbeds. Cisco 8000 platform does not drop packets with 0.0.0.0 source or destination IP address"
strict: True
conditions:
- "asic_type in ['broadcom', 'cisco-8000']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_ip_is_zero_addr[vlan_members-ipv4-src]:
skip:
reason: "Image issue on Boradcom dualtor testbeds. Cisco 8000 platform does not drop packets with 0.0.0.0 source or destination IP address"
strict: True
conditions:
- "asic_type in ['broadcom', 'cisco-8000']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_ip_is_zero_addr[vlan_members-ipv6-dst]:
skip:
reason: "Image issue on Boradcom dualtor testbeds. Cisco 8000 platform does not drop packets with 0.0.0.0 source or destination IP address"
strict: True
conditions:
- "asic_type in ['broadcom', 'cisco-8000']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_ip_is_zero_addr[vlan_members-ipv6-src]:
skip:
reason: "Image issue on Boradcom dualtor testbeds. Cisco 8000 platform does not drop packets with 0.0.0.0 source or destination IP address"
strict: True
conditions:
- "asic_type in ['broadcom', 'cisco-8000']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_loopback_filter:
# Test case is skipped, because SONiC does not have a control to adjust loop-back filter settings.
# Default SONiC behavior is to forward the traffic, so loop-back filter does not triggers for IP packets.
# All router interfaces has attribute "sx_interface_attributes_t.loopback_enable" - enabled.
# To enable loop-back filter drops - need to disable that attribute when create RIF.
# To do this can be used SAI attribute SAI_ROUTER_INTERFACE_ATTR_LOOPBACK_PACKET_ACTION, which is not exposed to SONiC
skip:
reason: "SONiC can't enable loop-back filter feature"
drop_packets/test_drop_counters.py::test_non_routable_igmp_pkts[vlan_members:
# This test case may fail due to a known issue https://github.com/sonic-net/sonic-mgmt/issues/5207.
# Temporarily disabling the test case due to the this issue.
skip:
reason: "This test failed intermittent due to known issue in sonic-mgmt, skip for now."
conditions: https://github.com/sonic-net/sonic-mgmt/issues/5207
drop_packets/test_drop_counters.py::test_not_expected_vlan_tag_drop[vlan_members]:
skip:
reason: "Image issue on Boradcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
xfail:
reason: "Image issue on broadcom platforms - CS00012209080"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['t0-backend']"
drop_packets/test_drop_counters.py::test_src_ip_is_class_e:
skip:
reason: "Cisco 8000 platform does not drop packets with source IP address in class E"
conditions:
- "asic_type=='cisco-8000'"
drop_packets/test_drop_counters.py::test_src_ip_is_loopback_addr:
skip:
reason: "Test currently not supported on broadcom DNX platform"
conditions:
- "asic_subtype in ['broadcom-dnx']"
drop_packets/test_drop_counters.py::test_src_ip_is_loopback_addr[vlan_members]:
skip:
reason: "Image issue on Boradcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_src_ip_is_multicast_addr[vlan_members-ipv4]:
skip:
reason: "Image issue on Boradcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_src_ip_is_multicast_addr[vlan_members-ipv6]:
skip:
reason: "Image issue on Boradcom dualtor testbeds"
strict: True
conditions:
- "asic_type in ['broadcom']"
- "topo_name in ['dualtor', 'dualtor-56', 'dualtor-120']"
drop_packets/test_drop_counters.py::test_src_ip_link_local:
skip:
reason: "Cisco 8000 platform does not drop SIP link local packets"
conditions:
- "asic_type=='cisco-8000'"