From 1b95782ee3716d09f66524287dc5e93c59c133ea Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 13 Sep 2019 10:22:11 +0200 Subject: Add support for HDRhistogram + Enable hdrh in trex server. + Append hdrh coded output after min/avg/max/. + Read (not show nor decode) hdrh value in PAL. + Also, remove old ndrpdrdisc code. Change-Id: I99d99f10386a621772b5419ca1f36080fa15aca7 Signed-off-by: Vratko Polak --- resources/libraries/python/TrafficGenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries/python') diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index b6d28a4ca6..49c19b19d8 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -336,10 +336,10 @@ class TrafficGenerator(AbstractMeasurer): # Start TRex. cmd = ("sh -c 'cd {dir}/scripts/ && " - "nohup ./t-rex-64 {mode} -i -c 7 > " + "nohup ./t-rex-64 --hdrh{mode} -i -c 7 > " "/tmp/trex.log 2>&1 &' > /dev/null" .format(dir=Constants.TREX_INSTALL_DIR, - mode='--astf' if osi_layer == 'L7' else '')) + mode=' --astf' if osi_layer == 'L7' else '')) try: exec_cmd_no_error(self._node, cmd, sudo=True) except RuntimeError: -- cgit 1.2.3-korg