From: Razvan Deaconescu Date: Fri, 6 Aug 2010 08:36:34 +0000 (+0300) Subject: ControlScripts: add pre-run and post-run scripts X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=ac4fa56ca75b2824f0dfeb2a77a2448a0ada4ae5;p=p2p-testing-infrastructure.git ControlScripts: add pre-run and post-run scripts --- diff --git a/ControlScripts/post-run_bw_limit.sh b/ControlScripts/post-run_bw_limit.sh new file mode 100755 index 0000000..6d7d0eb --- /dev/null +++ b/ControlScripts/post-run_bw_limit.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# post-run script for local bandwidth limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config + +./bw_limit.sh del ${IFACE} diff --git a/ControlScripts/post-run_bw_limit_ct.sh b/ControlScripts/post-run_bw_limit_ct.sh new file mode 100755 index 0000000..b48d0bd --- /dev/null +++ b/ControlScripts/post-run_bw_limit_ct.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# post-run script for container bandwidth limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config + +./bw_limit_ct.sh del ${IFACE} diff --git a/ControlScripts/post-run_nop.sh b/ControlScripts/post-run_nop.sh new file mode 100755 index 0000000..57207de --- /dev/null +++ b/ControlScripts/post-run_nop.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# pre-run script for client-based limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config diff --git a/ControlScripts/pre-run_bw_limit.sh b/ControlScripts/pre-run_bw_limit.sh new file mode 100755 index 0000000..fad41f8 --- /dev/null +++ b/ControlScripts/pre-run_bw_limit.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# pre-run script for local bandwidth limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config diff --git a/ControlScripts/pre-run_bw_limit_ct.sh b/ControlScripts/pre-run_bw_limit_ct.sh new file mode 100755 index 0000000..aed7a9d --- /dev/null +++ b/ControlScripts/pre-run_bw_limit_ct.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# pre-run script for container bandwidth limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config + +./bw_limit.sh set ${IFACE} ${DL_BW} ${DL_BURST} ${UL_BW} ${UL_BURST} diff --git a/ControlScripts/pre-run_nop.sh b/ControlScripts/pre-run_nop.sh new file mode 100755 index 0000000..8682bbb --- /dev/null +++ b/ControlScripts/pre-run_nop.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# 2010, Razvan Deaconescu +# +# pre-run script for client-based limitation scenarios + +# source configuration file +source ${BASE_PATH}/ClientWorkingFolders/TmpLogs/scenario_config + +./bw_limit_ct.sh set ${IFACE} ${DL_BW} ${DL_BURST} ${UL_BW} ${UL_BURST}