Addition of Configurable Sampling and Configurable Confirmation Retry 05/59105/3
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Wed, 6 Jun 2018 14:06:01 +0000 (15:06 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Thu, 28 Jun 2018 10:26:39 +0000 (11:26 +0100)
commitef3f82fc25f2ef8a77e1e4e518b01b80efcd73fd
tree4d38c494c925121eba89824fceb4983ea270e6c0
parenteaebb40c960284d7d4ce9ad6221cba32c04a2827
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>
(cherry picked from commit 2e447af9a5a54355aa20028813660d07d1bd2e18)
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