diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-04-10 16:58:29 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-04-10 16:58:29 +0530 |
commit | 8f13cd710b1687841349bfc35b6061a5d58483c6 (patch) | |
tree | d03d365c22703427007fe5e4bbf23fd15f61164a | |
parent | cf8c17b7d76559cbe6697afbf7a477dbaed286f3 (diff) |
Fix docker to start VTP
Issue-ID: VNFSDK-354
Change-Id: Ibcf6f2303ee69ff22dd67a04b748239b23e014e0
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh | 8 | ||||
-rw-r--r-- | vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh index bdb51b96..24b983c7 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/install-vtp.sh @@ -57,10 +57,14 @@ done chmod +x ./bin/oclip.sh chmod +x ./bin/oclip-rcli.sh -chmod +x ./bin/oclip-cmdflow-server.sh +chmod +x ./bin/oclip-grpc-server.sh + +echo export OPEN_CLI_HOME=/opt/vtp > $OPEN_CLI_HOME/bin/vtp.sh +echo $OPEN_CLI_HOME/bin/oclip-grpc-server.sh>> $OPEN_CLI_HOME/bin/vtp.sh +chmod +x $OPEN_CLI_HOME/bin/vtp.sh ln -sf $OPEN_CLI_HOME/bin/oclip-rcli.sh /usr/bin/vtp-cli -ln -sf $OPEN_CLI_HOME/bin/oclip-cmdflow-server.sh /usr/bin/vtp-tc +ln -sf $OPEN_CLI_HOME/bin/oclip-grpc-server.sh /usr/bin/vtp-tc echo ################ Deploy sample csar validation test case CSARVALIDATOR_LATEST_BINARY="https://nexus.onap.org/service/local/artifact/maven/redirect?r=releases&g=org.onap.vnfsdk.validation&a=csarvalidation-deployment&e=zip&v=LATEST" diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh index c2cd5535..38f50c42 100644 --- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh +++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/vtp-tc.sh @@ -25,7 +25,7 @@ # dir="/opt" -cmd="vtp-tc" +cmd="/opt/vtp/bin/vtp.sh" user="root" name=`basename $0` |