blob: d2392199bb066d8e9e7a874bc01c4076fd8d25aa [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,
You Wang79577812018-02-27 16:39:50 -080021 description="Ping between all ipv4 hosts in the topology")
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080022
23 def CASE2( self, main ):
24 """
25 Ping between all ipv6 hosts in the topology.
26 """
27
28 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
29
30 SRRoutingTest.runTest( main,
You Wang79577812018-02-27 16:39:50 -080031 test_idx=2,
32 onosNodes=3,
33 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080034 routers=1,
You Wang79577812018-02-27 16:39:50 -080035 ipv4=0,
36 ipv6=1,
Andreas Pantelopoulos9173d442018-03-01 17:07:37 -080037 countFlowsGroups=False,
You Wang79577812018-02-27 16:39:50 -080038 description="Ping between all ipv6 hosts in the topology")
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080039
You Wang79577812018-02-27 16:39:50 -080040 def CASE3( self, main ):
41 """
42 Ping between all ipv4 and ipv6 hosts in the topology.
43 """
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -080044
You Wang79577812018-02-27 16:39:50 -080045 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
46
47 SRRoutingTest.runTest( main,
48 test_idx=3,
49 onosNodes=3,
50 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080051 routers=1,
You Wang79577812018-02-27 16:39:50 -080052 ipv4=1,
53 ipv6=1,
Andreas Pantelopoulos9173d442018-03-01 17:07:37 -080054 countFlowsGroups=False,
You Wang79577812018-02-27 16:39:50 -080055 description="Ping between all ipv4 and ipv6 hosts in the topology")