X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Finstall_honeynode.sh;h=7ad3de221342044b68cd4cdbb8fb187f8936c1b5;hb=refs%2Fheads%2Fstable%2Fsulfur;hp=41db54fd7d772c4ef6cd39264ca7e135465a0d9e;hpb=28f2a7aea63e35dd31dd883aa796d11838959324;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index 41db54fd7..7ad3de221 100755 --- a/tests/install_honeynode.sh +++ b/tests/install_honeynode.sh @@ -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.9 ;; - "2.2.1") PLUGIN_VERSION=2.0.6 + "2.2.1") PLUGIN_VERSION=2.0.10 ;; - "7.1") PLUGIN_VERSION=7.1.2 + "7.1") PLUGIN_VERSION=7.1.7 ;; *) 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