diff options
author | 2019-03-05 09:21:26 +0000 | |
---|---|---|
committer | 2019-03-05 09:21:26 +0000 | |
commit | 667bd5989042cf27bfbe10d5d2c21b776502924a (patch) | |
tree | c1fc57e24bb8ceb4286ae43a398f6eb549174705 /plans/dcaegen2-pmmapper/pmmapper/setup.sh | |
parent | 6a82c36c07d2544374276f824bc192d86a3bc826 (diff) |
Update PM Mapper Setup & Test Case
*Remove space in extra_hosts of compose files
*Update setup to include pm-mapper host entry in node
*Update config file to match latest expected config
*Update metadata tests to use new endpoint & new headers
*Update docker image versions
Issue-ID: INT-863
Change-Id: I1c4d7bb48824031c1fd11ea11266b42af4f57cc0
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Diffstat (limited to 'plans/dcaegen2-pmmapper/pmmapper/setup.sh')
-rw-r--r-- | plans/dcaegen2-pmmapper/pmmapper/setup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plans/dcaegen2-pmmapper/pmmapper/setup.sh b/plans/dcaegen2-pmmapper/pmmapper/setup.sh index 9de81667..806728d5 100644 --- a/plans/dcaegen2-pmmapper/pmmapper/setup.sh +++ b/plans/dcaegen2-pmmapper/pmmapper/setup.sh @@ -121,6 +121,7 @@ cp $WORKSPACE/plans/dcaegen2-pmmapper/pmmapper/composefile/docker-compose-pmmapp CBS_IP=$(docker inspect '--format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' cbs) sed -i 's/CBSIP/'$CBS_IP'/g' docker-compose.yml sed -i 's/BUSIP/'$DMAAPBC_IP'/g' docker-compose.yml +sed -i 's/DRNODEIP/'$DR_NODE_IP'/g' docker-compose.yml docker-compose up -d # Wait for initialization of Docker container for 3GPP PM Mapper @@ -136,6 +137,7 @@ for i in {1..10}; do done PMMAPPER_IP=$(docker inspect '--format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' pmmapper) docker exec datarouter-prov /bin/sh -c "echo '${PMMAPPER_IP}' 3gpppmmapper >> /etc/hosts" +docker exec datarouter-node /bin/sh -c "echo '${PMMAPPER_IP}' 3gpppmmapper >> /etc/hosts" sleep 10 docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" > /tmp/pmmapper.log cat /tmp/pmmapper.log |