X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Finstall_honeynode.sh;h=c40d80eb8895896b177d6439a30a0025adf93178;hb=02120b6f30aece5acfa0fba69419c6b65f0f1659;hp=d88dc8857881369f9fea6ec243122ee47af8869b;hpb=e29ab4154052f034f0df8680f073d24ec5521b24;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index d88dc8857..c40d80eb8 100755 --- a/tests/install_honeynode.sh +++ b/tests/install_honeynode.sh @@ -1,4 +1,4 @@ -#/bin/sh +#!/bin/sh #set -x @@ -18,11 +18,11 @@ fi for VERSION in $VERSIONS_LIST do case "$VERSION" in - "1.2.1") PLUGIN_VERSION=1.0.4 + "1.2.1") PLUGIN_VERSION=1.0.7 ;; - "2.2.1") PLUGIN_VERSION=2.0.5 + "2.2.1") PLUGIN_VERSION=2.0.7 ;; - "7.1") PLUGIN_VERSION=7.1.2 + "7.1") PLUGIN_VERSION=7.1.4 ;; *) echo "unsupported device version" >&2 continue @@ -44,7 +44,7 @@ do #complete source code can be found at https://gitlab.com/Orange-OpenSource/lfn/odl/honeynode-simulator.git echo "Installing honeynode for $VERSION devices to $INSTALL_DIR directory " - curl -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE + curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE || exit 2 unzip -q $ARTIFACT_ZIPFILE -d $TARGET_DIR rm -f $ARTIFACT_ZIPFILE