* Add Netbox configuration and plugins * Add Containerlab topology * Add template * Update Documentation
87 lines
2.8 KiB
YAML
Executable File
87 lines
2.8 KiB
YAML
Executable File
name: vxlan-evpn-l2
|
|
mgmt:
|
|
network: management
|
|
topology:
|
|
nodes:
|
|
padc_sp1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.10
|
|
padc_sp2_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.11
|
|
pa01_lf1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.100
|
|
pa02_lf2_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.101
|
|
pa03_lf3_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.102
|
|
pa04_lf4_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.103
|
|
pa01_sw1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.110
|
|
pa02_sw1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.111
|
|
pa03_sw1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.112
|
|
pa04_sw1_00:
|
|
kind: ceos
|
|
image: ceos:4.33.1F
|
|
mgmt-ipv4: 172.20.20.113
|
|
host1:
|
|
kind: linux
|
|
image: alpine:latest
|
|
binds:
|
|
- hosts/h1_interfaces:/etc/network/interfaces
|
|
mgmt-ipv4: 172.20.20.21
|
|
host2:
|
|
kind: linux
|
|
image: alpine:latest
|
|
binds:
|
|
- hosts/h2_interfaces:/etc/network/interfaces
|
|
mgmt-ipv4: 172.20.20.22
|
|
host3:
|
|
kind: linux
|
|
image: alpine:latest
|
|
binds:
|
|
- hosts/h3_interfaces:/etc/network/interfaces
|
|
mgmt-ipv4: 172.20.20.23
|
|
host4:
|
|
kind: linux
|
|
image: alpine:latest
|
|
binds:
|
|
- hosts/h4_interfaces:/etc/network/interfaces
|
|
mgmt-ipv4: 172.20.20.24
|
|
links:
|
|
- endpoints: ["pa01_lf1_00:eth1", "padc_sp1_00:eth1"]
|
|
- endpoints: ["pa01_lf1_00:eth2", "padc_sp2_00:eth1"]
|
|
- endpoints: ["pa02_lf2_00:eth1", "padc_sp1_00:eth2"]
|
|
- endpoints: ["pa02_lf2_00:eth2", "padc_sp2_00:eth2"]
|
|
- endpoints: ["pa03_lf3_00:eth1", "padc_sp1_00:eth3"]
|
|
- endpoints: ["pa03_lf3_00:eth2", "padc_sp2_00:eth3"]
|
|
- endpoints: ["pa04_lf4_00:eth1", "padc_sp1_00:eth4"]
|
|
- endpoints: ["pa04_lf4_00:eth2", "padc_sp2_00:eth4"]
|
|
- endpoints: ["pa01_lf1_00:eth3", "pa01_sw1_00:eth1"]
|
|
- endpoints: ["pa02_lf2_00:eth3", "pa02_sw1_00:eth1"]
|
|
- endpoints: ["pa03_lf3_00:eth3", "pa03_sw1_00:eth1"]
|
|
- endpoints: ["pa04_lf4_00:eth3", "pa04_sw1_00:eth1"]
|
|
- endpoints: ["pa01_sw1_00:eth2", "host1:eth1"]
|
|
- endpoints: ["pa02_sw1_00:eth2", "host2:eth1"]
|
|
- endpoints: ["pa03_sw1_00:eth2", "host3:eth1"]
|
|
- endpoints: ["pa04_sw1_00:eth2", "host4:eth1"]
|