diff options
author | Eli Halych <illia.halych@t-mobile.pl> | 2020-11-24 09:59:07 +0000 |
---|---|---|
committer | Eli Halych <illia.halych@t-mobile.pl> | 2020-11-24 10:14:45 +0000 |
commit | dcccf6e2c90ef7b079ac6a4f6258b7d550fa79c5 (patch) | |
tree | 4d24f92105fb4142bda28d5637636dee41cef9b3 /test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml | |
parent | 6b92f67b5c2e41dfe6272f401989d17c7452c089 (diff) |
Change mass-pnf-sim folder name to masspnfsim
Details:
- Allows for importing python files/classes/methods via normal import.
- Dashes in mass-pnf-sim prevented from a normal Python import.
- mass-pnf-sim path referenced in the project files changed to masspnfsim.
- Possibility of using masspnfsim as a git submodule that requires noraml import.
Issue-ID: INT-1789
Signed-off-by: Eli Halych <illia.halych@t-mobile.pl>
Change-Id: I00cd753181c9b240b99881057cf777cf7977387a
Diffstat (limited to 'test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml')
-rw-r--r-- | test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml b/test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml new file mode 100644 index 000000000..8a59a1157 --- /dev/null +++ b/test/mocks/masspnfsim/pnf-sim-lightweight/docker-compose-template.yml @@ -0,0 +1,64 @@ +version: '2' +networks: + front: + 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/masspnf-simulator:1.0.0-SNAPSHOT + networks: + front: + ipv4_address: "${IPPNFSIM}" + volumes: + - ./logs:/var/log + - ./json_schema:/json_schema + - ./config/config.yml:/config/config.yml:rw + - ./files/:/files/:rw + environment: + TZ: "${TIMEZONE}" + env_file: + - ./config/netconf.env + restart: on-failure + + sftp-server-${I}: + container_name: sftp-server-${I} + image: atmoz/sftp:alpine + networks: + front: + ipv4_address: "${IPSFTP}" + ports: + - "${PORTSFTP}:22" + volumes: + - ./files/onap/:/home/${FILESERV_USER}/ + - ./fix-sftp-perms.sh:/etc/sftp.d/fix-sftp-perms.sh + restart: on-failure + command: ${FILESERV_USER}:${FILESERV_PASS}:1001 + + ftpes-server-vsftpd-${I}: + container_name: ftpes-server-vsftpd-${I} + image: docker.io/panubo/vsftpd + networks: + front: + ipv4_address: "${IPFTPS}" + ports: + - "${PORTFTPS}:21" + - "${FTPS_PASV_MIN}-${FTPS_PASV_MAX}:${FTPS_PASV_MIN}-${FTPS_PASV_MAX}" + environment: + FTP_USER: ${FILESERV_USER} + FTP_PASSWORD: ${FILESERV_PASS} + PASV_ADDRESS: localhost + PASV_MIN_PORT: ${FTPS_PASV_MIN} + PASV_MAX_PORT: ${FTPS_PASV_MAX} + 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/:/srv/ + restart: on-failure + command: vsftpd /etc/vsftpd_ssl.conf |