-
Notifications
You must be signed in to change notification settings - Fork 0
/
.crpdmpls.yml
47 lines (44 loc) · 998 Bytes
/
.crpdmpls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: crpdmpls
prefix: ""
topology:
kinds:
crpd:
image: crpd:21.4R1.12
linux:
image: wbitt/network-multitool
nodes:
PE1:
kind: crpd
binds:
- linux_net_config/pe1.sh:/home/pe1.sh
exec:
- /bin/bash /home/pe1.sh
CR2:
kind: crpd
binds:
- linux_net_config/cr2.sh:/home/cr2.sh
exec:
- /bin/bash /home/cr2.sh
PE3:
kind: crpd
binds:
- linux_net_config/pe3.sh:/home/pe3.sh
exec:
- /bin/bash /home/pe3.sh
HOST1:
kind: linux
binds:
- linux_net_config/host1.sh:/home/host1.sh
exec:
- /bin/bash /home/host1.sh
HOST3:
kind: linux
binds:
- linux_net_config/host3.sh:/home/host3.sh
exec:
- /bin/bash /home/host3.sh
links:
- endpoints: ["PE1:eth1", "CR2:eth1"]
- endpoints: ["CR2:eth2", "PE3:eth2"]
- endpoints: ["PE1:eth3", "HOST1:eth3"]
- endpoints: ["PE3:eth3", "HOST3:eth3"]