-
Notifications
You must be signed in to change notification settings - Fork 1
/
softfire-middleware.yaml
198 lines (193 loc) · 5.43 KB
/
softfire-middleware.yaml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
version: '3'
services:
experiment-manager:
image: softfire/experiment-manager:latest
ports:
- 5080:5080
- 5051:5051
volumes:
- ./etc/experiment-manager.ini:/etc/softfire/experiment-manager.ini
- ./etc/mapping-managers.json:/etc/softfire/mapping-managers.json
- ./etc/experiment-nsd-csar:/etc/softfire/experiment-nsd-csar
- ./views:/etc/softfire/views
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
nfv-manager:
image: softfire/nfv-manager:latest
depends_on:
- experiment-manager
- openbaton-nfvo
ports:
- 5053:5053
volumes:
- ./etc/nfv-manager.ini:/etc/softfire/nfv-manager.ini
- ./etc/mapping-managers.json:/etc/softfire/mapping-managers.json
- ./etc/available-nsds.json:/etc/softfire/available-nsds.json
- ./etc/openstack-credentials.json:/etc/softfire/openstack-credentials.json
- ./etc/experiment-nsd-csar:/etc/softfire/experiment-nsd-csar
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
physical-device-manager:
image: softfire/physical-device-manager:latest
depends_on:
- experiment-manager
ports:
- 5054:5054
volumes:
- ./etc/physical-device-manager.ini:/etc/softfire/physical-device-manager.ini
- ./etc/physical-resources.json:/etc/softfire/physical-resources.json
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
security-manager:
image: softfire/security-manager:latest
depends_on:
- experiment-manager
ports:
- 4096:4096
- 5060:5060
volumes:
- ./etc/openstack-credentials.json:/etc/softfire/openstack-credentials.json
- ./etc/physical-resources.json:/etc/softfire/physical-resources.json
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
sdn-manager:
image: softfire/sdn-manager:latest
depends_on:
- experiment-manager
ports:
- 5058:5058
volumes:
- ./etc/sdn-manager.ini:/etc/softfire/sdn-manager.ini
- ./etc/sdn-resources.json:/etc/softfire/sdn-resources.json
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
openbaton-nfvo:
image: openbaton/nfvo:5.2.1
depends_on:
- rabbitmq_broker
- nfvo_database
restart: always
environment:
- NFVO_RABBIT_BROKERIP=${HOST_IP} # for use in userdata.sh in vnfm-generic
- NFVO_MONITORING_IP=${ZABBIX_IP}
- NFVO_PLUGIN_INSTALLATION-DIR=/dev/null
- SPRING_RABBITMQ_HOST=rabbitmq_broker
- SPRING_DATASOURCE_URL=jdbc:mysql://nfvo_database:3306/openbaton
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.mariadb.jdbc.Driver
- SPRING_JPA_DATABASE-PLATFORM=org.hibernate.dialect.MySQLDialect
- SPRING_JPA_HIBERNATE_DDL-AUTO=update
- NFVO_USERS_PASSWORD_STRENGTH=false
- NFVO_HISTORY_LEVEL=0
- NFVO_QUOTA_CHECK=false
- NFVO_VIM_ACTIVE_CHECK=false
- NFVO_VNFD_CASCADE_DELETE=true
ports:
- "8080:8080"
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
vnfm-generic:
image: openbaton/vnfm-generic:5.2.1
depends_on:
- openbaton-nfvo
restart: always
environment:
- VNFM_RABBITMQ_BROKERIP=rabbitmq_broker
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
plugin-vimdriver-openstack-4j:
image: openbaton/plugin-vimdriver-openstack-4j:5.2.1
depends_on:
- openbaton-nfvo
restart: always
environment:
- RABBITMQ=rabbitmq_broker
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
nfvo_database:
image: mariadb
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=openbaton
- MYSQL_USER=admin
- MYSQL_PASSWORD=changeme
volumes:
- ./dbdata_nfvo:/var/lib/mysql
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
rabbitmq_broker:
image: rabbitmq:3-management-alpine
hostname: openbaton-rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=openbaton
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./dbdata_rabbit:/var/lib/rabbitmq
logging:
options:
gelf-address: "udp://172.28.100.100:12201"
driver: gelf
elasticsearch:
build:
context: elasticsearch/
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- default
logstash:
build:
context: logstash/
volumes:
- ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
- ./logstash/pipeline:/usr/share/logstash/pipeline:ro
ports:
- "5000:5000"
- "12201:12201"
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
default:
ipv4_address: 172.28.100.100
depends_on:
- elasticsearch
kibana:
build:
context: kibana/
volumes:
- ./kibana/config/:/usr/share/kibana/config:ro
ports:
- "5601:5601"
networks:
- default
depends_on:
- elasticsearch
networks:
default:
ipam:
config:
- subnet: 172.28.0.0/16