aboutsummaryrefslogtreecommitdiffstats
path: root/core/results
diff options
context:
space:
mode:
authorRadek Zetik <radekx.zetik@intel.com>2016-02-03 11:28:51 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-02-17 10:13:04 +0000
commit3d14c60db72806048d6c345a92c7c715d6457daa (patch)
treeaa9db9b2e1c77d8bb4316abbcbd6ff819f3d52c0 /core/results
parentf4f9283995ee43412f9f34d69cfeea43ddaf1612 (diff)
VSPERF: Report percentage frameloss from IXIA/IXNET
The patch introduces frame_loss_percent result value. The implementation is done for Ixia and IxNet traffic generators. The value is visible in list of result values at the end of the test, in csv, rst and md files. JIRA: VSPERF-201 Change-Id: I9b6795d427b199cb62ed66b7a137e412e36dc757 Signed-off-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Brian Castelli <brian.castelli@spirent.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Tv Rao <tv.rao@freescale.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com>
Diffstat (limited to 'core/results')
-rw-r--r--core/results/results_constants.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/results/results_constants.py b/core/results/results_constants.py
index 8f139f14..fcf068b7 100644
--- a/core/results/results_constants.py
+++ b/core/results/results_constants.py
@@ -37,6 +37,7 @@ class ResultsConstants(object):
MIN_LATENCY_NS = 'min_latency_ns'
MAX_LATENCY_NS = 'max_latency_ns'
AVG_LATENCY_NS = 'avg_latency_ns'
+ FRAME_LOSS_PERCENT = 'frame_loss_percent'
#Burst traffic
TX_FRAMES = 'tx_frames'
RX_FRAMES = 'rx_frames'
@@ -79,4 +80,5 @@ class ResultsConstants(object):
ResultsConstants.THROUGHPUT_RX_PERCENT,
ResultsConstants.MIN_LATENCY_NS,
ResultsConstants.MAX_LATENCY_NS,
- ResultsConstants.AVG_LATENCY_NS]
+ ResultsConstants.AVG_LATENCY_NS,
+ ResultsConstants.FRAME_LOSS_PERCENT]