-
Notifications
You must be signed in to change notification settings - Fork 4
/
topology.yml
44 lines (44 loc) · 1.02 KB
/
topology.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
name: srlinux
mgmt:
bridge: inmantabridge
network: inmanta_mgmt
ipv4-subnet: 172.30.0.0/16
topology:
kinds:
srl:
image: ghcr.io/nokia/srlinux:latest
nodes:
inmanta-server:
kind: linux
image: ghcr.io/inmanta/orchestrator:latest
mgmt-ipv4: 172.30.0.3
ports:
- 8888:8888
cmd: "server --wait-for-host 172.30.0.2 --wait-for-port 5432"
binds:
- ./inmanta.cfg:/etc/inmanta/inmanta.cfg
postgres:
kind: linux
image: postgres:13
env:
POSTGRES_USER: inmanta
POSTGRES_PASSWORD: inmanta
PGDATA: /var/lib/postgresql/data/pgdata
mgmt-ipv4: 172.30.0.2
binds:
- ./pgdata:/var/lib/postgresql/data
spine:
kind: srl
type: ixrd3
mgmt-ipv4: 172.30.0.100
leaf1:
kind: srl
type: ixrd2
mgmt-ipv4: 172.30.0.210
leaf2:
kind: srl
type: ixrd2
mgmt-ipv4: 172.30.0.220
links:
- endpoints: ["spine:e1-1", "leaf1:e1-1"]
- endpoints: ["spine:e1-2", "leaf2:e1-1"]