blob: 4735cdd9c6e33e2136b99a79d19400d1d66e4817 [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,
20 description="Ping between all ipv4 hosts in the topology")
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080021
22 def CASE2( self, main ):
23 """
24 Ping between all ipv6 hosts in the topology.
25 """
26
27 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
28
29 SRRoutingTest.runTest( main,
You Wang79577812018-02-27 16:39:50 -080030 test_idx=2,
31 onosNodes=3,
32 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080033 routers=1,
You Wang79577812018-02-27 16:39:50 -080034 ipv4=0,
35 ipv6=1,
36 description="Ping between all ipv6 hosts in the topology")
Andreas Pantelopoulosf6ed5012018-02-08 21:26:01 -080037
You Wang79577812018-02-27 16:39:50 -080038 def CASE3( self, main ):
39 """
40 Ping between all ipv4 and ipv6 hosts in the topology.
41 """
Andreas Pantelopoulos90f0b102018-02-01 13:21:45 -080042
You Wang79577812018-02-27 16:39:50 -080043 from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest
44
45 SRRoutingTest.runTest( main,
46 test_idx=3,
47 onosNodes=3,
48 dhcp=1,
You Wang91befd72018-02-28 16:41:23 -080049 routers=1,
You Wang79577812018-02-27 16:39:50 -080050 ipv4=1,
51 ipv6=1,
52 description="Ping between all ipv4 and ipv6 hosts in the topology")