Make the ODL download more verbose 17/38317/2
authorJozef Behran <jbehran@cisco.com>
Mon, 4 Jan 2016 12:01:57 +0000 (13:01 +0100)
committerJozef Behran <jbehran@cisco.com>
Tue, 3 May 2016 14:31:27 +0000 (16:31 +0200)
This changes the ODL downloading commands to ask them to
generate progress reports.

One of the informations that is provided is the total time
taken to download the ODL which turns to be quite useful
when investigating problems stemming from slow download
times.

The second useful effect is that it makes the places
in the console output where ODL is being downloaded far
easier to quickly locate (hold PgUp/PgDn until you see
the characteristic progressbar output, then release
PgUp/PgDn and you are roughly at the place where one
of the ODL downloads was happening).

Change-Id: Iee8eff30aeab28dd8c98c15ea909dc67a7ee8ef2
Signed-off-by: Jozef Behran <jbehran@cisco.com>
jjb/integration/include-raw-integration-configure-clustering.sh
jjb/integration/include-raw-integration-deploy-controller-offline.sh
jjb/integration/include-raw-integration-deploy-controller-run-test.sh
jjb/integration/include-raw-integration-deploy-controller-verify.sh

index 90921512a415fa3079b13c1312fff2afcbd4ea8a..fda080ddf10716cf8446a33f30fa4cb3577f1cee 100644 (file)
@@ -58,7 +58,7 @@ echo "Changing to /tmp"
 cd /tmp
 
 echo "Downloading the distribution from ${ACTUALBUNDLEURL}"
-wget --no-verbose  '${ACTUALBUNDLEURL}'
+wget --progress=dot:mega  '${ACTUALBUNDLEURL}'
 
 echo "Extracting the new controller..."
 unzip -q ${BUNDLE}
index e892f21984cec0672f8450491697cd1727cad40b..dd2ae6df9e101e7c6735b79e436ee396b14a600f 100644 (file)
@@ -8,7 +8,7 @@ echo "Clean workspace"
 rm -rf *
 
 echo "Downloading the distribution..."
-wget --no-verbose  ${ACTUALBUNDLEURL}
+wget --progress=dot:mega ${ACTUALBUNDLEURL}
 
 echo "Extracting the new controller..."
 unzip -q ${BUNDLE}
index 78bdec2fed423388c2bc16e9e6f3f43e51b043a7..56b9c466c7a557d38d076a3d7d11dcc96567693c 100644 (file)
@@ -35,7 +35,7 @@ echo "Changing to /tmp"
 cd /tmp
 
 echo "Downloading the distribution..."
-wget --no-verbose '${ACTUALBUNDLEURL}'
+wget --progress=dot:mega '${ACTUALBUNDLEURL}'
 
 echo "Extracting the new controller..."
 unzip -q ${BUNDLE}
index 863ba3ae8439671eb5d97e157e512192b69a21b1..49f1b6db4395c7a9b747ddbba20a2190fb02a28d 100644 (file)
@@ -8,7 +8,7 @@ echo "Clean workspace"
 rm -rf *
 
 echo "Downloading the distribution..."
-wget --no-verbose  ${ACTUALBUNDLEURL}
+wget --progress=dot:mega  ${ACTUALBUNDLEURL}
 
 echo "Extracting the new controller..."
 unzip -q ${BUNDLE}