Skip to content

Commit

Permalink
tests: add ascii diagram to test_bgp_linkbw_ip
Browse files Browse the repository at this point in the history
Add ASCII diagram to test_bgp_linkbw_ip

Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed Apr 8, 2024
1 parent a2df7e2 commit a6ea590
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,39 @@


def build_topo(tgen):
"Build function"
"""
Build function
+------+
| |
/| r7 |---
/ | 65351|
/ +------+
/
+------+ / +------+
| |/ | |
/| r4 | | r8 |---
/ | 65301|------| 65352|
/ +------+ +------+
/
+------+ / +------+ +------+
| |/ | | | |
| r2 | | r5 | | r9 |---
| 65201|------| 65302|------| 65353|
+------+ +------+ +------+
|
+------+ |
| |----------
| r1 |
| 65101|----------
+------+ |
|
+------+ +------+ +------+
| | | | | |
| r3 |------| r6 |------| r10 |---
| 65202| | 65303| | 65354|
+------+ +------+ +------+
"""

# Create 10 routers - 1 super-spine, 2 spines, 3 leafs
# and 4 servers
Expand Down

0 comments on commit a6ea590

Please sign in to comment.