Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Skip CRC checking by default
[csit.git]
/
resources
/
libraries
/
python
/
Constants.py
diff --git
a/resources/libraries/python/Constants.py
b/resources/libraries/python/Constants.py
index
9606a10
..
5717666
100644
(file)
--- a/
resources/libraries/python/Constants.py
+++ b/
resources/libraries/python/Constants.py
@@
-184,11
+184,8
@@
class Constants(object):
# Docker container arm SUT image
DOCKER_SUT_IMAGE_UBUNTU_ARM = 'snergster/csit-arm-sut:latest'
# Docker container arm SUT image
DOCKER_SUT_IMAGE_UBUNTU_ARM = 'snergster/csit-arm-sut:latest'
- # TRex install version
- TREX_INSTALL_VERSION = '2.54'
-
# TRex install directory
# TRex install directory
- TREX_INSTALL_DIR = '/opt/trex-core-2.
54
'
+ TREX_INSTALL_DIR = '/opt/trex-core-2.
61
'
# Honeycomb directory location at topology nodes:
REMOTE_HC_DIR = '/opt/honeycomb'
# Honeycomb directory location at topology nodes:
REMOTE_HC_DIR = '/opt/honeycomb'
@@
-228,8
+225,11
@@
class Constants(object):
# /tmp directory is inside the DUT1 docker.
DUT1_UUID = get_str_from_env("DUT1_UUID", "")
# /tmp directory is inside the DUT1 docker.
DUT1_UUID = get_str_from_env("DUT1_UUID", "")
+ # Default path to VPP API Stats socket.
+ SOCKSTAT_PATH = "/run/vpp/stats.sock"
+
# Global "kill switch" for CRC checking during runtime.
# Global "kill switch" for CRC checking during runtime.
- FAIL_ON_CRC_MISMATCH = get_
opt
imistic_bool_from_env("FAIL_ON_CRC_MISMATCH")
+ FAIL_ON_CRC_MISMATCH = get_
pess
imistic_bool_from_env("FAIL_ON_CRC_MISMATCH")
# Mapping from NIC name to its bps limit.
# TODO: Implement logic to lower limits to TG NIC or software. Or PCI.
# Mapping from NIC name to its bps limit.
# TODO: Implement logic to lower limits to TG NIC or software. Or PCI.