Add lightynode support to testutils.py
[transportpce.git] / tests / install_honeynode.sh
index 6ed3dd3ba73056327db68091cabd6611b49d5377..a4c21ba1b1fef4761d2f3325fff5618c1a2daeff 100755 (executable)
@@ -18,11 +18,14 @@ fi
 for VERSION in $VERSIONS_LIST
 do
     case "$VERSION" in
-        "1.2.1") PLUGIN_VERSION=1.0.8
+        "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.8
+        "2.2.1") PLUGIN_VERSION=2.0.10
         ;;
-        "7.1") PLUGIN_VERSION=7.1.5
+        "7.1") PLUGIN_VERSION=7.1.9
         ;;
         *) echo "unsupported device version" >&2
         continue