X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FTrafficGenerator.py;h=8c3abfb373501f26dd56d9c70adf457c69dbdb4b;hp=751dc8885f4d3b9d72a021f3d1c686bc3a13d0c5;hb=96eaabff284f154ca96ce823fee205bd9833043b;hpb=a3dab28621162becb33ff71076db21a6fda35e18 diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index 751dc8885f..8c3abfb373 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -330,8 +330,8 @@ class TrafficGenerator(AbstractMeasurer): # Start TRex. cmd = ("sh -c 'cd {dir}/scripts/ && " - "nohup ./t-rex-64 --hdrh{mode} -i -c 7 > " - "/tmp/trex.log 2>&1 &' > /dev/null" + "nohup ./t-rex-64 --hdrh{mode} --prefix $(hostname)" + " -i -c 7 > /tmp/trex.log 2>&1 &' > /dev/null" .format(dir=Constants.TREX_INSTALL_DIR, mode=' --astf' if osi_layer == 'L7' else '')) try: