-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtopology.yml
45 lines (45 loc) · 1.2 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
45
name: srlinux
mgmt:
ipv4-subnet: 172.30.0.0/16
topology:
kinds:
srl:
image: ghcr.io/nokia/srlinux
nodes:
inmanta-server:
kind: linux
image: ghcr.io/inmanta/orchestrator:latest
mgmt-ipv4: 172.30.0.3
cmd: "server --wait-for-host inmanta_db --wait-for-port 5432"
inmanta_db:
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
router-east:
kind: srl
image: ghcr.io/nokia/srlinux:23.10.1
type: ixrd2
mgmt-ipv4: 172.30.0.4
router-west:
kind: srl
image: ghcr.io/nokia/srlinux:23.10.1
type: ixrd2
mgmt-ipv4: 172.30.0.5
subscriber-east:
kind: linux
image: inmantaci/nfv-test-api:latest
mgmt-ipv4: 172.30.0.6
subscriber-west:
kind: linux
image: inmantaci/nfv-test-api:latest
mgmt-ipv4: 172.30.0.7
links:
- endpoints: ["router-east:e1-1", "router-west:e1-1"]
- endpoints: ["router-east:e1-2", "subscriber-east:eth1"]
- endpoints: ["router-west:e1-2", "subscriber-west:eth1"]