aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap-centos.sh
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2017-05-12 08:38:51 +0200
committerJan Gelety <jgelety@cisco.com>2017-05-17 12:18:42 +0000
commitfc520fef19e7fb5821d8282bf57821fbe57e392e (patch)
treef7f1ea29a049bc6fed347020a79d6f34fcadf0be /bootstrap-centos.sh
parent2c4babd95c188b8b0038f6f39448cb469b9bc23a (diff)
Fix start-testcase script on VIRL
- Fix pylint errors - Add expiry option to set expiration of simulation - Add more sanitization of exceptions - Fix printing of debug messages to stderr Change-Id: Iecc1fe042b6da104a164fb5701e665b6f3aa298b Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'bootstrap-centos.sh')
-rwxr-xr-xbootstrap-centos.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap-centos.sh b/bootstrap-centos.sh
index 56f50b21cf..b7c6891ef6 100755
--- a/bootstrap-centos.sh
+++ b/bootstrap-centos.sh
@@ -195,7 +195,8 @@ for index in "${!VIRL_SERVER[@]}"; do
echo "Starting simulation nr. ${index} on VIRL server ${VIRL_SERVER[${index}]}"
VIRL_SID[${index}]=$(ssh ${SSH_OPTIONS} \
${VIRL_USERNAME}@${VIRL_SERVER[${index}]} \
- "start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_RPMS_FULL[@]}")
+ "start-testcase -vv --copy ${VIRL_TOPOLOGY} \
+ --release ${VIRL_RELEASE} ${VPP_RPMS_FULL[@]}")
retval=$?
if [ ${retval} -ne "0" ]; then
echo "VIRL simulation start failed on ${VIRL_SERVER[${index}]}"