diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-09-11 11:19:27 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-09-12 07:10:34 +0000 |
commit | 6a80c9028d71a1502a2f2a64b4646af4c5958733 (patch) | |
tree | eae7a91f17c5677dcdf3e36356e8ab5bb64fa5be /resources/libraries/python/TrafficGenerator.py | |
parent | 45882a2701df2349b3f53b8436aec530cbeeb614 (diff) |
TRex: 2.61
- HDRhistogram can be rebased and used in separate patch.
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ic7ce752344c6e1791af7cf7b7effde65ac2be680
Diffstat (limited to 'resources/libraries/python/TrafficGenerator.py')
-rw-r--r-- | resources/libraries/python/TrafficGenerator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index f2fac256fc..2e59459773 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -323,7 +323,8 @@ class TrafficGenerator(AbstractMeasurer): self._node, cmd, sudo=True, message='Unbind PCI ports from driver failed!') - cmd = ("sh -c 'cd {dir}/scripts/ && ./trex-cfg'" + cmd = ("sh -c 'cd {dir}/scripts/ && ./trex-cfg " + "--unbind-unused-ports'" .format(dir=Constants.TREX_INSTALL_DIR)) exec_cmd_no_error( self._node, cmd, sudo=True, message='Config TRex failed!') |