aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
diff options
context:
space:
mode:
authorBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-10 13:04:08 +0000
committerBjornMagnussonXA <bjorn.magnusson@est.tech>2019-04-10 13:04:08 +0000
commitf4e1836eab2cff83bc2542383ed7f97d98a7b68c (patch)
tree5c3efb2db7bddb5213fa60ba15dc1643a835c653 /test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
parentefbb5adf8bd45c606565dd1fea1f71f930d3e5dc (diff)
Enhancements of simulators for DFC
New test cases for MR and DR simulators Added simulator monitor server for simulator supervision Update - Adapted simulators to changed naming of ftp files Update2 - Added some more test behaviour to simulators. Issue-ID: DCAEGEN2-1313 Change-Id: I90a346d44ab4e7c9f5a65f599b64f1907525dd51 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml')
-rw-r--r--test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml22
1 files changed, 18 insertions, 4 deletions
diff --git a/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml b/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
index e7c700759..89a45a476 100644
--- a/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
+++ b/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
@@ -1,8 +1,17 @@
version: '2'
+
+networks:
+ dfcnet:
+ ipam:
+ config:
+ - subnet: 192.168.100.0/16
+
services:
drsim:
- network_mode: "host"
+ networks:
+ dfcnet:
+ ipv4_address: 192.168.100.2
image: drsim_common:latest
ports:
- "3906:3906"
@@ -11,6 +20,9 @@ services:
command: node dmaapDR.js ${DR_TC}
drsim_redir:
+ networks:
+ dfcnet:
+ ipv4_address: 192.168.100.3
image: drsim_common:latest
ports:
- "3908:3908"
@@ -19,6 +31,9 @@ services:
command: node dmaapDR_redir.js ${DR_REDIR_TC}
mrsim:
+ networks:
+ dfcnet:
+ ipv4_address: 192.168.100.1
image: mrsim:latest
ports:
- "2222:2222"
@@ -26,17 +41,17 @@ services:
command: python mr-sim.py ${MR_TC}
sftp-server:
+ network_mode: bridge
container_name: dfc_sftp-server
image: atmoz/sftp:alpine
ports:
- "1022:22"
-# volumes:
-# - ./files/onap/sftp/:/home/onap/
restart: on-failure
command: onap:pano:1001
ftpes-server-vsftpd:
+ network_mode: bridge
container_name: dfc_ftpes-server-vsftpd
image: docker.io/panubo/vsftpd
ports:
@@ -54,6 +69,5 @@ services:
- ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
- ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
-# - ./files/onap/ftps/:/srv/
restart: on-failure
\ No newline at end of file