Skip to content

Commit 588b4e7

Browse files
authored
Add TH-512 topo: t0-isolated, t1-isolated (sonic-net#17642)
Description of PR Summary: add the following topology: ansible/vars/topo_t0-isolated-d256u256s2.yml ansible/vars/topo_t0-isolated-d32u32s2.yml ansible/vars/topo_t1-isolated-d448u16.yml ansible/vars/topo_t1-isolated-d56u2.yml
1 parent deb7f53 commit 588b4e7

21 files changed

+38019
-0
lines changed

ansible/generate_topo.py

+29
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,26 @@
5959
"panel_port_step": 2},
6060
'o128-sparse': {"ds_breakout": 2, "us_breakout": 2, "ds_link_step": 1, "us_link_step": 2,
6161
"panel_port_step": 1},
62+
'c512s2': {"ds_breakout": 8, "us_breakout": 8, "ds_link_step": 1, "us_link_step": 1,
63+
'uplink_ports': list(range(8, 24)) + list(range(40, 56)),
64+
'peer_ports': [64, 65],
65+
'skip_ports': [],
66+
"panel_port_step": 1},
67+
'c512s2-sparse': {"ds_breakout": 8, "us_breakout": 8, "ds_link_step": 8, "us_link_step": 8,
68+
'uplink_ports': list(range(8, 24)) + list(range(40, 56)),
69+
'peer_ports': [64, 65],
70+
'skip_ports': [],
71+
"panel_port_step": 1},
72+
'c448o16': {"ds_breakout": 8, "us_breakout": 2, "ds_link_step": 1, "us_link_step": 1,
73+
'uplink_ports': [12, 13, 16, 17, 44, 45, 48, 49],
74+
'peer_ports': [],
75+
'skip_ports': [],
76+
"panel_port_step": 1},
77+
'c448o16-sparse': {"ds_breakout": 8, "us_breakout": 2, "ds_link_step": 8, "us_link_step": 2,
78+
'uplink_ports': [12, 13, 16, 17, 44, 45, 48, 49],
79+
'peer_ports': [],
80+
'skip_ports': [16, 17, 44, 45, 48, 49],
81+
"panel_port_step": 1},
6282
}
6383

6484
vlan_group_cfgs = [
@@ -333,6 +353,15 @@ def main(role: str, keyword: str, template: str, port_count: int, uplinks: str,
333353
- ./generate_topo.py -r t1 -k isolated-v6 -t t1-isolated-v6 -c 64 -l 'c224o8-sparse'
334354
- ./generate_topo.py -r t0 -k isolated-v6 -t t0-isolated-v6 -c 64 -l 'o128t0'
335355
- ./generate_topo.py -r t1 -k isolated-v6 -t t1-isolated-v6 -c 64 -l 'o128t1'
356+
- ./generate_topo.py -r t0 -k isolated -t t0-isolated -c 64 -l 'c512s2'
357+
- ./generate_topo.py -r t0 -k isolated -t t0-isolated -c 64 -l 'c512s2-sparse'
358+
- ./generate_topo.py -r t1 -k isolated -t t1-isolated -c 64 -l 'c448o16'
359+
- ./generate_topo.py -r t1 -k isolated -t t1-isolated -c 64 -l 'c448o16-sparse'
360+
- ./generate_topo.py -r t0 -k isolated-v6 -t t0-isolated-v6 -c 64 -l 'c512s2'
361+
- ./generate_topo.py -r t0 -k isolated-v6 -t t0-isolated-v6 -c 64 -l 'c512s2-sparse'
362+
- ./generate_topo.py -r t1 -k isolated-v6 -t t1-isolated-v6 -c 64 -l 'c448o16'
363+
- ./generate_topo.py -r t1 -k isolated-v6 -t t1-isolated-v6 -c 64 -l 'c448o16-sparse'
364+
336365
"""
337366
uplink_ports = [int(port) for port in uplinks.split(",")] if uplinks != "" else \
338367
hw_port_cfg[link_cfg]['uplink_ports']
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t0-leaf.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t0-leaf.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t0-leaf.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t0-leaf.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-spine.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-tor.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-spine.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-tor.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-spine.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-tor.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-spine.j2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
t1-tor.j2

0 commit comments

Comments
 (0)