66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
name: pe-exp-7
|
|
|
|
topology:
|
|
nodes:
|
|
rt1:
|
|
kind: cisco_c8000v
|
|
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_c8000v:17.13.01a
|
|
exec:
|
|
- conf t
|
|
- int gig2
|
|
- no sh
|
|
- exit
|
|
- int gig3
|
|
- no sh
|
|
rt2:
|
|
kind: cisco_c8000v
|
|
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_c8000v:17.13.01a
|
|
exec:
|
|
- conf t
|
|
- int gig2
|
|
- no sh
|
|
- exit
|
|
- int gig3
|
|
- no sh
|
|
sw1:
|
|
kind: cisco_iol
|
|
type: l2
|
|
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_iol:L2-17.15.1
|
|
sw2:
|
|
kind: cisco_iol
|
|
type: l2
|
|
image: registry.uttnetgroup.fr/ung/vrnetlab/cisco_iol:L2-17.15.1
|
|
client1:
|
|
kind: linux
|
|
image: ghcr.io/srl-labs/network-multitool:latest
|
|
exec:
|
|
- ip link set eth1 up
|
|
- ip addr add 10.0.20.1/24 dev eth1
|
|
client2:
|
|
kind: linux
|
|
image: ghcr.io/srl-labs/network-multitool:latest
|
|
exec:
|
|
- ip link set eth1 up
|
|
- ip addr add 10.0.20.2/24 dev eth1
|
|
client3:
|
|
kind: linux
|
|
image: ghcr.io/srl-labs/network-multitool:latest
|
|
exec:
|
|
- ip link set eth1 up
|
|
- ip addr add 10.0.20.3/24 dev eth1
|
|
client4:
|
|
kind: linux
|
|
image: ghcr.io/srl-labs/network-multitool:latest
|
|
exec:
|
|
- ip link set eth1 up
|
|
- ip addr add 10.0.20.4/24 dev eth1
|
|
|
|
links:
|
|
- endpoints: [ "rt1:eth1", "rt2:eth1" ]
|
|
- endpoints: [ "rt1:eth2", "sw1:Ethernet0/1" ]
|
|
- endpoints: [ "sw1:Ethernet0/2", "client1:eth1" ]
|
|
- endpoints: [ "sw1:Ethernet0/3", "client2:eth1" ]
|
|
- endpoints: [ "rt2:eth2", "sw2:Ethernet0/1" ]
|
|
- endpoints: [ "sw2:Ethernet0/2", "client3:eth1" ]
|
|
- endpoints: [ "sw2:Ethernet0/3", "client4:eth1" ]
|