Commit 8ca0e24
committed
tests: topotests: EVPN VXLAN MH extern learn mode tests
Topotests added under bgp_evpn_mh_l2l3vni_ext_learn to:
- Validate correct ES discovery and advertisement for both local and
remote PEs.
- Check VTEP peer lists for accuracy, including handling of downed VTEPs
and ES state transitions.
- Ensure L2VNI and L3VNI are correctly instantiated and associated with the
appropriate VRFs and VXLAN interfaces.
- Test orphaned hosts, dual-attached hosts, and single-attached hosts
in various failure and recovery scenarios.
- MAC 'protocol' state transitions i.e data plane learnt to
control plane learnt and vice versa, delete, relearn in both peers
sequences
Utility and Parser Functions:
Utility functions in lib/bgp_evpn.py(new) are added.
These changes add the test coverage and reliability for EVPN VXLAN
multihoming in external mode, making it easier to detect regressions and
validate new features.
Signed-off-by: Patrice Brissette <pbrisset@cisco.com>
Signed-off-by: Tamer Ahmed <tamerahmed@microsoft.com>1 parent ecb4f7f commit 8ca0e24
9 files changed
Lines changed: 1666 additions & 48 deletions
File tree
- tests/topotests
- bgp_evpn_mh_l2l3vni_ext_learn
- spine1
- spine2
- torm11
- torm12
- torm21
- torm22
- bgp_evpn_mh
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | 216 | | |
244 | 217 | | |
245 | 218 | | |
| |||
338 | 311 | | |
339 | 312 | | |
340 | 313 | | |
341 | | - | |
| 314 | + | |
342 | 315 | | |
343 | 316 | | |
344 | | - | |
| 317 | + | |
345 | 318 | | |
346 | 319 | | |
347 | 320 | | |
| |||
361 | 334 | | |
362 | 335 | | |
363 | 336 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 337 | | |
380 | 338 | | |
381 | 339 | | |
382 | | - | |
| 340 | + | |
| 341 | + | |
383 | 342 | | |
384 | 343 | | |
385 | 344 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments