Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add option to run Trex with --force parameter to start
[csit.git]
/
resources
/
libraries
/
python
/
Constants.py
diff --git
a/resources/libraries/python/Constants.py
b/resources/libraries/python/Constants.py
index
4e60009
..
9a58ed1
100644
(file)
--- a/
resources/libraries/python/Constants.py
+++ b/
resources/libraries/python/Constants.py
@@
-152,7
+152,7
@@
class Constants:
RESOURCES_TP_WRK_WWW = u"resources/traffic_profiles/wrk/www"
# VPP Communications Library LD_PRELOAD library
RESOURCES_TP_WRK_WWW = u"resources/traffic_profiles/wrk/www"
# VPP Communications Library LD_PRELOAD library
- VCL_LDPRELOAD_LIBRARY
=
u"/usr/lib/x86_64-linux-gnu/libvcl_ldpreload.so"
+ VCL_LDPRELOAD_LIBRARY
=
u"/usr/lib/x86_64-linux-gnu/libvcl_ldpreload.so"
# OpenVPP VAT binary name
VAT_BIN_NAME = u"vpp_api_test"
# OpenVPP VAT binary name
VAT_BIN_NAME = u"vpp_api_test"
@@
-179,7
+179,7
@@
class Constants:
QEMU_VM_IMAGE = u"/var/lib/vm/vhost-nested.img"
# QEMU VM DPDK path
QEMU_VM_IMAGE = u"/var/lib/vm/vhost-nested.img"
# QEMU VM DPDK path
- QEMU_VM_DPDK = u"/opt/dpdk-
19.0
2"
+ QEMU_VM_DPDK = u"/opt/dpdk-
stable-19.08.
2"
# Docker container SUT image
DOCKER_SUT_IMAGE_UBUNTU = u"snergster/csit-sut:latest"
# Docker container SUT image
DOCKER_SUT_IMAGE_UBUNTU = u"snergster/csit-sut:latest"
@@
-196,6
+196,9
@@
class Constants:
# TRex number of cores
TREX_CORE_COUNT = get_int_from_env(u"TREX_CORE_COUNT", 7)
# 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"")
# TRex extra commandline arguments
TREX_EXTRA_CMDLINE = get_str_from_env(u"TREX_EXTRA_CMDLINE", u"")