blob: 9cd425cdd3ba154ec4db4f689a49a36c01f41303 [file] [log] [blame]
ChetanGaonkerb2118652016-11-10 16:46:23 -08001***settings ***
2Documentation Run Cord verification test cases
3Resource cord_resource.robot
4Suite Setup Cord Setup
5Suite Teardown Cord Teardown
6
7*** Test Cases ***
8
9Verify ONOS IGMPSNOOPING Functionality 1
10 [Documentation] Send IGMP join to ONOS and verify data traffic
11 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_verify_traffic
12 Should Be Equal As Integers ${rc} 0
13
14Verify ONOS IGMPSNOOPING Functionality 2
15 [Documentation] Verify igmp data traffic after sending leave packet
16 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_leave_verify_traffic
17 Should Be Equal As Integers ${rc} 0
18
19Verify ONOS IGMPSNOOPING Functionality 3
20 [Documentation] Send IGMP join and leave packets in a loop
21 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_leave_join_loop
22 Should Be Equal As Integers ${rc} 0
23
24Verify ONOS IGMPSNOOPING Functionality 4
25 [Documentation] Verify latency to send one igmp join packet to ONOS
26 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_1group_join_latency
27 Should Be Equal As Integers ${rc} 0
28
29Verify ONOS IGMPSNOOPING Functionality 5
30 [Documentation] Verify latency to send two igmp join packets to ONOS
31 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_2group_join_latency
32 Should Be Equal As Integers ${rc} 0
33
34Verify ONOS IGMPSNOOPING Functionality 6
35 [Documentation] Verify latency to send multiple igmp join packets to ONOS
36 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_Ngroup_join_latency
37 Should Be Equal As Integers ${rc} 0
38
39Verify ONOS IGMPSNOOPING Functionality 7
40 [Documentation] Send IGMP join to ONOS and verify data traffic
41 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_rover_all
42 Should Be Equal As Integers ${rc} 0
43
44Verify ONOS IGMPSNOOPING Functionality 8
45 [Documentation] Send IGMP join to ONOS and verify data traffic
46 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_rover
47 Should Be Equal As Integers ${rc} 0
48
49Verify ONOS IGMPSNOOPING Functionality 9
50 [Documentation] Verify igmp query packet from ONOS IGMPSNOOPING Application
51 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_query
52 Should Be Equal As Integers ${rc} 0
53
54Verify ONOS IGMPSNOOPING Functionality 10
55 [Documentation] Send 2 IGMP joins and 1 leave to ONOS
56 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_2joins_1leave
57 Should Be Equal As Integers ${rc} 0
58
59Verify ONOS IGMPSNOOPING Functionality 11
60 [Documentation] Send 2 IGMP joins 1 leave and again send 1 join after leave
61 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_2joins_1leave_and_join_again
62 Should Be Equal As Integers ${rc} 0
63
64Verify ONOS IGMPSNOOPING Functionality 12
65 [Documentation] Send IGMP join to ONOS and verify data traffic from source not in source list
66 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_not_in_src_list
67 Should Be Equal As Integers ${rc} 0
68
69Verify ONOS IGMPSNOOPING Functionality 13
70 [Documentation] Verify igmp change to exclude record type of ONOS IGMPSNOOPING Application
71 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_change_to_exclude_src_list
72 Should Be Equal As Integers ${rc} 0
73
74Verify ONOS IGMPSNOOPING Functionality 14
75 [Documentation] Verify igmp include to allow new sources record type of ONOS IGMPSNOOPING Application
76 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_to_allow_src_list
77 Should Be Equal As Integers ${rc} 0
78
79Verify ONOS IGMPSNOOPING Functionality 15
80 [Documentation] Verify igmp include to block old sources record type of ONOS IGMPSNOOPING Application
81 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_to_block_src_list
82 Should Be Equal As Integers ${rc} 0
83
84Verify ONOS IGMPSNOOPING Functionality 16
85 [Documentation] Verify igmp change to include record type of ONOS IGMPSNOOPING Application
86 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_change_to_include_src_list
87 Should Be Equal As Integers ${rc} 0
88
89Verify ONOS IGMPSNOOPING Functionality 17
90 [Documentation] Verify igmp exclude to allow new sources record type of ONOS IGMPSNOOPING Application
91 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_to_allow_src_list
92 Should Be Equal As Integers ${rc} 0
93
94Verify ONOS IGMPSNOOPING Functionality 18
95 [Documentation] Verify igmp exclude to block old sources record type of ONOS IGMPSNOOPING Application
96 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_to_block_src_list
97 Should Be Equal As Integers ${rc} 0
98
99Verify ONOS IGMPSNOOPING Functionality 19
100 [Documentation] Send IGMP join and send data traffic with new source IPs
101 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_new_src_list
102 Should Be Equal As Integers ${rc} 0
103
104Verify ONOS IGMPSNOOPING Functionality 20
105 [Documentation] Verify igmp block old source list record type of ONOS IGMPSNOOPING Application
106 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_block_old_src_list
107 Should Be Equal As Integers ${rc} 0
108
109Verify ONOS IGMPSNOOPING Functionality 21
110 [Documentation] Send IGMP join with empty source list and send data traffic
111 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_empty_src_list
112 Should Be Equal As Integers ${rc} 0
113
114Verify ONOS IGMPSNOOPING Functionality 22
115 [Documentation] Send IGMP join with exclude empty source list and send data traffic
116 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_empty_src_list
117 Should Be Equal As Integers ${rc} 0
118
119Verify ONOS IGMPSNOOPING Functionality 23
120 [Documentation] Send IGMP join to ONOS with 0.0.0.0 source IP
121 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_sourceip_0_0_0_0
122 Should Be Equal As Integers ${rc} 0
123
124Verify ONOS IGMPSNOOPING Functionality 24
125 [Documentation] Send IGMP join to ONOS with invalid fields in join
126 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_invalid_join_packet
127 Should Be Equal As Integers ${rc} 0
128
129Verify ONOS IGMPSNOOPING Functionality 25
130 [Documentation] Send IGMP join to ONOS and verify data traffic while subscriber link toggles
131 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_data_received_during_subscriber_link_toggle
132 Should Be Equal As Integers ${rc} 0
133
134Verify ONOS IGMPSNOOPING Functionality 26
135 [Documentation] Send IGMP join to ONOS and verify data traffic while channel distributors link toggles
136 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_data_received_during_channel_distributors_link_toggle
137 Should Be Equal As Integers ${rc} 0
138
139Verify ONOS IGMPSNOOPING Functionality 27
140 [Documentation] Send IGMP join to ONOS with invalid class D ip for join
141 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_invalid_class_d_ip_for_join_packet
142 Should Be Equal As Integers ${rc} 0
143
144Verify ONOS IGMPSNOOPING Functionality 28
145 [Documentation] Send IGMP join to ONOS with class D invalid IP in source list
146 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_invalid_class_d_ip_as_srclist_ip_for_join_packet
147 Should Be Equal As Integers ${rc} 0
148
149Verify ONOS IGMPSNOOPING Functionality 29
150 [Documentation] Verify igmp data traffic received on interface general query sent
151 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_general_query_received_traffic
152 Should Be Equal As Integers ${rc} 0
153
154Verify ONOS IGMPSNOOPING Functionality 30
155 [Documentation] Verify igmp query received on join packet sending interface
156 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_query_received_on_joining_interface
157 Should Be Equal As Integers ${rc} 0
158
159Verify ONOS IGMPSNOOPING Functionality 31
160 [Documentation] Verify periodic queries received on igmp join sending interface
161 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_for_periodic_query_received_on_joining_interface
162 Should Be Equal As Integers ${rc} 0
163
164Verify ONOS IGMPSNOOPING Functionality 32
165 [Documentation] Verify periodic queries received on join sent interface and the entry deleted in ONOS
166 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_for_periodic_query_received_and_checking_entry_deleted
167 Should Be Equal As Integers ${rc} 0
168
169Verify ONOS IGMPSNOOPING Functionality 33
170 [Documentation] Verify igmp query interval and expiry for group in ONOS
171 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_member_query_interval_and_expiry_for_rejoining_interface
172 Should Be Equal As Integers ${rc} 0
173
174Verify ONOS IGMPSNOOPING Functionality 34
175 [Documentation] Verify for igmp group specific query received on leave packet sent interface
176 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_leave_received_group_and_source_specific_query
177 Should Be Equal As Integers ${rc} 0
178
179Verify ONOS IGMPSNOOPING for Functionality 35
180 [Documentation] Verify igmp group sepcific query on change to exclude source list mode
181 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_change_to_exclude_src_list_and_check_for_group_source_specific_query
182 Should Be Equal As Integers ${rc} 0
183
184Verify ONOS IGMPSNOOPING Functionality 36
185 [Documentation] Verify for igmp general when record type change to chnage to include source list
186 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_change_to_include_src_list_and_check_for_general_query
187 Should Be Equal As Integers ${rc} 0
188
189Verify ONOS IGMPSNOOPING Functionality 37
190 [Documentation] Verify for igmp general query when record type changed to allow new sources
191 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_allow_new_src_list_and_check_for_general_query
192 Should Be Equal As Integers ${rc} 0
193
194Verify ONOS IGMPSNOOPING Functionality 38
195 [Documentation] Verify for igmp group specific query when record type changed to block old source list
196 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_block_old_src_list_and_check_for_group_source_specific_query
197 Should Be Equal As Integers ${rc} 0
198
199Verify ONOS IGMPSNOOPING Functionality 39
200 [Documentation] Verify for igmp general query when record type changed to include to allow new source list
201 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_to_allow_src_list_and_check_for_general_query
202 Should Be Equal As Integers ${rc} 0
203
204Verify ONOS IGMPSNOOPING Functionality 40
205 [Documentation] Verify for igmp group specific query when record type changed to include to block old source list
206 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_to_block_src_list_and_check_for_group_source_specific_query
207 Should Be Equal As Integers ${rc} 0
208
209Verify ONOS IGMPSNOOPING Functionality 41
210 [Documentation] Verify for igmp general query when record type changed to exclude to allow new source list
211 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_to_allow_src_list_and_check_for_general_query
212 Should Be Equal As Integers ${rc} 0
213
214Verify ONOS IGMPSNOOPING Functionality 42
215 [Documentation] Verify for igmp group specific query when record type changed to exclude to block old source list
216 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_to_block_src_list_and_check_for_group_source_specific_query
217 Should Be Equal As Integers ${rc} 0
218
219Verify ONOS IGMPSNOOPING Functionality 43
220 [Documentation] Verify igmp include and exclude modes
221 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_exclude_modes
222 Should Be Equal As Integers ${rc} 0
223
224Verify ONOS IGMPSNOOPING Functionality 44
225 [Documentation] Verify igmp allow new source list record type
226 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_allow_new_source_mode
227 Should Be Equal As Integers ${rc} 0
228
229Verify ONOS IGMPSNOOPING Functionality 45
230 [Documentation] Verify changing igmp include to exclude record type
231 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_include_to_exclude_mode_change
232 Should Be Equal As Integers ${rc} 0
233
234Verify ONOS IGMPSNOOPING Functionality 46
235 [Documentation] Verify changing igmp exclude to include record type
236 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_exclude_to_include_mode_change
237 Should Be Equal As Integers ${rc} 0
238
239Verify ONOS IGMPSNOOPING Functionality 47
240 [Documentation] Verify igmp To_Include mode with null source list
241 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_to_include_mode_with_null_source
242 Should Be Equal As Integers ${rc} 0
243
244Verify ONOS IGMPSNOOPING Functionality 48
245 [Documentation] Verify igmp To_Include mode record type
246 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_to_include_mode
247 Should Be Equal As Integers ${rc} 0
248
249Verify ONOS IGMPSNOOPING Functionality 49
250 [Documentation] Verify igmp block old source list record type
251 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_blocking_old_source_mode
252 Should Be Equal As Integers ${rc} 0
253
254Verify ONOS IGMPSNOOPING Functionality 50
255 [Documentation] Verify igmp join and data for 100 groups
256 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_multiple_joins_and_data_verification_with_100_groups
257 Should Be Equal As Integers ${rc} 0
258
259Verify ONOS IGMPSNOOPING Functionality 51
260 [Documentation] Verify igmp join data followed by leave for 100 groups
261 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_multiple_joins_with_data_verification_and_leaving_100_groups
262 Should Be Equal As Integers ${rc} 0
263
264Verify ONOS IGMPSNOOPING Functionality 52
265 [Documentation] Load ONOS ssmTranslate table with 1000 igmp group-source pair
266 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_group_source_for_only_config_with_1000_entries
267 Should Be Equal As Integers ${rc} 0
268
269Verify ONOS IGMPSNOOPING Functionality 53
270 [Documentation] Verify igmp exclude to include mode change for 100 groups
271 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_from_exclude_to_include_mode_with_100_groups
272 Should Be Equal As Integers ${rc} 0
273
274Verify ONOS IGMPSNOOPING Functionality 54
275 [Documentation] Verify igmp join and data for 1000 groups
276 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_with_multiple_joins_and_data_verify_with_1000_groups
277 Should Be Equal As Integers ${rc} 0
278
279Verify ONOS IGMPSNOOPING Functionality 55
280 [Documentation] Verify igmp join and data for 5000 groups
281 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_with_multiple_joins_and_data_verify_with_5000_groups
282 Should Be Equal As Integers ${rc} 0
283
284Verify ONOS IGMPSNOOPING Functionality 56
285 [Documentation] Verify sending data traffic to non-registered igmp group
286 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_send_data_to_non_registered_group
287 Should Be Equal As Integers ${rc} 0
288
289Verify ONOS IGMPSNOOPING Functionality 57
290 [Documentation] Verify igmp data traffic to a registed in ONOS group but join not sent to the group
291 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_traffic_verification_for_registered_group_with_no_join_sent
292 Should Be Equal As Integers ${rc} 0
293
294Verify ONOS IGMPSNOOPING Functionality 58
295 [Documentation] Send IGMP functionality with app deactivate and re-activate
296 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_toggling_app_activation
297 Should Be Equal As Integers ${rc} 0
298
299Verify ONOS IGMPSNOOPING Functionality 59
300 [Documentation] Verify igmp data traffic with dest MAC and dest IP mismatch
301 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_with_mismatch_for_dst_ip_and_mac_in_data_packets
302 Should Be Equal As Integers ${rc} 0
303
304Verify ONOS IGMPSNOOPING Functionality 60
305 [Documentation] Verify igmp join to ONOS with invalid group address
306 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_registering_invalid_group
307 Should Be Equal As Integers ${rc} 0
308
309Verify ONOS IGMPSNOOPING Functionality 61
310 [Documentation] Verify igmp join to ONOS with invalis source address
311 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_registering_invalid_source
312 Should Be Equal As Integers ${rc} 0
313