aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/search/AbstractSearchAlgorithm.py
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-05-10 19:27:30 +0200
committerVratko Polak <vrpolak@cisco.com>2018-05-10 19:35:05 +0200
commita3d14e7cf128c5188a4e064042a64333ae64d191 (patch)
treeb972d760526af7da0ad5dcf884f1fb84b436e7a1 /resources/libraries/python/search/AbstractSearchAlgorithm.py
parenta768ed9ef7b54539d173f4b0f2b8a7028f47372c (diff)
CSIT-992: Give MDR parameters official names
Change-Id: I1da9a64fb06e015f2b2a0aacb46a53d70349b4b6 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/search/AbstractSearchAlgorithm.py')
-rw-r--r--resources/libraries/python/search/AbstractSearchAlgorithm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/search/AbstractSearchAlgorithm.py b/resources/libraries/python/search/AbstractSearchAlgorithm.py
index ae326bd4ca..08f3a6bebc 100644
--- a/resources/libraries/python/search/AbstractSearchAlgorithm.py
+++ b/resources/libraries/python/search/AbstractSearchAlgorithm.py
@@ -32,15 +32,15 @@ class AbstractSearchAlgorithm(object):
@abstractmethod
def narrow_down_ndr_and_pdr(
- self, fail_rate, line_rate, allowed_drop_fraction):
+ self, fail_rate, line_rate, packet_loss_ratio):
"""Perform measurements to narrow down intervals, return them.
:param fail_rate: Minimal target transmit rate [pps].
:param line_rate: Maximal target transmit rate [pps].
- :param allowed_drop_fraction: Fraction of dropped packets for PDR [1].
+ :param packet_loss_ratio: Fraction of packets lost, for PDR [1].
:type fail_rate: float
:type line_rate: float
- :type allowed_drop_fraction: float
+ :type packet_loss_ratio: float
:returns: Structure containing narrowed down intervals
and their measurements.
:rtype: NdrPdrResult