blob: 99e35cd0a30a0d62e2c9f748d2d8f90dbce8119e [file] [log] [blame]
TamasBakaibab325b2019-03-26 09:20:16 +00001#!/bin/bash
2
3echo "======= docker ps"
4docker ps
5
6echo "======= Docker image cache"
7docker images nexus3.onap.org:10003/onap/masspnf-simulator
8
9export NUM_OF_SIMS=`find pnf-sim-lw* -maxdepth 0 | wc -l`
10echo $NUM_OF_SIMS
11
12if [ "$NUM_OF_SIMS" -gt 0 ];
13then
14 echo "======= docker-compose, first instance"
15 cat pnf-sim-lw-0/docker-compose.yml
16
17 echo "======= Java config.yml, first instance"
18 cat pnf-sim-lw-0/config/config.yml
19fi
20
21if (("$NUM_OF_SIMS" > 2));
22then
23 echo "======= docker-compose, last instance"
24 cat pnf-sim-lw-$(($NUM_OF_SIMS-1))/docker-compose.yml
25
26 echo "======= Java config.yml, last instance"
27 cat pnf-sim-lw-$(($NUM_OF_SIMS-1))/config/config.yml
28fi
29
30