-
Notifications
You must be signed in to change notification settings - Fork 0
/
clab.yml
executable file
·63 lines (58 loc) · 1.4 KB
/
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
54
55
56
57
58
59
60
61
62
63
name: sq
topology:
nodes:
ceos1:
kind: ceos
image: ceoslab:4.29.2F
mgmt_ipv4: 172.20.20.100
ports:
- 4001:6030
- 4444:4432
- 888:80
- 6040:6040
startup-config: configs/ceos1.conf
ceos2:
kind: ceos
image: ceoslab:4.29.2F
mgmt_ipv4: 172.20.20.101
ports:
- 4002:6030
- 4445:443
- 889:80
- 6041:6040
startup-config: configs/ceos2.conf
sq:
kind: linux
image: netenglabs/suzieq
mgmt_ipv4: 172.20.20.102
binds:
- inventory.yaml:/tmp/inventory.yaml
grafana:
kind: linux
image: grafana/grafana:7.4.3
mgmt_ipv4: 172.20.20.103
ports:
- 3000:3000
publish:
- http/3000
binds:
- influx.yaml:/etc/grafana/provisioning/datasources/datasource.yaml:ro
influx:
kind: linux
image: influxdb:2.0
mgmt_ipv4: 172.20.20.104
ports:
- 8086:8086
publish:
- http/8086
env:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_BUCKET: sq
DOCKER_INFLUXDB_INIT_ORG: sq
DOCKER_INFLUXDB_INIT_USERNAME: sqadmin
DOCKER_INFLUXDB_INIT_PASSWORD: sqpassword
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: sqtoken
links:
- endpoints: ["ceos1:eth1", "ceos2:eth1"]
- endpoints: ["ceos1:eth2", "ceos2:eth2"]
- endpoints: ["ceos1:eth3", "ceos2:eth3"]