aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml
diff options
context:
space:
mode:
authorTamasBakai <tamas.bakai@est.tech>2019-02-28 09:06:19 +0000
committerTamasBakai <tamas.bakai@est.tech>2019-02-28 09:06:19 +0000
commitd38feb6936783a37631c444d62fe74a78dd41824 (patch)
treeec3a303bca4823e3a1a025d5484a1c28197ecc15 /test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml
parent8028905644ea2dcf71ab2703c571398a19503c67 (diff)
Mass PNF simulator for benchmark purposes
Change-Id: I8a5ead57d0347fa34f048c7bfc5352ba045b1b62 Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
Diffstat (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml')
-rw-r--r--test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml59
1 files changed, 59 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml
new file mode 100644
index 000000000..f4ff7d81c
--- /dev/null
+++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml
@@ -0,0 +1,59 @@
+version: '2'
+networks:
+ front-${I}:
+ driver: bridge
+ ipam:
+ config:
+ - gateway: "${IPGW}"
+ subnet: "${IPSUBNET}/28"
+ driver: default
+services:
+ pnf-simulator-${I}:
+ container_name: pnf-simulator-${I}
+
+ image: nexus3.onap.org:10003/onap/pnf-simulator:4.0.0-SNAPSHOT
+ networks:
+ front-${I}:
+ ipv4_address: "${IPPNFSIM}"
+ volumes:
+ - ./logs:/var/log
+ - ./json_schema:/json_schema
+ env_file:
+ - ./config/netconf.env
+ restart: on-failure
+
+ sftp-server-${I}:
+ container_name: sftp-server-$I
+ image: atmoz/sftp:alpine
+ networks:
+ front-${I}:
+ ipv4_address: "${IPSFTP}"
+ volumes:
+ - ./files/onap/:/home/onap/
+ restart: on-failure
+ command: onap:pano:1001
+
+ ftpes-server-vsftpd-${I}:
+ container_name: ftpes-server-vsftpd-$I
+ image: docker.io/panubo/vsftpd
+ networks:
+ front-${I}:
+ ipv4_address: "${IPFTPS}"
+ environment:
+ FTP_USER: onap
+ FTP_PASSWORD: pano
+ PASV_ADDRESS: localhost
+ PASV_MIN_PORT: 8001
+ PASV_MAX_PORT: 8010
+ volumes:
+ - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
+ - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
+ - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
+ - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
+ - ./files/onap/0.5MB.tar.gz:/srv/0.5MB.tar.gz:ro
+ - ./files/onap/1MB.tar.gz:/srv/1MB.tar.gz:ro
+ - ./files/onap/5MB.tar.gz:/srv/5MB.tar.gz:ro
+ - ./files/onap/10MB.tar.gz:/srv/10MB.tar.gz:ro
+ restart: on-failure
+ command: vsftpd /etc/vsftpd_ssl.conf
+