blob: 07f1260c0aedd06484ed7e9784d24a8a87a22266 [file] [log] [blame]
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -08001
2class SRRouting:
3 def __init__( self ):
4 self.default = ''
5
6 def CASE1( self, main ):
7 """
Andreas Pantelopoulosb7904ce2018-02-07 16:24:49 -08008 Ping between all ipv4 hosts in the topology.
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -08009 """
10
11 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
12
13 SRRoutingTest.runTest( main,
You Wang79577812018-02-27 16:39:50 -080014 test_idx=1,
15 onosNodes=3,
16 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080017 routers=1,
You Wang79577812018-02-27 16:39:50 -080018 ipv4=1,
19 ipv6=0,
Andreas Pantelopoulos9173d442018-03-01 17:07:37 -080020 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -080021 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -080022 description="Ping between all ipv4 hosts in the topology" )
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080023
24 def CASE2( self, main ):
25 """
26 Ping between all ipv6 hosts in the topology.
27 """
28
29 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
30
31 SRRoutingTest.runTest( main,
You Wang79577812018-02-27 16:39:50 -080032 test_idx=2,
33 onosNodes=3,
34 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080035 routers=1,
You Wang79577812018-02-27 16:39:50 -080036 ipv4=0,
37 ipv6=1,
Andreas Pantelopoulos9173d442018-03-01 17:07:37 -080038 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -080039 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -080040 description="Ping between all ipv6 hosts in the topology" )
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080041
You Wang79577812018-02-27 16:39:50 -080042 def CASE3( self, main ):
43 """
44 Ping between all ipv4 and ipv6 hosts in the topology.
45 """
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -080046
You Wang79577812018-02-27 16:39:50 -080047 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
48
49 SRRoutingTest.runTest( main,
50 test_idx=3,
51 onosNodes=3,
52 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080053 routers=1,
You Wang79577812018-02-27 16:39:50 -080054 ipv4=1,
55 ipv6=1,
Andreas Pantelopoulos9173d442018-03-01 17:07:37 -080056 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -080057 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -080058 description="Ping between all ipv4 and ipv6 hosts in the topology" )
You Wangba231e72018-03-01 13:18:21 -080059
60 def CASE4( self, main ):
61 """
62 Ping between all ipv4 hosts in the topology and check connectivity to external ipv4 hosts
63 """
64
65 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
66
67 SRRoutingTest.runTest( main,
68 test_idx=4,
69 onosNodes=3,
70 dhcp=1,
71 routers=1,
72 ipv4=1,
73 ipv6=0,
74 description="Ping between all ipv4 hosts in the topology and check connectivity to external hosts",
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -080075 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -080076 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -080077 countFlowsGroups=False )
You Wangba231e72018-03-01 13:18:21 -080078
79 def CASE5( self, main ):
80 """
81 Ping between all ipv6 hosts in the topology and check connectivity to external ipv6 hosts
82 """
83
84 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
85
86 SRRoutingTest.runTest( main,
87 test_idx=5,
88 onosNodes=3,
89 dhcp=1,
90 routers=1,
91 ipv4=0,
92 ipv6=1,
93 description="Ping between all ipv6 hosts in the topology and check connectivity to external hosts",
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -080094 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -080095 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -080096 countFlowsGroups=False )
You Wangba231e72018-03-01 13:18:21 -080097
98 def CASE6( self, main ):
99 """
100 Ping between all ipv4 and ipv6 hosts in the topology and check connectivity to external ipv4 and ipv6 hosts
101 """
102
103 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
104
105 SRRoutingTest.runTest( main,
106 test_idx=6,
107 onosNodes=3,
108 dhcp=1,
109 routers=1,
110 ipv4=1,
111 ipv6=1,
112 description="Ping between all ipv4 and ipv6 hosts in the topology and check connectivity to external hosts",
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -0800113 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800114 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800115 countFlowsGroups=False )
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -0800116
117 def CASE7( self, main ):
118 """
119 Ping between ipv4 hosts and an external host that is not configured in
120 external router config, but reachable through the use of route-add
121 command.
122 """
123
124 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
125
126 SRRoutingTest.runTest( main,
127 test_idx=7,
128 onosNodes=3,
129 dhcp=1,
130 routers=1,
131 ipv4=1,
132 ipv6=0,
133 description="Ping between from ipv4 hosts to external host configured with route-add command.",
134 checkExternalHost=False,
135 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800136 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800137 staticRouteConfigure=True )
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -0800138
139 def CASE8( self, main ):
140 """
141 Ping between ipv6 hosts and an external host that is not configured in
142 external router config, but reachable through the use of route-add
143 command.
144 """
145
146 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
147
148 SRRoutingTest.runTest( main,
149 test_idx=8,
150 onosNodes=3,
151 dhcp=1,
152 routers=1,
153 ipv4=0,
154 ipv6=1,
155 description="Ping between from ipv6 hosts to external host configured with route-add command.",
156 checkExternalHost=False,
157 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800158 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800159 staticRouteConfigure=True )
Andreas Pantelopoulos2eae3242018-03-06 13:47:20 -0800160
161 def CASE9( self, main ):
162 """
163 Ping between ipv4 and pv6 hosts and external hosts that is not configured in
164 external router config, but reachable through the use of route-add
165 command.
166 """
167
168 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
169
170 SRRoutingTest.runTest( main,
171 test_idx=9,
172 onosNodes=3,
173 dhcp=1,
174 routers=1,
175 ipv4=1,
176 ipv6=1,
177 description="Ping between from ipv4 and ipv6 hosts to external hosts configured with route-add command.",
178 checkExternalHost=False,
179 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800180 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800181 staticRouteConfigure=True )
182
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800183 def CASE101( self, main ):
184 """
185 Kill and recover links
186 Ping between all ipv4 hosts in the topology.
187 """
188
189 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
190
191 SRRoutingTest.runTest( main,
192 test_idx=101,
193 onosNodes=3,
194 dhcp=1,
195 routers=1,
196 ipv4=1,
197 ipv6=0,
198 countFlowsGroups=False,
199 linkFailure=True,
200 description="Test link failures with IPv4 hosts",
201 switchFailure=False )
202
203 def CASE102( self, main ):
204 """
205 Kill and recover links
206 Ping between all ipv6 hosts in the topology.
207 """
208
209 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
210
211 SRRoutingTest.runTest( main,
212 test_idx=102,
213 onosNodes=3,
214 dhcp=1,
215 routers=1,
216 ipv4=0,
217 ipv6=1,
218 countFlowsGroups=False,
219 linkFailure=True,
220 description="Test link failures with IPv6 hosts",
221 switchFailure=False )
222
223 def CASE103( self, main ):
224 """
225 Kill and recover links
226 Ping between all ipv4 and ipv6 hosts in the topology.
227 """
228
229 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
230
231 SRRoutingTest.runTest( main,
232 test_idx=103,
233 onosNodes=3,
234 dhcp=1,
235 routers=1,
236 ipv4=1,
237 ipv6=1,
238 countFlowsGroups=False,
239 linkFailure=True,
240 description="Test link failures with IPv4 and IPv6 hosts",
241 switchFailure=False )
242
243 def CASE104( self, main ):
244 """
245 Kill and recover links
246 Ping between all ipv4 hosts in the topology and check connectivity to external ipv4 hosts
247 """
248
249 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
250
251 SRRoutingTest.runTest( main,
252 test_idx=104,
253 onosNodes=3,
254 dhcp=1,
255 routers=1,
256 ipv4=1,
257 ipv6=0,
258 description="Test link failures with IPv4 hosts (including external hosts)",
259 checkExternalHost=True,
260 linkFailure=True,
261 switchFailure=False )
262
263 def CASE105( self, main ):
264 """
265 Kill and recover links
266 Ping between all ipv6 hosts in the topology and check connectivity to external ipv6 hosts
267 """
268
269 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
270
271 SRRoutingTest.runTest( main,
272 test_idx=105,
273 onosNodes=3,
274 dhcp=1,
275 routers=1,
276 ipv4=0,
277 ipv6=1,
278 description="Test link failures with IPv6 hosts (including external hosts)",
279 checkExternalHost=True,
280 linkFailure=True,
281 switchFailure=False )
282
283 def CASE106( self, main ):
284 """
285 Kill and recover links
286 Ping between all ipv4 and ipv6 hosts in the topology and check connectivity to external ipv4 and ipv6 hosts
287 """
288
289 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
290
291 SRRoutingTest.runTest( main,
292 test_idx=106,
293 onosNodes=3,
294 dhcp=1,
295 routers=1,
296 ipv4=1,
297 ipv6=1,
298 description="Test link failures with IPv4 and IPv6 hosts (including external hosts)",
299 checkExternalHost=True,
300 linkFailure=True,
301 switchFailure=False )
302
303 def CASE107( self, main ):
304 """
305 Kill and recover links
306 Ping between ipv4 hosts and an external host that is not configured in
307 external router config, but reachable through the use of route-add command.
308 """
309
310 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
311
312 SRRoutingTest.runTest( main,
313 test_idx=107,
314 onosNodes=3,
315 dhcp=1,
316 routers=1,
317 ipv4=1,
318 ipv6=0,
319 description="Test link failures with IPv4 hosts (including external host configured with route-add command)",
320 checkExternalHost=False,
321 countFlowsGroups=False,
322 linkFailure=True,
323 staticRouteConfigure=True,
324 switchFailure=False )
325
326 def CASE108( self, main ):
327 """
328 Kill and recover links
329 Ping between ipv6 hosts and an external host that is not configured in
330 external router config, but reachable through the use of route-add command.
331 """
332
333 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
334
335 SRRoutingTest.runTest( main,
336 test_idx=108,
337 onosNodes=3,
338 dhcp=1,
339 routers=1,
340 ipv4=0,
341 ipv6=1,
342 description="Test link failures with IPv6 hosts (including external host configured with route-add command)",
343 checkExternalHost=False,
344 countFlowsGroups=False,
345 linkFailure=True,
346 staticRouteConfigure=True,
347 switchFailure=False )
348
349 def CASE109( self, main ):
350 """
351 Kill and recover links
352 Ping between ipv4 and pv6 hosts and external hosts that is not configured in
353 external router config, but reachable through the use of route-add command.
354 """
355
356 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
357
358 SRRoutingTest.runTest( main,
359 test_idx=109,
360 onosNodes=3,
361 dhcp=1,
362 routers=1,
363 ipv4=1,
364 ipv6=1,
365 description="Test link failures with IPv4 and IPv6 hosts (including external host configured with route-add command)",
366 checkExternalHost=False,
367 countFlowsGroups=False,
368 linkFailure=True,
369 staticRouteConfigure=True,
370 switchFailure=False )
371
You Wang27317572018-03-06 12:13:11 -0800372 def CASE201( self, main ):
373 """
374 Kill and recover spine switches
375 Ping between all ipv4 hosts in the topology.
376 """
377
378 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
379
380 SRRoutingTest.runTest( main,
381 test_idx=201,
382 onosNodes=3,
383 dhcp=1,
384 routers=1,
385 ipv4=1,
386 ipv6=0,
387 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800388 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800389 description="Test switch failures with IPv4 hosts",
390 switchFailure=True )
391
392 def CASE202( self, main ):
393 """
394 Kill and recover spine switches
395 Ping between all ipv6 hosts in the topology.
396 """
397
398 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
399
400 SRRoutingTest.runTest( main,
401 test_idx=202,
402 onosNodes=3,
403 dhcp=1,
404 routers=1,
405 ipv4=0,
406 ipv6=1,
407 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800408 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800409 description="Test switch failures with IPv6 hosts",
410 switchFailure=True )
411
412 def CASE203( self, main ):
413 """
414 Kill and recover spine switches
415 Ping between all ipv4 and ipv6 hosts in the topology.
416 """
417
418 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
419
420 SRRoutingTest.runTest( main,
421 test_idx=203,
422 onosNodes=3,
423 dhcp=1,
424 routers=1,
425 ipv4=1,
426 ipv6=1,
427 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800428 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800429 description="Test switch failures with IPv4 and IPv6 hosts",
430 switchFailure=True )
431
432 def CASE204( self, main ):
433 """
434 Kill and recover spine switches
435 Ping between all ipv4 hosts in the topology and check connectivity to external ipv4 hosts
436 """
437
438 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
439
440 SRRoutingTest.runTest( main,
441 test_idx=204,
442 onosNodes=3,
443 dhcp=1,
444 routers=1,
445 ipv4=1,
446 ipv6=0,
447 description="Test switch failures with IPv4 hosts (including external hosts)",
448 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800449 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800450 switchFailure=True )
451
452 def CASE205( self, main ):
453 """
454 Kill and recover spine switches
455 Ping between all ipv6 hosts in the topology and check connectivity to external ipv6 hosts
456 """
457
458 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
459
460 SRRoutingTest.runTest( main,
461 test_idx=205,
462 onosNodes=3,
463 dhcp=1,
464 routers=1,
465 ipv4=0,
466 ipv6=1,
467 description="Test switch failures with IPv6 hosts (including external hosts)",
468 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800469 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800470 switchFailure=True )
471
472 def CASE206( self, main ):
473 """
474 Kill and recover spine switches
475 Ping between all ipv4 and ipv6 hosts in the topology and check connectivity to external ipv4 and ipv6 hosts
476 """
477
478 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
479
480 SRRoutingTest.runTest( main,
481 test_idx=206,
482 onosNodes=3,
483 dhcp=1,
484 routers=1,
485 ipv4=1,
486 ipv6=1,
487 description="Test switch failures with IPv4 and IPv6 hosts (including external hosts)",
488 checkExternalHost=True,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800489 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800490 switchFailure=True )
491
492 def CASE207( self, main ):
493 """
494 Kill and recover spine switches
495 Ping between ipv4 hosts and an external host that is not configured in
496 external router config, but reachable through the use of route-add command.
497 """
498
499 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
500
501 SRRoutingTest.runTest( main,
502 test_idx=207,
503 onosNodes=3,
504 dhcp=1,
505 routers=1,
506 ipv4=1,
507 ipv6=0,
508 description="Test switch failures with IPv4 hosts (including external host configured with route-add command)",
509 checkExternalHost=False,
510 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800511 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800512 staticRouteConfigure=True,
513 switchFailure=True )
514
515 def CASE208( self, main ):
516 """
517 Kill and recover spine switches
518 Ping between ipv6 hosts and an external host that is not configured in
519 external router config, but reachable through the use of route-add command.
520 """
521
522 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
523
524 SRRoutingTest.runTest( main,
525 test_idx=208,
526 onosNodes=3,
527 dhcp=1,
528 routers=1,
529 ipv4=0,
530 ipv6=1,
531 description="Test switch failures with IPv6 hosts (including external host configured with route-add command)",
532 checkExternalHost=False,
533 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800534 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800535 staticRouteConfigure=True,
536 switchFailure=True )
537
538 def CASE209( self, main ):
539 """
540 Kill and recover spine switches
541 Ping between ipv4 and pv6 hosts and external hosts that is not configured in
542 external router config, but reachable through the use of route-add command.
543 """
544
545 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
546
547 SRRoutingTest.runTest( main,
548 test_idx=209,
549 onosNodes=3,
550 dhcp=1,
551 routers=1,
552 ipv4=1,
553 ipv6=1,
554 description="Test switch failures with IPv4 and IPv6 hosts (including external host configured with route-add command)",
555 checkExternalHost=False,
556 countFlowsGroups=False,
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800557 linkFailure=False,
You Wang27317572018-03-06 12:13:11 -0800558 staticRouteConfigure=True,
559 switchFailure=True )
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800560
Jon Hall3c910162018-03-07 14:42:16 -0800561 def CASE301( self, main ):
562 """
563 Kill and recover ONOS nodes
564 Ping between all ipv4 hosts in the topology.
565 """
566
567 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
568
569 SRRoutingTest.runTest( main,
570 test_idx=301,
571 onosNodes=3,
572 dhcp=1,
573 routers=1,
574 ipv4=1,
575 ipv6=0,
576 countFlowsGroups=False,
577 description="Test node failures with IPv4 hosts",
578 nodeFailure=True )
579
580 def CASE302( self, main ):
581 """
582 Kill and recover ONOS nodes
583 Ping between all ipv6 hosts in the topology.
584 """
585
586 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
587
588 SRRoutingTest.runTest( main,
589 test_idx=302,
590 onosNodes=3,
591 dhcp=1,
592 routers=1,
593 ipv4=0,
594 ipv6=1,
595 countFlowsGroups=False,
596 description="Test node failures with IPv6 hosts",
597 nodeFailure=True )
598
599 def CASE303( self, main ):
600 """
601 Kill and recover ONOS nodes
602 Ping between all ipv4 and ipv6 hosts in the topology.
603 """
604
605 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
606
607 SRRoutingTest.runTest( main,
608 test_idx=303,
609 onosNodes=3,
610 dhcp=1,
611 routers=1,
612 ipv4=1,
613 ipv6=1,
614 countFlowsGroups=False,
615 description="Test node failures with IPv4 and IPv6 hosts",
616 nodeFailure=True )
617
618 def CASE304( self, main ):
619 """
620 Kill and recover ONOS nodes
621 Ping between all ipv4 hosts in the topology and check connectivity to external ipv4 hosts
622 """
623
624 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
625
626 SRRoutingTest.runTest( main,
627 test_idx=304,
628 onosNodes=3,
629 dhcp=1,
630 routers=1,
631 ipv4=1,
632 ipv6=0,
633 description="Test node failures with IPv4 hosts (including external hosts)",
634 checkExternalHost=True,
635 nodeFailure=True )
636
637 def CASE305( self, main ):
638 """
639 Kill and recover ONOS nodes
640 Ping between all ipv6 hosts in the topology and check connectivity to external ipv6 hosts
641 """
642
643 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
644
645 SRRoutingTest.runTest( main,
646 test_idx=305,
647 onosNodes=3,
648 dhcp=1,
649 routers=1,
650 ipv4=0,
651 ipv6=1,
652 description="Test node failures with IPv6 hosts (including external hosts)",
653 checkExternalHost=True,
654 nodeFailure=True )
655
656 def CASE306( self, main ):
657 """
658 Kill and recover ONOS nodes
659 Ping between all ipv4 and ipv6 hosts in the topology and check connectivity to external ipv4 and ipv6 hosts
660 """
661
662 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
663
664 SRRoutingTest.runTest( main,
665 test_idx=306,
666 onosNodes=3,
667 dhcp=1,
668 routers=1,
669 ipv4=1,
670 ipv6=1,
671 description="Test node failures with IPv4 and IPv6 hosts (including external hosts)",
672 checkExternalHost=True,
673 nodeFailure=True )
674
675 def CASE307( self, main ):
676 """
677 Kill and recover ONOS nodes
678 Ping between ipv4 hosts and an external host that is not configured in
679 external router config, but reachable through the use of route-add command.
680 """
681
682 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
683
684 SRRoutingTest.runTest( main,
685 test_idx=307,
686 onosNodes=3,
687 dhcp=1,
688 routers=1,
689 ipv4=1,
690 ipv6=0,
691 description="Test node failures with IPv4 hosts (including external host configured with route-add command)",
692 checkExternalHost=False,
693 countFlowsGroups=False,
694 staticRouteConfigure=True,
695 nodeFailure=True )
696
697 def CASE308( self, main ):
698 """
699 Kill and recover ONOS nodes
700 Ping between ipv6 hosts and an external host that is not configured in
701 external router config, but reachable through the use of route-add command.
702 """
703
704 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
705
706 SRRoutingTest.runTest( main,
707 test_idx=308,
708 onosNodes=3,
709 dhcp=1,
710 routers=1,
711 ipv4=0,
712 ipv6=1,
713 description="Test node failures with IPv6 hosts (including external host configured with route-add command)",
714 checkExternalHost=False,
715 countFlowsGroups=False,
716 staticRouteConfigure=True,
717 nodeFailure=True )
718
719 def CASE309( self, main ):
720 """
721 Kill and recover ONOS nodes
722 Ping between ipv4 and pv6 hosts and external hosts that is not configured in
723 external router config, but reachable through the use of route-add command.
724 """
725
726 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
727
728 SRRoutingTest.runTest( main,
729 test_idx=309,
730 onosNodes=3,
731 dhcp=1,
732 routers=1,
733 ipv4=1,
734 ipv6=1,
735 description="Test node failures with IPv4 and IPv6 hosts (including external host configured with route-add command)",
736 checkExternalHost=False,
737 countFlowsGroups=False,
738 staticRouteConfigure=True,
739 nodeFailure=True )
Andreas Pantelopoulosfab6bf32018-03-06 18:56:35 -0800740