Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1 | class SRBridging: |
| 2 | def __init__( self ): |
| 3 | self.default = '' |
| 4 | |
| 5 | def CASE1( self, main ): |
| 6 | """ |
| 7 | Tests connectivity between two untagged hosts |
| 8 | (Ports are configured as vlan-untagged) |
| 9 | |
| 10 | Sets up 1 ONOS instance |
| 11 | Start 0x1 single ToR topology |
| 12 | Pingall |
| 13 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 14 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 15 | SRBridgingTest.runTest( main, |
| 16 | test_idx = 1, |
| 17 | topology = '0x1', |
| 18 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 19 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 20 | |
| 21 | def CASE2( self, main ): |
| 22 | """ |
| 23 | Tests connectivity between two untagged hosts |
| 24 | (Ports are configured as vlan-untagged) |
| 25 | |
| 26 | Sets up 1 ONOS instance |
| 27 | Start 0x2 dual-homed ToR topology |
| 28 | Pingall |
| 29 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 30 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 31 | SRBridgingTest.runTest( main, |
| 32 | test_idx = 2, |
| 33 | topology = '0x2', |
| 34 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 35 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 36 | |
| 37 | def CASE3( self, main ): |
| 38 | """ |
| 39 | Tests connectivity between two untagged hosts |
| 40 | (Ports are configured as vlan-untagged) |
| 41 | |
| 42 | Sets up 1 ONOS instance |
| 43 | Start 2x2 leaf-spine topology |
| 44 | Pingall |
| 45 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 46 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 47 | SRBridgingTest.runTest( main, |
| 48 | test_idx = 3, |
| 49 | topology = '2x2', |
| 50 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 51 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 52 | |
| 53 | def CASE4( self, main ): |
| 54 | """ |
| 55 | Tests connectivity between two untagged hosts |
| 56 | (Ports are configured as vlan-untagged) |
| 57 | |
| 58 | Sets up 1 ONOS instance |
| 59 | Start 2x4 dual-homed leaf-spine topology |
| 60 | Pingall |
| 61 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 62 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 63 | SRBridgingTest.runTest( main, |
| 64 | test_idx = 4, |
| 65 | topology = '2x4', |
| 66 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 67 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 68 | |
| 69 | def CASE5( self, main ): |
| 70 | """ |
| 71 | Tests connectivity between two untagged hosts |
| 72 | (Ports are configured as vlan-untagged) |
| 73 | |
| 74 | Sets up 3 ONOS instances |
| 75 | Start 0x1 single ToR topology |
| 76 | Pingall |
| 77 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 78 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 79 | SRBridgingTest.runTest( main, |
| 80 | test_idx = 5, |
| 81 | topology = '0x1', |
| 82 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 83 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 84 | |
| 85 | def CASE6( self, main ): |
| 86 | """ |
| 87 | Tests connectivity between two untagged hosts |
| 88 | (Ports are configured as vlan-untagged) |
| 89 | |
| 90 | Sets up 3 ONOS instances |
| 91 | Start 0x2 dual-homed ToR topology |
| 92 | Pingall |
| 93 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 94 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 95 | SRBridgingTest.runTest( main, |
| 96 | test_idx = 6, |
| 97 | topology = '0x2', |
| 98 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 99 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 100 | |
| 101 | def CASE7( self, main ): |
| 102 | """ |
| 103 | Tests connectivity between two untagged hosts |
| 104 | (Ports are configured as vlan-untagged) |
| 105 | |
| 106 | Sets up 3 ONOS instances |
| 107 | Start 2x2 leaf-spine topology |
| 108 | Pingall |
| 109 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 110 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 111 | SRBridgingTest.runTest( main, |
| 112 | test_idx = 7, |
| 113 | topology = '2x2', |
| 114 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 115 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 116 | |
| 117 | def CASE8( self, main ): |
| 118 | """ |
| 119 | Tests connectivity between two untagged hosts |
| 120 | (Ports are configured as vlan-untagged) |
| 121 | |
| 122 | Sets up 3 ONOS instances |
| 123 | Start 2x4 dual-homed leaf-spine topology |
| 124 | Pingall |
| 125 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 126 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 127 | SRBridgingTest.runTest( main, |
| 128 | test_idx = 8, |
| 129 | topology = '2x4', |
| 130 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 131 | description = "Bridging test between two untagged hosts on vlan-untagged port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 132 | |
| 133 | def CASE11( self, main ): |
| 134 | """ |
| 135 | Tests connectivity between two tagged hosts |
| 136 | (Ports are configured as vlan-tagged) |
| 137 | |
| 138 | Sets up 1 ONOS instance |
| 139 | Start 0x1 single ToR topology |
| 140 | Pingall |
| 141 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 142 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 143 | SRBridgingTest.runTest( main, |
| 144 | test_idx = 11, |
| 145 | topology = '0x1', |
| 146 | onosNodes = 1, |
| 147 | description = "Bridging test between two tagged hosts", |
| 148 | vlan = [ 10, 10 ] ) |
| 149 | |
| 150 | def CASE12( self, main ): |
| 151 | """ |
| 152 | Tests connectivity between two tagged hosts |
| 153 | (Ports are configured as vlan-tagged) |
| 154 | |
| 155 | Sets up 1 ONOS instance |
| 156 | Start 0x2 dual-homed ToR topology |
| 157 | Pingall |
| 158 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 159 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 160 | SRBridgingTest.runTest( main, |
| 161 | test_idx = 12, |
| 162 | topology = '0x2', |
| 163 | onosNodes = 1, |
| 164 | description = "Bridging test between two tagged hosts", |
| 165 | vlan = [ 10, 10 ] ) |
| 166 | |
| 167 | def CASE13( self, main ): |
| 168 | """ |
| 169 | Tests connectivity between two tagged hosts |
| 170 | (Ports are configured as vlan-tagged) |
| 171 | |
| 172 | Sets up 1 ONOS instance |
| 173 | Start 2x2 leaf-spine topology |
| 174 | Pingall |
| 175 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 176 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 177 | SRBridgingTest.runTest( main, |
| 178 | test_idx = 13, |
| 179 | topology = '2x2', |
| 180 | onosNodes = 1, |
| 181 | description = "Bridging test between two tagged hosts", |
| 182 | vlan = [ 10, 10, 20, 20 ] ) |
| 183 | |
| 184 | def CASE14( self, main ): |
| 185 | """ |
| 186 | Tests connectivity between two tagged hosts |
| 187 | (Ports are configured as vlan-tagged) |
| 188 | |
| 189 | Sets up 1 ONOS instance |
| 190 | Start 2x4 dual-homed leaf-spine topology |
| 191 | Pingall |
| 192 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 193 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 194 | SRBridgingTest.runTest( main, |
| 195 | test_idx = 14, |
| 196 | topology = '2x4', |
| 197 | onosNodes = 1, |
| 198 | description = "Bridging test between two tagged hosts", |
| 199 | vlan = [ 10, 10, 20, 20 ] ) |
| 200 | |
| 201 | def CASE15( self, main ): |
| 202 | """ |
| 203 | Tests connectivity between two tagged hosts |
| 204 | (Ports are configured as vlan-tagged) |
| 205 | |
| 206 | Sets up 3 ONOS instances |
| 207 | Start 0x1 single ToR topology |
| 208 | Pingall |
| 209 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 210 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 211 | SRBridgingTest.runTest( main, |
| 212 | test_idx = 15, |
| 213 | topology = '0x1', |
| 214 | onosNodes = 3, |
| 215 | description = "Bridging test between two tagged hosts", |
| 216 | vlan = [ 10, 10 ] ) |
| 217 | |
| 218 | def CASE16( self, main ): |
| 219 | """ |
| 220 | Tests connectivity between two tagged hosts |
| 221 | (Ports are configured as vlan-tagged) |
| 222 | |
| 223 | Sets up 3 ONOS instances |
| 224 | Start 0x2 dual-homed ToR topology |
| 225 | Pingall |
| 226 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 227 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 228 | SRBridgingTest.runTest( main, |
| 229 | test_idx = 16, |
| 230 | topology = '0x2', |
| 231 | onosNodes = 3, |
| 232 | description = "Bridging test between two tagged hosts", |
| 233 | vlan = [ 10, 10 ] ) |
| 234 | |
| 235 | def CASE17( self, main ): |
| 236 | """ |
| 237 | Tests connectivity between two tagged hosts |
| 238 | (Ports are configured as vlan-tagged) |
| 239 | |
| 240 | Sets up 3 ONOS instances |
| 241 | Start 2x2 leaf-spine topology |
| 242 | Pingall |
| 243 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 244 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 245 | SRBridgingTest.runTest( main, |
| 246 | test_idx = 17, |
| 247 | topology = '2x2', |
| 248 | onosNodes = 3, |
| 249 | description = "Bridging test between two tagged hosts", |
| 250 | vlan = [ 10, 10, 20, 20 ] ) |
| 251 | |
| 252 | def CASE18( self, main ): |
| 253 | """ |
| 254 | Tests connectivity between two tagged hosts |
| 255 | (Ports are configured as vlan-tagged) |
| 256 | |
| 257 | Sets up 3 ONOS instances |
| 258 | Start 2x4 dual-homed leaf-spine topology |
| 259 | Pingall |
| 260 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 261 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 262 | SRBridgingTest.runTest( main, |
| 263 | test_idx = 18, |
| 264 | topology = '2x4', |
| 265 | onosNodes = 3, |
| 266 | description = "Bridging test between two tagged hosts", |
| 267 | vlan = [ 10, 10, 20, 20 ] ) |
| 268 | |
| 269 | def CASE21( self, main ): |
| 270 | """ |
| 271 | Tests connectivity between two untagged hosts |
| 272 | (Ports are configured as vlan-native with vlan-tagged) |
| 273 | |
| 274 | Sets up 1 ONOS instance |
| 275 | Start 0x1 single ToR topology |
| 276 | Pingall |
| 277 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 278 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 279 | SRBridgingTest.runTest( main, |
| 280 | test_idx = 21, |
| 281 | topology = '0x1', |
| 282 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 283 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 284 | |
| 285 | def CASE22( self, main ): |
| 286 | """ |
| 287 | Tests connectivity between two untagged hosts |
| 288 | (Ports are configured as vlan-native with vlan-tagged) |
| 289 | |
| 290 | Sets up 1 ONOS instance |
| 291 | Start 0x2 dual-homed ToR topology |
| 292 | Pingall |
| 293 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 294 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 295 | SRBridgingTest.runTest( main, |
| 296 | test_idx = 22, |
| 297 | topology = '0x2', |
| 298 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 299 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 300 | |
| 301 | def CASE23( self, main ): |
| 302 | """ |
| 303 | Tests connectivity between two untagged hosts |
| 304 | (Ports are configured as vlan-native with vlan-tagged) |
| 305 | |
| 306 | Sets up 1 ONOS instance |
| 307 | Start 2x2 leaf-spine topology |
| 308 | Pingall |
| 309 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 310 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 311 | SRBridgingTest.runTest( main, |
| 312 | test_idx = 23, |
| 313 | topology = '2x2', |
| 314 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 315 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 316 | |
| 317 | def CASE24( self, main ): |
| 318 | """ |
| 319 | Tests connectivity between two untagged hosts |
| 320 | (Ports are configured as vlan-native with vlan-tagged) |
| 321 | |
| 322 | Sets up 1 ONOS instance |
| 323 | Start 2x4 dual-homed leaf-spine topology |
| 324 | Pingall |
| 325 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 326 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 327 | SRBridgingTest.runTest( main, |
| 328 | test_idx = 24, |
| 329 | topology = '2x4', |
| 330 | onosNodes = 1, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 331 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 332 | |
| 333 | def CASE25( self, main ): |
| 334 | """ |
| 335 | Tests connectivity between two untagged hosts |
| 336 | (Ports are configured as vlan-native with vlan-tagged) |
| 337 | |
| 338 | Sets up 3 ONOS instances |
| 339 | Start 0x1 single ToR topology |
| 340 | Pingall |
| 341 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 342 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 343 | SRBridgingTest.runTest( main, |
| 344 | test_idx = 25, |
| 345 | topology = '0x1', |
| 346 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 347 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 348 | |
| 349 | def CASE26( self, main ): |
| 350 | """ |
| 351 | Tests connectivity between two untagged hosts |
| 352 | (Ports are configured as vlan-native with vlan-tagged) |
| 353 | |
| 354 | Sets up 3 ONOS instances |
| 355 | Start 0x2 dual-homed ToR topology |
| 356 | Pingall |
| 357 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 358 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 359 | SRBridgingTest.runTest( main, |
| 360 | test_idx = 26, |
| 361 | topology = '0x2', |
| 362 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 363 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 364 | |
| 365 | def CASE27( self, main ): |
| 366 | """ |
| 367 | Tests connectivity between two untagged hosts |
| 368 | (Ports are configured as vlan-native with vlan-tagged) |
| 369 | |
| 370 | Sets up 3 ONOS instances |
| 371 | Start 2x2 leaf-spine topology |
| 372 | Pingall |
| 373 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 374 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 375 | SRBridgingTest.runTest( main, |
| 376 | test_idx = 27, |
| 377 | topology = '2x2', |
| 378 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 379 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 380 | |
| 381 | def CASE28( self, main ): |
| 382 | """ |
| 383 | Tests connectivity between two untagged hosts |
| 384 | (Ports are configured as vlan-native with vlan-tagged) |
| 385 | |
| 386 | Sets up 3 ONOS instances |
| 387 | Start 2x4 dual-homed leaf-spine topology |
| 388 | Pingall |
| 389 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 390 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 391 | SRBridgingTest.runTest( main, |
| 392 | test_idx = 28, |
| 393 | topology = '2x4', |
| 394 | onosNodes = 3, |
Devin Lim | 0c972b7 | 2018-02-08 14:53:59 -0800 | [diff] [blame] | 395 | description = "Bridging test between two untagged hosts on vlan-native port" ) |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 396 | |
| 397 | def CASE31( self, main ): |
| 398 | """ |
| 399 | Tests connectivity between two untagged hosts |
| 400 | (One port is configured as vlan-native with vlan-tagged, |
| 401 | another with vlan-untagged) |
| 402 | |
| 403 | Sets up 1 ONOS instance |
| 404 | Start 0x1 single ToR topology |
| 405 | Pingall |
| 406 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 407 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 408 | SRBridgingTest.runTest( main, |
| 409 | test_idx = 31, |
| 410 | topology = '0x1', |
| 411 | onosNodes = 1, |
| 412 | description = "Bridging test between two untagged hosts, " |
| 413 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 414 | |
| 415 | def CASE32( self, main ): |
| 416 | """ |
| 417 | Tests connectivity between two untagged hosts |
| 418 | (One port is configured as vlan-native with vlan-tagged, |
| 419 | another with vlan-untagged) |
| 420 | |
| 421 | Sets up 1 ONOS instance |
| 422 | Start 0x2 dual-homed ToR topology |
| 423 | Pingall |
| 424 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 425 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 426 | SRBridgingTest.runTest( main, |
| 427 | test_idx = 32, |
| 428 | topology = '0x2', |
| 429 | onosNodes = 1, |
| 430 | description = "Bridging test between two untagged hosts, " |
| 431 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 432 | |
| 433 | def CASE33( self, main ): |
| 434 | """ |
| 435 | Tests connectivity between two untagged hosts |
| 436 | (One port is configured as vlan-native with vlan-tagged, |
| 437 | another with vlan-untagged) |
| 438 | |
| 439 | Sets up 1 ONOS instance |
| 440 | Start 2x2 leaf-spine topology |
| 441 | Pingall |
| 442 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 443 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 444 | SRBridgingTest.runTest( main, |
| 445 | test_idx = 33, |
| 446 | topology = '2x2', |
| 447 | onosNodes = 1, |
| 448 | description = "Bridging test between two untagged hosts, " |
| 449 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 450 | |
| 451 | def CASE34( self, main ): |
| 452 | """ |
| 453 | Tests connectivity between two untagged hosts |
| 454 | (One port is configured as vlan-native with vlan-tagged, |
| 455 | another with vlan-untagged) |
| 456 | |
| 457 | Sets up 1 ONOS instance |
| 458 | Start 2x4 dual-homed leaf-spine topology |
| 459 | Pingall |
| 460 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 461 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 462 | SRBridgingTest.runTest( main, |
| 463 | test_idx = 34, |
| 464 | topology = '2x4', |
| 465 | onosNodes = 1, |
| 466 | description = "Bridging test between two untagged hosts, " |
| 467 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 468 | |
| 469 | def CASE35( self, main ): |
| 470 | """ |
| 471 | Tests connectivity between two untagged hosts |
| 472 | (One port is configured as vlan-native with vlan-tagged, |
| 473 | another with vlan-untagged) |
| 474 | |
| 475 | Sets up 3 ONOS instances |
| 476 | Start 0x1 single ToR topology |
| 477 | Pingall |
| 478 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 479 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 480 | SRBridgingTest.runTest( main, |
| 481 | test_idx = 35, |
| 482 | topology = '0x1', |
| 483 | onosNodes = 3, |
| 484 | description = "Bridging test between two untagged hosts, " |
| 485 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 486 | |
| 487 | def CASE36( self, main ): |
| 488 | """ |
| 489 | Tests connectivity between two untagged hosts |
| 490 | (One port is configured as vlan-native with vlan-tagged, |
| 491 | another with vlan-untagged) |
| 492 | |
| 493 | Sets up 3 ONOS instances |
| 494 | Start 0x2 dual-homed ToR topology |
| 495 | Pingall |
| 496 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 497 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 498 | SRBridgingTest.runTest( main, |
| 499 | test_idx = 36, |
| 500 | topology = '0x2', |
| 501 | onosNodes = 3, |
| 502 | description = "Bridging test between two untagged hosts, " |
| 503 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 504 | |
| 505 | def CASE37( self, main ): |
| 506 | """ |
| 507 | Tests connectivity between two untagged hosts |
| 508 | (One port is configured as vlan-native with vlan-tagged, |
| 509 | another with vlan-untagged) |
| 510 | |
| 511 | Sets up 3 ONOS instances |
| 512 | Start 2x2 leaf-spine topology |
| 513 | Pingall |
| 514 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 515 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 516 | SRBridgingTest.runTest( main, |
| 517 | test_idx = 37, |
| 518 | topology = '2x2', |
| 519 | onosNodes = 3, |
| 520 | description = "Bridging test between two untagged hosts, " |
| 521 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 522 | |
| 523 | def CASE38( self, main ): |
| 524 | """ |
| 525 | Tests connectivity between two untagged hosts |
| 526 | (One port is configured as vlan-native with vlan-tagged, |
| 527 | another with vlan-untagged) |
| 528 | |
| 529 | Sets up 3 ONOS instances |
| 530 | Start 2x4 dual-homed leaf-spine topology |
| 531 | Pingall |
| 532 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 533 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 534 | SRBridgingTest.runTest(main, |
| 535 | test_idx = 38, |
| 536 | topology = '2x4', |
| 537 | onosNodes = 3, |
| 538 | description = "Bridging test between two untagged hosts, " |
| 539 | "one on vlan-untagged port and the other on vlan-native port" ) |
| 540 | |
| 541 | def CASE41( self, main ): |
| 542 | """ |
| 543 | Tests connectivity between untagged host and tagged host |
| 544 | (Ports are configured as vlan-untagged and |
| 545 | vlan-tagged with same vlan id, respectively) |
| 546 | |
| 547 | Sets up 1 ONOS instance |
| 548 | Start 0x1 single ToR topology |
| 549 | Pingall |
| 550 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 551 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 552 | SRBridgingTest.runTest( main, |
| 553 | test_idx = 41, |
| 554 | topology = '0x1', |
| 555 | onosNodes = 1, |
| 556 | description = "Bridging test between untagged host and tagged host", |
| 557 | vlan = [ 0, 10 ] ) |
| 558 | |
| 559 | def CASE42( self, main ): |
| 560 | """ |
| 561 | Tests connectivity between untagged host and tagged host |
| 562 | (Ports are configured as vlan-untagged and |
| 563 | vlan-tagged with same vlan id, respectively) |
| 564 | |
| 565 | Sets up 1 ONOS instance |
| 566 | Start 0x2 dual-homed ToR topology |
| 567 | Pingall |
| 568 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 569 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 570 | SRBridgingTest.runTest( main, |
| 571 | test_idx = 42, |
| 572 | topology = '0x2', |
| 573 | onosNodes = 1, |
| 574 | description = "Bridging test between untagged host and tagged host", |
| 575 | vlan = [ 0, 10 ] ) |
| 576 | |
| 577 | def CASE43( self, main ): |
| 578 | """ |
| 579 | Tests connectivity between untagged host and tagged host |
| 580 | (Ports are configured as vlan-untagged and |
| 581 | vlan-tagged with same vlan id, respectively) |
| 582 | |
| 583 | Sets up 1 ONOS instance |
| 584 | Start 2x2 leaf-spine topology |
| 585 | Pingall |
| 586 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 587 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 588 | SRBridgingTest.runTest( main, |
| 589 | test_idx = 43, |
| 590 | topology = '2x2', |
| 591 | onosNodes = 1, |
| 592 | description = "Bridging test between untagged host and tagged host", |
| 593 | vlan = [ 0, 10, 0, 20 ] ) |
| 594 | |
| 595 | def CASE44( self, main ): |
| 596 | """ |
| 597 | Tests connectivity between untagged host and tagged host |
| 598 | (Ports are configured as vlan-untagged and |
| 599 | vlan-tagged with same vlan id, respectively) |
| 600 | |
| 601 | Sets up 1 ONOS instance |
| 602 | Start 2x4 dual-homed leaf-spine topology |
| 603 | Pingall |
| 604 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 605 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 606 | SRBridgingTest.runTest( main, |
| 607 | test_idx = 44, |
| 608 | topology = '2x4', |
| 609 | onosNodes = 1, |
| 610 | description = "Bridging test between untagged host and tagged host", |
| 611 | vlan = [ 0, 10, 0, 20 ] ) |
| 612 | |
| 613 | def CASE45( self, main ): |
| 614 | """ |
| 615 | Tests connectivity between untagged host and tagged host |
| 616 | (Ports are configured as vlan-untagged and |
| 617 | vlan-tagged with same vlan id, respectively) |
| 618 | |
| 619 | Sets up 3 ONOS instances |
| 620 | Start 0x1 single ToR topology |
| 621 | Pingall |
| 622 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 623 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 624 | SRBridgingTest.runTest( main, |
| 625 | test_idx = 45, |
| 626 | topology = '0x1', |
| 627 | onosNodes = 3, |
| 628 | description = "Bridging test between untagged host and tagged host", |
| 629 | vlan = [ 0, 10 ] ) |
| 630 | |
| 631 | def CASE46( self, main ): |
| 632 | """ |
| 633 | Tests connectivity between untagged host and tagged host |
| 634 | (Ports are configured as vlan-untagged and |
| 635 | vlan-tagged with same vlan id, respectively) |
| 636 | |
| 637 | Sets up 3 ONOS instances |
| 638 | Start 0x2 dual-homed ToR topology |
| 639 | Pingall |
| 640 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 641 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 642 | SRBridgingTest.runTest( main, |
| 643 | test_idx = 46, |
| 644 | topology = '0x2', |
| 645 | onosNodes = 3, |
| 646 | description = "Bridging test between untagged host and tagged host", |
| 647 | vlan = [ 0, 10 ] ) |
| 648 | |
| 649 | def CASE47( self, main ): |
| 650 | """ |
| 651 | Tests connectivity between untagged host and tagged host |
| 652 | (Ports are configured as vlan-untagged and |
| 653 | vlan-tagged with same vlan id, respectively) |
| 654 | |
| 655 | Sets up 3 ONOS instances |
| 656 | Start 2x2 leaf-spine topology |
| 657 | Pingall |
| 658 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 659 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 660 | SRBridgingTest.runTest( main, |
| 661 | test_idx = 47, |
| 662 | topology = '2x2', |
| 663 | onosNodes = 3, |
| 664 | description = "Bridging test between untagged host and tagged host", |
| 665 | vlan = [ 0, 10, 0, 20 ] ) |
| 666 | |
| 667 | def CASE48( self, main ): |
| 668 | """ |
| 669 | Tests connectivity between untagged host and tagged host |
| 670 | (Ports are configured as vlan-untagged and |
| 671 | vlan-tagged with same vlan id, respectively) |
| 672 | |
| 673 | Sets up 3 ONOS instances |
| 674 | Start 2x4 dual-homed leaf-spine topology |
| 675 | Pingall |
| 676 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 677 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 678 | SRBridgingTest.runTest( main, |
| 679 | test_idx = 48, |
| 680 | topology = '2x4', |
| 681 | onosNodes = 3, |
| 682 | description = "Bridging test between untagged host and tagged host", |
| 683 | vlan = [ 0, 10, 0, 20 ] ) |
| 684 | |
| 685 | def CASE51( self, main ): |
| 686 | """ |
| 687 | Tests connectivity between two untagged hosts with different vlan id |
| 688 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 689 | |
| 690 | Sets up 1 ONOS instance |
| 691 | Start 0x1 single ToR topology |
| 692 | Pingall |
| 693 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 694 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 695 | SRBridgingTest.runTest( main, |
| 696 | test_idx = 51, |
| 697 | topology = '0x1', |
| 698 | onosNodes = 1, |
| 699 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 700 | |
| 701 | def CASE52( self, main ): |
| 702 | """ |
| 703 | Tests connectivity between two untagged hosts with different vlan id |
| 704 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 705 | |
| 706 | Sets up 1 ONOS instance |
| 707 | Start 0x2 dual-homed ToR topology |
| 708 | Pingall |
| 709 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 710 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 711 | SRBridgingTest.runTest( main, |
| 712 | test_idx = 52, |
| 713 | topology = '0x2', |
| 714 | onosNodes = 1, |
| 715 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 716 | |
| 717 | def CASE53( self, main ): |
| 718 | """ |
| 719 | Tests connectivity between two untagged hosts with different vlan id |
| 720 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 721 | |
| 722 | Sets up 1 ONOS instance |
| 723 | Start 2x2 leaf-spine topology |
| 724 | Pingall |
| 725 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 726 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 727 | SRBridgingTest.runTest( main, |
| 728 | test_idx = 53, |
| 729 | topology = '2x2', |
| 730 | onosNodes = 1, |
| 731 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 732 | |
| 733 | def CASE54( self, main ): |
| 734 | """ |
| 735 | Tests connectivity between two untagged hosts with different vlan id |
| 736 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 737 | |
| 738 | Sets up 1 ONOS instance |
| 739 | Start 2x4 dual-homed leaf-spine topology |
| 740 | Pingall |
| 741 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 742 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 743 | SRBridgingTest.runTest( main, |
| 744 | test_idx = 54, |
| 745 | topology = '2x4', |
| 746 | onosNodes = 1, |
| 747 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 748 | |
| 749 | def CASE55( self, main ): |
| 750 | """ |
| 751 | Tests connectivity between two untagged hosts with different vlan id |
| 752 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 753 | |
| 754 | Sets up 3 ONOS instances |
| 755 | Start 0x1 single ToR topology |
| 756 | Pingall |
| 757 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 758 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 759 | SRBridgingTest.runTest( main, |
| 760 | test_idx = 55, |
| 761 | topology = '0x1', |
| 762 | onosNodes = 3, |
| 763 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 764 | |
| 765 | def CASE56( self, main ): |
| 766 | """ |
| 767 | Tests connectivity between two untagged hosts with different vlan id |
| 768 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 769 | |
| 770 | Sets up 3 ONOS instances |
| 771 | Start 0x2 dual-homed ToR topology |
| 772 | Pingall |
| 773 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 774 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 775 | SRBridgingTest.runTest( main, |
| 776 | test_idx = 56, |
| 777 | topology = '0x2', |
| 778 | onosNodes = 3, |
| 779 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 780 | |
| 781 | def CASE57( self, main ): |
| 782 | """ |
| 783 | Tests connectivity between two untagged hosts with different vlan id |
| 784 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 785 | |
| 786 | Sets up 3 ONOS instances |
| 787 | Start 2x2 leaf-spine topology |
| 788 | Pingall |
| 789 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 790 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 791 | SRBridgingTest.runTest( main, |
| 792 | test_idx = 57, |
| 793 | topology = '2x2', |
| 794 | onosNodes = 3, |
| 795 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 796 | |
| 797 | def CASE58( self, main ): |
| 798 | """ |
| 799 | Tests connectivity between two untagged hosts with different vlan id |
| 800 | (Ports are configured as vlan-untagged 10 and 20, respectively) |
| 801 | |
| 802 | Sets up 3 ONOS instances |
| 803 | Start 2x4 dual-homed leaf-spine topology |
| 804 | Pingall |
| 805 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 806 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 807 | SRBridgingTest.runTest( main, |
| 808 | test_idx = 58, |
| 809 | topology = '2x4', |
| 810 | onosNodes = 3, |
| 811 | description = "Bridging test between two untagged hosts with different vlan id" ) |
| 812 | |
| 813 | def CASE61( self, main ): |
| 814 | """ |
| 815 | Tests connectivity between two tagged hosts with different vlan id |
| 816 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 817 | |
| 818 | Sets up 1 ONOS instance |
| 819 | Start 0x1 single ToR topology |
| 820 | Pingall |
| 821 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 822 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 823 | SRBridgingTest.runTest( main, |
| 824 | test_idx = 61, |
| 825 | topology = '0x1', |
| 826 | onosNodes = 1, |
| 827 | description = "Bridging test between two tagged hosts with different vlan id", |
| 828 | vlan = [ 10, 20 ] ) |
| 829 | |
| 830 | def CASE62( self, main ): |
| 831 | """ |
| 832 | Tests connectivity between two tagged hosts with different vlan id |
| 833 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 834 | |
| 835 | Sets up 1 ONOS instance |
| 836 | Start 0x2 dual-homed ToR topology |
| 837 | Pingall |
| 838 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 839 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 840 | SRBridgingTest.runTest( main, |
| 841 | test_idx = 62, |
| 842 | topology = '0x2', |
| 843 | onosNodes = 1, |
| 844 | description = "Bridging test between two tagged hosts with different vlan id", |
| 845 | vlan = [ 10, 20 ] ) |
| 846 | |
| 847 | def CASE63( self, main ): |
| 848 | """ |
| 849 | Tests connectivity between two tagged hosts with different vlan id |
| 850 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 851 | |
| 852 | Sets up 1 ONOS instance |
| 853 | Start 2x2 leaf-spine topology |
| 854 | Pingall |
| 855 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 856 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 857 | SRBridgingTest.runTest( main, |
| 858 | test_idx = 63, |
| 859 | topology = '2x2', |
| 860 | onosNodes = 1, |
| 861 | description = "Bridging test between two tagged hosts with different vlan id", |
| 862 | vlan = [ 10, 20, 30, 40 ] ) |
| 863 | |
| 864 | def CASE64( self, main ): |
| 865 | """ |
| 866 | Tests connectivity between two tagged hosts with different vlan id |
| 867 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 868 | |
| 869 | Sets up 1 ONOS instance |
| 870 | Start 2x4 dual-homed leaf-spine topology |
| 871 | Pingall |
| 872 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 873 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 874 | SRBridgingTest.runTest( main, |
| 875 | test_idx = 64, |
| 876 | topology = '2x4', |
| 877 | onosNodes = 1, |
| 878 | description = "Bridging test between two tagged hosts with different vlan id", |
| 879 | vlan = [ 10, 20, 30, 40 ] ) |
| 880 | |
| 881 | def CASE65( self, main ): |
| 882 | """ |
| 883 | Tests connectivity between two tagged hosts with different vlan id |
| 884 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 885 | |
| 886 | Sets up 3 ONOS instances |
| 887 | Start 0x1 single ToR topology |
| 888 | Pingall |
| 889 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 890 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 891 | SRBridgingTest.runTest( main, |
| 892 | test_idx = 65, |
| 893 | topology = '0x1', |
| 894 | onosNodes = 3, |
| 895 | description = "Bridging test between two tagged hosts with different vlan id", |
| 896 | vlan = [ 10, 20 ] ) |
| 897 | |
| 898 | def CASE66( self, main ): |
| 899 | """ |
| 900 | Tests connectivity between two tagged hosts with different vlan id |
| 901 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 902 | |
| 903 | Sets up 3 ONOS instances |
| 904 | Start 0x2 dual-homed ToR topology |
| 905 | Pingall |
| 906 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 907 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 908 | SRBridgingTest.runTest( main, |
| 909 | test_idx = 66, |
| 910 | topology = '0x2', |
| 911 | onosNodes = 3, |
| 912 | description = "Bridging test between two tagged hosts with different vlan id", |
| 913 | vlan = [ 10, 20 ] ) |
| 914 | |
| 915 | def CASE67( self, main ): |
| 916 | """ |
| 917 | Tests connectivity between two tagged hosts with different vlan id |
| 918 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 919 | |
| 920 | Sets up 3 ONOS instances |
| 921 | Start 2x2 leaf-spine topology |
| 922 | Pingall |
| 923 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 924 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 925 | SRBridgingTest.runTest( main, |
| 926 | test_idx = 67, |
| 927 | topology = '2x2', |
| 928 | onosNodes = 3, |
| 929 | description = "Bridging test between two tagged hosts with different vlan id", |
| 930 | vlan = [ 10, 20, 30, 40 ] ) |
| 931 | |
| 932 | def CASE68( self, main ): |
| 933 | """ |
| 934 | Tests connectivity between two tagged hosts with different vlan id |
| 935 | (Ports are configured as vlan-tagged 10 and 20, respectively) |
| 936 | |
| 937 | Sets up 3 ONOS instances |
| 938 | Start 2x4 dual-homed leaf-spine topology |
| 939 | Pingall |
| 940 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 941 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 942 | SRBridgingTest.runTest( main, |
| 943 | test_idx = 68, |
| 944 | topology = '2x4', |
| 945 | onosNodes = 3, |
| 946 | description = "Bridging test between two tagged hosts with different vlan id", |
| 947 | vlan = [ 10, 20, 30, 40 ] ) |
| 948 | |
| 949 | def CASE71( self, main ): |
| 950 | """ |
| 951 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 952 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 953 | |
| 954 | Sets up 1 ONOS instance |
| 955 | Start 0x1 single ToR topology |
| 956 | Pingall |
| 957 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 958 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 959 | SRBridgingTest.runTest( main, |
| 960 | test_idx = 71, |
| 961 | topology = '0x1', |
| 962 | onosNodes = 1, |
| 963 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 964 | vlan = [ 0, 20 ] ) |
| 965 | |
| 966 | def CASE72( self, main ): |
| 967 | """ |
| 968 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 969 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 970 | |
| 971 | Sets up 1 ONOS instance |
| 972 | Start 0x2 dual-homed ToR topology |
| 973 | Pingall |
| 974 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 975 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 976 | SRBridgingTest.runTest( main, |
| 977 | test_idx = 72, |
| 978 | topology = '0x2', |
| 979 | onosNodes = 1, |
| 980 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 981 | vlan = [ 0, 20 ] ) |
| 982 | |
| 983 | def CASE73( self, main ): |
| 984 | """ |
| 985 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 986 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 987 | |
| 988 | Sets up 1 ONOS instance |
| 989 | Start 2x2 leaf-spine topology |
| 990 | Pingall |
| 991 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 992 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 993 | SRBridgingTest.runTest( main, |
| 994 | test_idx = 73, |
| 995 | topology = '2x2', |
| 996 | onosNodes = 1, |
| 997 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 998 | vlan = [ 0, 20, 0, 40 ] ) |
| 999 | |
| 1000 | def CASE74( self, main ): |
| 1001 | """ |
| 1002 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 1003 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 1004 | |
| 1005 | Sets up 1 ONOS instance |
| 1006 | Start 2x2 dual-homed leaf-spine topology |
| 1007 | Pingall |
| 1008 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 1009 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1010 | SRBridgingTest.runTest( main, |
| 1011 | test_idx = 74, |
| 1012 | topology = '2x4', |
| 1013 | onosNodes = 1, |
| 1014 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 1015 | vlan = [ 0, 20, 0, 40 ] ) |
| 1016 | |
| 1017 | def CASE75( self, main ): |
| 1018 | """ |
| 1019 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 1020 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 1021 | |
| 1022 | Sets up 3 ONOS instances |
| 1023 | Start 0x1 single ToR topology |
| 1024 | Pingall |
| 1025 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 1026 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1027 | SRBridgingTest.runTest( main, |
| 1028 | test_idx = 75, |
| 1029 | topology = '0x1', |
| 1030 | onosNodes = 3, |
| 1031 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 1032 | vlan = [ 0, 20 ] ) |
| 1033 | |
| 1034 | def CASE76( self, main ): |
| 1035 | """ |
| 1036 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 1037 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 1038 | |
| 1039 | Sets up 3 ONOS instances |
| 1040 | Start 0x2 dual-homed ToR topology |
| 1041 | Pingall |
| 1042 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 1043 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1044 | SRBridgingTest.runTest( main, |
| 1045 | test_idx = 76, |
| 1046 | topology = '0x2', |
| 1047 | onosNodes = 3, |
| 1048 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 1049 | vlan = [ 0, 20 ] ) |
| 1050 | |
| 1051 | def CASE77( self, main ): |
| 1052 | """ |
| 1053 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 1054 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 1055 | |
| 1056 | Sets up 3 ONOS instances |
| 1057 | Start 2x2 leaf-spine topology |
| 1058 | Pingall |
| 1059 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 1060 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1061 | SRBridgingTest.runTest( main, |
| 1062 | test_idx = 77, |
| 1063 | topology = '2x2', |
| 1064 | onosNodes = 3, |
| 1065 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 1066 | vlan = [ 0, 20, 0, 40 ] ) |
| 1067 | |
| 1068 | def CASE78( self, main ): |
| 1069 | """ |
| 1070 | Tests connectivity between untagged and tagged hosts with different vlan id |
| 1071 | (Ports are configured as vlan-untagged 10 and vlan-tagged 20, respectively) |
| 1072 | |
| 1073 | Sets up 3 ONOS instances |
| 1074 | Start 2x2 dual-homed leaf-spine topology |
| 1075 | Pingall |
| 1076 | """ |
You Wang | ac02b14 | 2018-01-26 14:57:28 -0800 | [diff] [blame] | 1077 | from tests.USECASE.SegmentRouting.SRBridging.dependencies.SRBridgingTest import SRBridgingTest |
Jonghwan Hyun | 3731d6a | 2017-10-19 11:59:31 -0700 | [diff] [blame] | 1078 | SRBridgingTest.runTest( main, |
| 1079 | test_idx = 78, |
| 1080 | topology = '2x4', |
| 1081 | onosNodes = 3, |
| 1082 | description = "Bridging test between untagged and tagged hosts with different vlan id", |
| 1083 | vlan = [ 0, 20, 0, 40 ] ) |