aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Constants.py
diff options
context:
space:
mode:
authorMaros Mullner <maros.mullner@pantheon.tech>2020-02-17 13:01:00 +0100
committerPeter Mikus <pmikus@cisco.com>2020-02-18 07:34:22 +0000
commiteb774c3e205a538262aef928bfbed17cd5be7b25 (patch)
tree6b25b69f1ea633c961604ec8ba0b6778db55b364 /resources/libraries/python/Constants.py
parentc8bc6ec55a9331c420b4d269c4dbab91d6f1ca76 (diff)
Add option to run Trex with --force parameter to start
regardless of ports state. Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech> Change-Id: Iaafb5ff3a53a290ca79506bdb559a32d39570482
Diffstat (limited to 'resources/libraries/python/Constants.py')
-rw-r--r--resources/libraries/python/Constants.py3
1 files changed, 3 insertions, 0 deletions
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"")