summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment/install
diff options
context:
space:
mode:
authorKanagaraj M <mkr1481@gmail.com>2019-09-04 18:41:35 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-09-04 18:41:35 +0530
commite89a722e01907fa8b03379b914b9a663dc9d8ed7 (patch)
tree3c3fd7bf453010d42965157b1896e0459d64c7e2 /vnfmarket-be/deployment/install
parente41218c92dfcb182ecbdf06ccabe23e9deb32b32 (diff)
Add usage to VTP installer
Issue-ID: CLI-166 Change-Id: Ib28174c04876a2e7b74ec6ecc13b3afc3353bc3a Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'vnfmarket-be/deployment/install')
-rw-r--r--vnfmarket-be/deployment/install/vtp_install.sh26
1 files changed, 25 insertions, 1 deletions
diff --git a/vnfmarket-be/deployment/install/vtp_install.sh b/vnfmarket-be/deployment/install/vtp_install.sh
index 3fa6bcb0..bef33750 100644
--- a/vnfmarket-be/deployment/install/vtp_install.sh
+++ b/vnfmarket-be/deployment/install/vtp_install.sh
@@ -17,6 +17,18 @@
#*******************************************************************************
# VTP Installation script supported on Ubuntu 16.04 64 bit
#
+#./vtp_install.sh --download : It will download all required artifacts into /opt/vtp_stage
+#./vtp_install.sh --install : It will install VTP (/opt/controller) and CLI (/opt/oclip)
+#./vtp_install.sh --start : It will start VTP controller as tomcat service and CLI as oclip service
+#./vtp_install.sh --verify : It will verify the setup is done properly by running some test cases.
+#./vtp_install.sh --uninstall : It will stop and uninstall the VTP
+#./vtp_install.sh --clean : It will remove the downloaded artifacts
+
+#Customize the download URL as below
+#export OCLIP_DOWNLOAD_URL="https://nexus.onap.org/content/repositories/snapshots/org/onap/cli/cli-zip/4.0.0-SNAPSHOT/cli-zip-4.0.0-20190904.095516-170.zip"
+#export VTP_DOWNLOAD_URL="https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/refrepo/vnf-sdk-marketplace/1.3.3-SNAPSHOT/vnf-sdk-marketplace-1.3.3-20190903.092849-18.war"
+#export CSAR_VALIDATE_DOWNLOAD_URL="https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/validation/csarvalidation-deployment/1.2.2-SNAPSHOT/csarvalidation-deployment-1.2.2-20190904.082836-6.zip"
+#export CSAR_VALIDATE_JAR_DOWNLOAD_URL="https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/validation/validation-csar/1.2.2-SNAPSHOT/validation-csar-1.2.2-20190904.082829-6.jar"
if [ -z "$OCLIP_DOWNLOAD_URL" ]
then
@@ -54,7 +66,7 @@ export VTP_TRACK_MARK=+++++++++++++++++++++++++++++++++++
#init.d or systemd
if [ -z "$SERVICE_MODE" ]
then
- export SERVICE_MODE=init.d
+ export SERVICE_MODE=systemd
fi
function vtp_download() {
@@ -306,4 +318,16 @@ then
vtp_test
else
echo "$0 [ --install | --uninstall | --start | --stop | --verify | --download | --clean]"
+ echo "--download : It will download all required artifacts into /opt/vtp_stage"
+ echo "--install : It will install VTP (/opt/controller) and CLI (/opt/oclip)"
+ echo "--start : It will start VTP controller as tomcat service and CLI as oclip service"
+ echo "--verify : It will verify the setup is done properly by running some test cases"
+ echo "--uninstall : It will stop and uninstall the VTP"
+ echo "--clean : It will remove the downloaded artifacts"
+ echo
+ echo "Customize the download URL as below from latest snapshot or release onap repository"
+ echo "export OCLIP_DOWNLOAD_URL=\"https://nexus.onap.org/content/repositories/snapshots/org/onap/cli/cli-zip/4.0.0-SNAPSHOT/cli-zip-4.0.0-20190904.095516-170.zip\""
+ echo "export VTP_DOWNLOAD_URL=\"https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/refrepo/vnf-sdk-marketplace/1.3.3-SNAPSHOT/vnf-sdk-marketplace-1.3.3-20190903.092849-18.war\""
+ echo "export CSAR_VALIDATE_DOWNLOAD_URL=\"https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/validation/csarvalidation-deployment/1.2.2-SNAPSHOT/csarvalidation-deployment-1.2.2-20190904.082836-6.zip\""
+ echo "export CSAR_VALIDATE_JAR_DOWNLOAD_URL=\"https://nexus.onap.org/content/repositories/snapshots/org/onap/vnfsdk/validation/validation-csar/1.2.2-SNAPSHOT/validation-csar-1.2.2-20190904.082829-6.jar\""
fi