Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 1 | |
| 2 | class SRRouting: |
| 3 | def __init__( self ): |
| 4 | self.default = '' |
| 5 | |
| 6 | def CASE1( self, main ): |
| 7 | """ |
Andreas Pantelopoulos | b7904ce | 2018-02-07 16:24:49 -0800 | [diff] [blame] | 8 | Ping between all ipv4 hosts in the topology. |
Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 9 | """ |
| 10 | |
| 11 | from tests.USECASE.SegmentRouting.SRRouting.dependencies.SRRoutingTest import SRRoutingTest |
| 12 | |
| 13 | SRRoutingTest.runTest( main, |
| 14 | test_idx = 1, |
| 15 | onosNodes = 3, |
| 16 | dhcp=0, |
| 17 | routers=0, |
| 18 | ipv4=1, |
| 19 | ipv6=0, |
Andreas Pantelopoulos | f6ed501 | 2018-02-08 21:26:01 -0800 | [diff] [blame] | 20 | description = "Ping between all ipv4 hosts in the topology") |
| 21 | |
| 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, |
| 30 | test_idx = 2, |
| 31 | onosNodes = 3, |
| 32 | dhcp=0, |
| 33 | routers=0, |
| 34 | ipv4=0, |
| 35 | ipv6=1, |
| 36 | description = "Ping between all ipv6 hosts in the topology") |
| 37 | |
Andreas Pantelopoulos | 90f0b10 | 2018-02-01 13:21:45 -0800 | [diff] [blame] | 38 | |