-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwo_node.clab.yml
49 lines (43 loc) · 1.09 KB
/
two_node.clab.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
46
47
48
49
name: foo
mgmt:
network: custom_mgmt_foo
ipv4_subnet: 172.22.0.0/24
ipv6_subnet: 2001:172:22:0::/64
topology:
kinds:
srl:
type: ixr6 # See https://www.nokia.com/networks/products/7250-interconnect-router/
image: srlinux
license: license.key
nodes:
ceos1:
kind: ceos
image: ceos:latest
config: ceos1.cfg
mgmt_ipv4: 172.22.0.2
mgmt_ipv6: 2001:172:22:0::2
srl2:
kind: srl
config: srl2.cfg.json
mgmt_ipv4: 172.22.0.3
mgmt_ipv6: 2001:172:22:0::3
centos1:
kind: linux
image: nanoghackathon82/centos
mgmt_ipv4: 172.22.0.4
mgmt_ipv6: 2001:172:22:0::4
binds:
- init_centos1.sh:/tmp/init.sh
cmd: "sh /tmp/init.sh"
centos2:
kind: linux
image: nanoghackathon82/centos
mgmt_ipv4: 172.22.0.5
mgmt_ipv6: 2001:172:22:0::5
binds:
- init_centos2.sh:/tmp/init.sh
cmd: "sh /tmp/init.sh"
links:
- endpoints: ["ceos1:eth1", "srl2:e1-1"]
- endpoints: ["ceos1:eth2", "centos1:eth1"]
- endpoints: ["srl2:e1-2", "centos2:eth1"]