CSIT-992: Add libraries for optimized search 92/12492/2
authorVratko Polak <[email protected]>
Fri, 27 Apr 2018 13:11:12 +0000 (15:11 +0200)
committerPeter Mikus <[email protected]>
Thu, 10 May 2018 09:15:29 +0000 (09:15 +0000)
commit264a1b78622bc13dd247964cda4e481ff4152066
treefc9af0bf6ba27ec1a411816a248e0693d6b952b0
parent37b91bfcdaab379ae39224c19a2eff33eb2451ee
CSIT-992: Add libraries for optimized search

+ Place the libraries into resources/libraries/python/search/.
 + Except OptimizedTrexSearch in TrafficGenerator.py
+ Change traffic generator to support floats for duration and warmup.
+ Remove explicit type conversions where not needed.
+ Add robot keywords to performance_utils.robot
 + for calling the optimized search.
 + for reporting the resulting values.
 + for checking the minimal performance has been reached.
 + for running five second "Traffic should pass with no loss" after the search.
- Add methodology documentation in subsequent Change.
- Add simulator for testing algorithm correctness in a subsequent Change.
- Add tests using the libraries in subsequent Change.

Change-Id: Ia041008382ee4c9a562172099aea794c854d5f2f
Signed-off-by: Vratko Polak <[email protected]>
resources/libraries/python/TrafficGenerator.py
resources/libraries/python/search/AbstractRateProvider.py [new file with mode: 0644]
resources/libraries/python/search/AbstractSearchAlgorithm.py [new file with mode: 0644]
resources/libraries/python/search/NdrPdrResult.py [new file with mode: 0644]
resources/libraries/python/search/OptimizedSearchAlgorithm.py [new file with mode: 0644]
resources/libraries/python/search/ReceiveRateInterval.py [new file with mode: 0644]
resources/libraries/python/search/ReceiveRateMeasurement.py [new file with mode: 0644]
resources/libraries/python/search/__init__.py [new file with mode: 0644]
resources/libraries/robot/performance/performance_utils.robot
resources/tools/trex/trex_stateless_profile.py