-
Notifications
You must be signed in to change notification settings - Fork 9
/
custom_cfg.clab.yml
53 lines (49 loc) · 1.48 KB
/
custom_cfg.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
50
51
52
53
---
name: ceos-lab
mgmt:
network: clab_custom_mgmt
ipv4-subnet: 192.168.123.0/24
topology:
kinds:
ceos:
image: ceos-lab:latest
defaults:
kind: ceos
nodes:
spine1:
mgmt-ipv4: 192.168.123.11
startup-config: init-configs/spine1.cfg
binds:
# change Ma0 to Ma1
- interface_mapping.json:/mnt/flash/EosIntfMapping.json:ro
spine2:
mgmt-ipv4: 192.168.123.12
startup-config: init-configs/spine2.cfg
binds:
# change Ma0 to Ma1
- interface_mapping.json:/mnt/flash/EosIntfMapping.json:ro
leaf1:
mgmt-ipv4: 192.168.123.21
startup-config: init-configs/leaf1.cfg
binds:
# change Ma0 to Ma1
- interface_mapping.json:/mnt/flash/EosIntfMapping.json:ro
leaf2:
mgmt-ipv4: 192.168.123.22
startup-config: init-configs/leaf2.cfg
binds:
# change Ma0 to Ma1
- interface_mapping.json:/mnt/flash/EosIntfMapping.json:ro
a_host:
# default interface names will be used for the host
mgmt-ipv4: 192.168.123.100
startup-config: init-configs/a_host.cfg
links:
- endpoints: ["spine1:eth1_1", "leaf1:eth1_1"]
- endpoints: ["spine1:eth2_1", "leaf2:eth1_1"]
- endpoints: ["spine2:eth1_1", "leaf1:eth2_1"]
- endpoints: ["spine2:eth2_1", "leaf2:eth2_1"]
- endpoints: ["leaf1:eth3_1", "leaf2:eth3_1"]
- endpoints: ["leaf1:eth4_1", "leaf2:eth4_1"]
- endpoints: ["leaf1:eth10_1", "a_host:eth1"]
- endpoints: ["leaf2:eth10_1", "a_host:eth2"]