X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Finstall_honeynode.sh;h=a4c21ba1b1fef4761d2f3325fff5618c1a2daeff;hb=refs%2Fchanges%2F05%2F110405%2F1;hp=76c652bb1e644f65483fabba54c5b4315d0841cf;hpb=84b9718f186f5435279ab553fa811c18f536a8d3;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index 76c652bb1..a4c21ba1b 100755 --- a/tests/install_honeynode.sh +++ b/tests/install_honeynode.sh @@ -18,11 +18,14 @@ fi for VERSION in $VERSIONS_LIST do case "$VERSION" in - "1.2.1") PLUGIN_VERSION=1.0.7 + "1.2.1") PLUGIN_VERSION=1.0.9 + #update 1.2.1 openroadm device configuration samples to be compliant with honeynode + #device models ("multi-wavelegnth" instead of "multi-wavelength" whose typo has been solved with 2.2.1 device models) + sed -i_ 's/multi-wavelegnth/multi-wavelength/g' $(dirname $0)/sample_configs/openroadm/1.2.1/oper-ROADM*.xml ;; - "2.2.1") PLUGIN_VERSION=2.0.7 + "2.2.1") PLUGIN_VERSION=2.0.10 ;; - "7.1") PLUGIN_VERSION=7.1.4 + "7.1") PLUGIN_VERSION=7.1.9 ;; *) echo "unsupported device version" >&2 continue @@ -44,7 +47,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 --retry-delay 10 --retry 3 -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