Skip to content

Commit

Permalink
add topo_t0-d18u8s4 (sonic-net#16788)
Browse files Browse the repository at this point in the history
* add topo_t0-d18u8s4
  • Loading branch information
sdszhang authored Feb 6, 2025
1 parent 5d56f52 commit c102cb4
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/eos/templates/t0-d18u8s4-leaf.j2
395 changes: 395 additions & 0 deletions ansible/vars/topo_t0-d18u8s4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,395 @@
topology:
host_interfaces:
- 0
- 1
- 2
- 3
- 5
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 21
- 27
- 28
- 29
disabled_host_interfaces:
- 30
- 31
VMs:
ARISTA01T1:
vlans:
- 6
vm_offset: 0
ARISTA02T1:
vlans:
- 7
vm_offset: 1
ARISTA03T1:
vlans:
- 8
vm_offset: 2
ARISTA04T1:
vlans:
- 9
vm_offset: 3
ARISTA05T1:
vlans:
- 22
vm_offset: 4
ARISTA06T1:
vlans:
- 23
vm_offset: 5
ARISTA07T1:
vlans:
- 24
vm_offset: 6
ARISTA08T1:
vlans:
- 25
vm_offset: 7
ARISTA01PT0:
vlans:
- 4
vm_offset: 8
ARISTA02PT0:
vlans:
- 10
vm_offset: 9
ARISTA03PT0:
vlans:
- 20
vm_offset: 10
ARISTA04PT0:
vlans:
- 26
vm_offset: 11
DUT:
vlan_configs:
default_vlan_config: one_vlan_a
one_vlan_a:
Vlan1000:
id: 1000
intfs: [0, 1, 2, 3, 5, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 27, 28, 29]
prefix: 192.168.0.1/21
prefix_v6: fc02:1000::1/64
tag: 1000
two_vlan_a:
Vlan100:
id: 100
intfs: [0, 1, 2, 3, 5, 11, 12, 13, 14]
prefix: 192.168.0.1/22
secondary_subnet: 192.169.0.1/22
prefix_v6: fc02:100::1/64
tag: 100
Vlan200:
id: 200
intfs: [15, 16, 17, 18, 19, 21, 27, 28, 29]
prefix: 192.168.4.1/22
prefix_v6: fc02:200::1/64
tag: 200
four_vlan_a:
Vlan1000:
id: 1000
intfs: [0, 1, 2, 3, 5 ]
prefix: 192.168.0.1/23
prefix_v6: fc02:400::1/64
tag: 1000
Vlan2000:
id: 2000
intfs: [11, 12, 13, 14, 15]
prefix: 192.168.2.1/23
prefix_v6: fc02:401::1/64
tag: 2000
Vlan3000:
id: 3000
intfs: [16, 17, 18, 19]
prefix: 192.168.4.1/23
prefix_v6: fc02:402::1/64
tag: 3000
Vlan4000:
id: 4000
intfs: [21, 27, 28, 29]
prefix: 192.168.6.1/23
prefix_v6: fc02:403::1/64
tag: 4000

configuration_properties:
common:
dut_asn: 65100
dut_type: ToRRouter
swrole: leaf
nhipv4: 10.10.246.254
nhipv6: FC0A::FF
podset_number: 200
tor_number: 16
tor_subnet_number: 2
max_tor_subnet_number: 16
tor_subnet_size: 128
spine_asn: 65534
leaf_asn_start: 64600
tor_asn_start: 65500
failure_rate: 0

configuration:
ARISTA01T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.56
- FC00::71
interfaces:
Loopback0:
ipv4: 100.1.0.1/32
ipv6: 2064:100::1/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.57/31
ipv6: fc00::72/126
bp_interface:
ipv4: 10.10.246.1/24
ipv6: fc0a::1/64

ARISTA02T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.58
- FC00::75
interfaces:
Loopback0:
ipv4: 100.1.0.2/32
ipv6: 2064:100::2/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.59/31
ipv6: fc00::76/126
bp_interface:
ipv4: 10.10.246.2/24
ipv6: fc0a::2/64

ARISTA03T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.60
- FC00::79
interfaces:
Loopback0:
ipv4: 100.1.0.3/32
ipv6: 2064:100::3/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.61/31
ipv6: fc00::7a/126
bp_interface:
ipv4: 10.10.246.3/24
ipv6: fc0a::3/64

ARISTA04T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.62
- FC00::7D
interfaces:
Loopback0:
ipv4: 100.1.0.4/32
ipv6: 2064:100::4/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.63/31
ipv6: fc00::7e/126
bp_interface:
ipv4: 10.10.246.4/24
ipv6: fc0a::4/64

ARISTA05T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.64
- FC00::81
interfaces:
Loopback0:
ipv4: 100.1.0.5/32
ipv6: 2064:100::5/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.65/31
ipv6: fc00::82/126
bp_interface:
ipv4: 10.10.246.5/24
ipv6: fc0a::5/64

ARISTA06T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.66
- FC00::85
interfaces:
Loopback0:
ipv4: 100.1.0.6/32
ipv6: 2064:100::6/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.67/31
ipv6: fc00::86/126
bp_interface:
ipv4: 10.10.246.6/24
ipv6: fc0a::6/64

ARISTA07T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.68
- FC00::89
interfaces:
Loopback0:
ipv4: 100.1.0.7/32
ipv6: 2064:100::7/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.69/31
ipv6: fc00::8a/126
bp_interface:
ipv4: 10.10.246.7/24
ipv6: fc0a::7/64

ARISTA08T1:
properties:
- common
bgp:
asn: 64600
peers:
65100:
- 10.0.0.70
- FC00::8D
interfaces:
Loopback0:
ipv4: 100.1.0.8/32
ipv6: 2064:100::8/128
Ethernet1:
lacp: 1
Port-Channel1:
ipv4: 10.0.0.71/31
ipv6: fc00::8e/126
bp_interface:
ipv4: 10.10.246.8/24
ipv6: fc0a::8/64

ARISTA01PT0:
properties:
- common
bgp:
asn: 65100
peers:
65100:
- 10.0.0.156
- FC00::171
interfaces:
Loopback0:
ipv4: 100.1.0.9/32
ipv6: 2064:100::9/128
Ethernet1:
ipv4: 10.0.0.157/31
ipv6: fc00::172/126
bp_interface:
ipv4: 10.10.246.129/24
ipv6: fc0a::81/64

ARISTA02PT0:
properties:
- common
bgp:
asn: 65100
peers:
65100:
- 10.0.0.158
- FC00::175
interfaces:
Loopback0:
ipv4: 100.1.0.10/32
ipv6: 2064:100::a/128
Ethernet1:
ipv4: 10.0.0.159/31
ipv6: fc00::176/126
bp_interface:
ipv4: 10.10.246.130/24
ipv6: fc0a::82/64

ARISTA03PT0:
properties:
- common
bgp:
asn: 65100
peers:
65100:
- 10.0.0.160
- FC00::179
interfaces:
Loopback0:
ipv4: 100.1.0.11/32
ipv6: 2064:100::b/128
Ethernet1:
ipv4: 10.0.0.161/31
ipv6: fc00::17a/126
bp_interface:
ipv4: 10.10.246.131/24
ipv6: fc0a::83/64

ARISTA04PT0:
properties:
- common
bgp:
asn: 65100
peers:
65100:
- 10.0.0.162
- FC00::17D
interfaces:
Loopback0:
ipv4: 100.1.0.12/32
ipv6: 2064:100::b/128
Ethernet1:
ipv4: 10.0.0.163/31
ipv6: fc00::17e/126
bp_interface:
ipv4: 10.10.246.132/24
ipv6: fc0a::84/64
Loading

0 comments on commit c102cb4

Please sign in to comment.