From eb774c3e205a538262aef928bfbed17cd5be7b25 Mon Sep 17 00:00:00 2001 From: Maros Mullner Date: Mon, 17 Feb 2020 13:01:00 +0100 Subject: Add option to run Trex with --force parameter to start regardless of ports state. Signed-off-by: Maros Mullner Change-Id: Iaafb5ff3a53a290ca79506bdb559a32d39570482 --- resources/libraries/python/Constants.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'resources/libraries/python/Constants.py') diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 99c1e87d55..9a58ed1a17 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -196,6 +196,9 @@ class Constants: # TRex number of cores TREX_CORE_COUNT = get_int_from_env(u"TREX_CORE_COUNT", 7) + # Trex force start regardles ports state + TREX_SEND_FORCE = get_pessimistic_bool_from_env(u"TREX_SEND_FORCE") + # TRex extra commandline arguments TREX_EXTRA_CMDLINE = get_str_from_env(u"TREX_EXTRA_CMDLINE", u"") -- cgit 1.2.3-korg