Add EOS image to .gitignore and update topology

Update topology to use arista_ceos kind and new image.
This commit is contained in:
2025-11-17 19:27:57 +00:00
parent d2cdab6b5e
commit 3946d6b2e5
2 changed files with 142 additions and 141 deletions

1
.gitignore vendored
View File

@@ -58,3 +58,4 @@ id_rsa*
# OS specific # OS specific
Thumbs.db Thumbs.db
cEOS64-lab-4.35.0F.tar.xz

View File

@@ -1,147 +1,147 @@
name: arista-evpn-fabric name: arista-evpn-fabric
mgmt: mgmt:
network: evpn-mgmt network: evpn-mgmt
ipv4-subnet: 172.16.0.0/24 ipv4-subnet: 172.16.0.0/24
topology: topology:
kinds: kinds:
ceos: arista_ceos:
image: ceos:4.35.0 image: arista_ceos:4.35.0F
nodes: nodes:
# Spine Switches # Spine Switches
spine1: spine1:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.1 mgmt-ipv4: 172.16.0.1
startup-config: configs/spine1.cfg startup-config: configs/spine1.cfg
spine2: spine2:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.2 mgmt-ipv4: 172.16.0.2
startup-config: configs/spine2.cfg startup-config: configs/spine2.cfg
# Leaf Switches - VTEP1 (AS 65001) # Leaf Switches - VTEP1 (AS 65001)
leaf1: leaf1:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.25 mgmt-ipv4: 172.16.0.25
startup-config: configs/leaf1.cfg startup-config: configs/leaf1.cfg
leaf2: leaf2:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.50 mgmt-ipv4: 172.16.0.50
startup-config: configs/leaf2.cfg startup-config: configs/leaf2.cfg
# Leaf Switches - VTEP2 (AS 65002) # Leaf Switches - VTEP2 (AS 65002)
leaf3: leaf3:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.27 mgmt-ipv4: 172.16.0.27
startup-config: configs/leaf3.cfg startup-config: configs/leaf3.cfg
leaf4: leaf4:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.28 mgmt-ipv4: 172.16.0.28
startup-config: configs/leaf4.cfg startup-config: configs/leaf4.cfg
# Leaf Switches - VTEP3 (AS 65003) # Leaf Switches - VTEP3 (AS 65003)
leaf5: leaf5:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.29 mgmt-ipv4: 172.16.0.29
startup-config: configs/leaf5.cfg startup-config: configs/leaf5.cfg
leaf6: leaf6:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.30 mgmt-ipv4: 172.16.0.30
startup-config: configs/leaf6.cfg startup-config: configs/leaf6.cfg
# Leaf Switches - VTEP4 (AS 65004) # Leaf Switches - VTEP4 (AS 65004)
leaf7: leaf7:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.31 mgmt-ipv4: 172.16.0.31
startup-config: configs/leaf7.cfg startup-config: configs/leaf7.cfg
leaf8: leaf8:
kind: ceos kind: arista_ceos
mgmt-ipv4: 172.16.0.32 mgmt-ipv4: 172.16.0.32
startup-config: configs/leaf8.cfg startup-config: configs/leaf8.cfg
# Host devices for testing # Host devices for testing
host1: host1:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.101 mgmt-ipv4: 172.16.0.101
image: alpine:latest image: alpine:latest
exec: exec:
- ip link add bond0 type bond mode 802.3ad - ip link add bond0 type bond mode 802.3ad
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
host2: host2:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.102 mgmt-ipv4: 172.16.0.102
image: alpine:latest image: alpine:latest
exec: exec:
- ip link add bond0 type bond mode 802.3ad - ip link add bond0 type bond mode 802.3ad
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
host3: host3:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.103 mgmt-ipv4: 172.16.0.103
image: alpine:latest image: alpine:latest
exec: exec:
- ip link add bond0 type bond mode 802.3ad - ip link add bond0 type bond mode 802.3ad
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
host4: host4:
kind: linux kind: linux
mgmt-ipv4: 172.16.0.104 mgmt-ipv4: 172.16.0.104
image: alpine:latest image: alpine:latest
exec: exec:
- ip link add bond0 type bond mode 802.3ad - ip link add bond0 type bond mode 802.3ad
- ip link set eth1 master bond0 - ip link set eth1 master bond0
- ip link set eth2 master bond0 - ip link set eth2 master bond0
- ip link set bond0 up - ip link set bond0 up
links: links:
# Spine1 to Leaf connections (underlay fabric) # Spine1 to Leaf connections (underlay fabric)
- endpoints: ["spine1:eth1", "leaf1:eth11"] - endpoints: ["spine1:eth1", "leaf1:eth11"]
- endpoints: ["spine1:eth2", "leaf2:eth11"] - endpoints: ["spine1:eth2", "leaf2:eth11"]
- endpoints: ["spine1:eth3", "leaf3:eth11"] - endpoints: ["spine1:eth3", "leaf3:eth11"]
- endpoints: ["spine1:eth4", "leaf4:eth11"] - endpoints: ["spine1:eth4", "leaf4:eth11"]
- endpoints: ["spine1:eth5", "leaf5:eth11"] - endpoints: ["spine1:eth5", "leaf5:eth11"]
- endpoints: ["spine1:eth6", "leaf6:eth11"] - endpoints: ["spine1:eth6", "leaf6:eth11"]
- endpoints: ["spine1:eth7", "leaf7:eth11"] - endpoints: ["spine1:eth7", "leaf7:eth11"]
- endpoints: ["spine1:eth8", "leaf8:eth11"] - endpoints: ["spine1:eth8", "leaf8:eth11"]
# Spine2 to Leaf connections (underlay fabric) # Spine2 to Leaf connections (underlay fabric)
- endpoints: ["spine2:eth1", "leaf1:eth12"] - endpoints: ["spine2:eth1", "leaf1:eth12"]
- endpoints: ["spine2:eth2", "leaf2:eth12"] - endpoints: ["spine2:eth2", "leaf2:eth12"]
- endpoints: ["spine2:eth3", "leaf3:eth12"] - endpoints: ["spine2:eth3", "leaf3:eth12"]
- endpoints: ["spine2:eth4", "leaf4:eth12"] - endpoints: ["spine2:eth4", "leaf4:eth12"]
- endpoints: ["spine2:eth5", "leaf5:eth12"] - endpoints: ["spine2:eth5", "leaf5:eth12"]
- endpoints: ["spine2:eth6", "leaf6:eth12"] - endpoints: ["spine2:eth6", "leaf6:eth12"]
- endpoints: ["spine2:eth7", "leaf7:eth12"] - endpoints: ["spine2:eth7", "leaf7:eth12"]
- endpoints: ["spine2:eth8", "leaf8:eth12"] - endpoints: ["spine2:eth8", "leaf8:eth12"]
# MLAG Peer Links (leaf pairs) # MLAG Peer Links (leaf pairs)
- endpoints: ["leaf1:eth10", "leaf2:eth10"] - endpoints: ["leaf1:eth10", "leaf2:eth10"]
- endpoints: ["leaf3:eth10", "leaf4:eth10"] - endpoints: ["leaf3:eth10", "leaf4:eth10"]
- endpoints: ["leaf5:eth10", "leaf6:eth10"] - endpoints: ["leaf5:eth10", "leaf6:eth10"]
- endpoints: ["leaf7:eth10", "leaf8:eth10"] - endpoints: ["leaf7:eth10", "leaf8:eth10"]
# Host connections (dual-homed to MLAG pairs for testing) # Host connections (dual-homed to MLAG pairs for testing)
- endpoints: ["leaf1:eth1", "host1:eth1"] - endpoints: ["leaf1:eth1", "host1:eth1"]
- endpoints: ["leaf2:eth1", "host1:eth2"] - endpoints: ["leaf2:eth1", "host1:eth2"]
- endpoints: ["leaf3:eth1", "host2:eth1"] - endpoints: ["leaf3:eth1", "host2:eth1"]
- endpoints: ["leaf4:eth1", "host2:eth2"] - endpoints: ["leaf4:eth1", "host2:eth2"]
- endpoints: ["leaf5:eth1", "host3:eth1"] - endpoints: ["leaf5:eth1", "host3:eth1"]
- endpoints: ["leaf6:eth1", "host3:eth2"] - endpoints: ["leaf6:eth1", "host3:eth2"]
- endpoints: ["leaf7:eth1", "host4:eth1"] - endpoints: ["leaf7:eth1", "host4:eth1"]
- endpoints: ["leaf8:eth1", "host4:eth2"] - endpoints: ["leaf8:eth1", "host4:eth2"]