aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-10 13:29:12 -0400
committerMarco Platania <platania@research.att.com>2017-08-10 13:29:12 -0400
commit93465218ae4db89ff61e63a3ab62bec65828c89a (patch)
treef0bab393ab7c277da368ed89d29950cccb2dadf2 /scripts
parent5f2d77cb507f41057a5c77b63785e9fec940ac68 (diff)
Add vCPE use case heat/install scripts
Change-Id: I5ec26dc5bdfa647c15b2db88829b75ed713caf42 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index aac67f0f..f20f9845 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -23,6 +23,7 @@ PATH_TO_HEAT_VFW=${WORKSPACE}"/heat/vFW"
PATH_TO_HEAT_VLB=${WORKSPACE}"/heat/vLB"
PATH_TO_VFW=${WORKSPACE}"/vnfs/vFW/scripts"
PATH_TO_VLB=${WORKSPACE}"/vnfs/vLB/scripts"
+PATH_TO_VCPE=${WORKSPACE}"/vnfs/vCPE/scripts"
PARENT_GROUP_ID="org.onap.demo"
BOOT_GROUP_ID=$PARENT_GROUP_ID"/boot"
@@ -31,6 +32,7 @@ HEAT_VFW_GROUP_ID=$PARENT_GROUP_ID"/heat/vFW"
HEAT_VLB_GROUP_ID=$PARENT_GROUP_ID"/heat/vLB"
VFW_GROUP_ID=$PARENT_GROUP_ID"/vnfs/vfw"
VLB_GROUP_ID=$PARENT_GROUP_ID"/vnfs/vlb"
+VCPE_GROUP_ID=$PARENT_GROUP_ID"/vnfs/vcpe"
REPO_URL="https://nexus.onap.org/content/sites/raw"
USER=$(xpath -q -e "//servers/server[id='ecomp-raw']/username/text()" "$SETTINGS_FILE")
@@ -61,6 +63,9 @@ ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VFW
cd $PATH_TO_VLB
ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VLB_GROUP_ID/$VERSION/{}
+
+cd $PATH_TO_VCPE
+ls | xargs -I{} curl -vk --netrc-file "${NETRC}" --upload-file {} $REPO_URL/$VCPE_GROUP_ID/$VERSION/{}
####################################################
########## Clean up ##########