-
Notifications
You must be signed in to change notification settings - Fork 67
/
docker-compose-sdn.yml
54 lines (54 loc) · 1.24 KB
/
docker-compose-sdn.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
version: '3'
services:
odl:
container_name: netapi_odl
image: globocom/odl:6.1.0
command: "/opt/opendaylight/bin/karaf server"
ports:
- "6653:6653"
- "6633:6633"
- "8181:8181"
- "8101:8101"
networks:
- netapi_net
ovs1:
container_name: ovs1
image: socketplane/openvswitch
tty: true
volumes:
- ./scripts/docker/docker-start-openvswitch.sh:/docker-start-openvswitch.sh:ro
command: sh docker-start-openvswitch.sh
cap_add:
- NET_ADMIN
networks:
- netapi_net
depends_on:
- odl
ovs2:
container_name: ovs2
image: socketplane/openvswitch
tty: true
volumes:
- ./scripts/docker/docker-start-openvswitch.sh:/docker-start-openvswitch.sh:ro
command: sh docker-start-openvswitch.sh
cap_add:
- NET_ADMIN
networks:
- netapi_net
depends_on:
- odl
ovs3:
container_name: ovs3
image: socketplane/openvswitch
tty: true
volumes:
- ./scripts/docker/docker-start-openvswitch.sh:/docker-start-openvswitch.sh:ro
command: sh docker-start-openvswitch.sh
cap_add:
- NET_ADMIN
networks:
- netapi_net
depends_on:
- odl
networks:
netapi_net: