Addition of Configurable Sampling and Configurable Confirmation Retry 97/58297/31
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Wed, 6 Jun 2018 14:06:01 +0000 (15:06 +0100)
committerDanielMartinBuckley <daniel.m.buckley@intel.com>
Tue, 26 Jun 2018 16:01:46 +0000 (17:01 +0100)
commit2e447af9a5a54355aa20028813660d07d1bd2e18
treeb723bda591c3e4b8f859db8dacf4860437dce8d2
parent172d932bccf58e1fb56872fffee698a9e36ddb83
Addition of Configurable Sampling and Configurable Confirmation Retry

JIRA: YARDSTICK-1221

In order to increase accuracy of result the following are done :-
  - Improve Measurement Accuracy (YARDSTICK-1212)
  - Improve Sampling Interval (YARDSTICK-1219)
  - Allow 4 PROX ports to be read simultaneously (YARDSTICK-1220)

This change does the following :-
  - Stores LINE Rate statistics of Sample
  - Requires a confirmation retry before deciding to increase or
    decrease this is configurable.
  - Allows the user to disable Sampling or specify a sample interval
  - Added Code Coverage of ProxDurationRunner based on YARDSTICK-1199

Change-Id: I27242ac1849c9a2712866385b5fbc05977c71516
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
samples/vnf_samples/nsut/prox/tc_prox_baremetal_l2fwd-4.yaml
yardstick/benchmark/runners/proxduration.py [new file with mode: 0644]
yardstick/common/constants.py
yardstick/network_services/traffic_profile/prox_binsearch.py
yardstick/tests/unit/benchmark/core/test_task.py
yardstick/tests/unit/benchmark/runner/test_proxduration.py [new file with mode: 0644]
yardstick/tests/unit/network_services/traffic_profile/test_prox_binsearch.py