aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-06-10 12:14:34 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-06-10 12:14:34 +0200
commite293ccd79706baebbc50b7b8597471bd69de67cd (patch)
tree38512b538e4e344fc0186bc26f337f679eea2a96 /test
parent700b607a52343f1b6c3d3987bddf8073bc382b40 (diff)
Simplify network name in Compose template
Generated network name for a service already contains project name so no need to further customize it. Change-Id: Ib77b55f46b7141edeb43470db4a36d10c2ced649 Issue-ID: INT-1619 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test')
-rw-r--r--test/mocks/mass-pnf-sim/pnf-sim-lightweight/docker-compose-template.yml8
1 files changed, 4 insertions, 4 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
index 4e3c5a240..9612c9235 100644
--- 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
@@ -1,6 +1,6 @@
version: '2'
networks:
- front-${I}:
+ front:
driver: bridge
ipam:
config:
@@ -12,7 +12,7 @@ services:
container_name: pnf-simulator-${I}
image: nexus3.onap.org:10003/onap/masspnf-simulator:1.0.0-SNAPSHOT
networks:
- front-${I}:
+ front:
ipv4_address: "${IPPNFSIM}"
volumes:
- ./logs:/var/log
@@ -29,7 +29,7 @@ services:
container_name: sftp-server-$I
image: atmoz/sftp:alpine
networks:
- front-${I}:
+ front:
ipv4_address: "${IPSFTP}"
ports:
- "${PORTSFTP}:22"
@@ -43,7 +43,7 @@ services:
container_name: ftpes-server-vsftpd-$I
image: docker.io/panubo/vsftpd
networks:
- front-${I}:
+ front:
ipv4_address: "${IPFTPS}"
ports:
- "${PORTFTPS}:21"