X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Finstall_honeynode.sh;h=76c652bb1e644f65483fabba54c5b4315d0841cf;hb=4fc7683a8eefbd3121f6c90c1444394b91973e8a;hp=104eed244618244cc3e94770c647769cd77991ba;hpb=28f85f22c6fe1847a03de7bfdd954fb3ba00eb7d;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index 104eed244..76c652bb1 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.6 + "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 unzip -q $ARTIFACT_ZIPFILE -d $TARGET_DIR rm -f $ARTIFACT_ZIPFILE