This patch is used to add new packet forwarding test cases as part
of kvmfornfv daily job. Also used to publish the throughput results
of packet forwarding test cases on to yardstick grafana dashboard.
Change-Id: Ic0c2ee4af69b8eae3a9edb05d3f22b06540b02e3
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
"fields": {
"min_value": i['min_latency_ns'],
"avg_value": i['avg_latency_ns'],
"fields": {
"min_value": i['min_latency_ns'],
"avg_value": i['avg_latency_ns'],
- "max_value": i['max_latency_ns']
+ "max_value": i['max_latency_ns'],
+ "throughput": i['throughput_rx_mbps']
EXIT_TC_FAILED=1
# DAILY - run selected TCs for defined packet sizes
EXIT_TC_FAILED=1
# DAILY - run selected TCs for defined packet sizes
-TESTCASES_DAILY='phy2phy_tput pvp_tput pvvp_tput'
+TESTCASES_DAILY='phy2phy_tput pvp_tput pvvp_tput pvpv_cont'
TESTPARAM_DAILY='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
TESTPARAM_DAILY='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
-TESTCASES_SRIOV='pvp_tput pvvp_tput'
+TESTCASES_SRIOV='pvp_tput'
TESTPARAM_SRIOV='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
#mounting shared directory for collecting ixia test results.
TESTPARAM_SRIOV='--test-params TRAFFICGEN_PKT_SIZES=(64,128,512,1024,1518)'
#mounting shared directory for collecting ixia test results.
echo -e "\nExecution of VSPERF for $1"
DATE_SUFFIX=$(date -u +"%Y-%m-%d_%H-%M-%S")
source "$VSPERFENV_DIR"/bin/activate
echo -e "\nExecution of VSPERF for $1"
DATE_SUFFIX=$(date -u +"%Y-%m-%d_%H-%M-%S")
source "$VSPERFENV_DIR"/bin/activate
case $1 in
"SRIOV")
# use SRIOV specific TCs and configuration
case $1 in
"SRIOV")
# use SRIOV specific TCs and configuration
# figure out log file name
LOG_SUBDIR="OvsDpdkVhost"
LOG_FILE="${LOG_FILE_PREFIX}_${LOG_SUBDIR}_${DATE_SUFFIX}.log"
# figure out log file name
LOG_SUBDIR="OvsDpdkVhost"
LOG_FILE="${LOG_FILE_PREFIX}_${LOG_SUBDIR}_${DATE_SUFFIX}.log"
$VSPERF_BIN --list
echo "daily test cases started"
echo " $VSPERF_BIN --vswitch OvsDpdkVhost --vnf QemuDpdkVhostUser $CONF_FILE $TESTPARAM $TESTCASES > $LOG_FILE"
$VSPERF_BIN --list
echo "daily test cases started"
echo " $VSPERF_BIN --vswitch OvsDpdkVhost --vnf QemuDpdkVhostUser $CONF_FILE $TESTPARAM $TESTCASES > $LOG_FILE"