Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feat(model): Cleanup and introduce telemetry
[csit.git]
/
resources
/
libraries
/
python
/
Constants.py
diff --git
a/resources/libraries/python/Constants.py
b/resources/libraries/python/Constants.py
index
4a70847
..
ae1a64d
100644
(file)
--- a/
resources/libraries/python/Constants.py
+++ b/
resources/libraries/python/Constants.py
@@
-120,7
+120,7
@@
class Constants:
"""Constants used in CSIT."""
# Version for CSIT data model. See docs/model/.
"""Constants used in CSIT."""
# Version for CSIT data model. See docs/model/.
- MODEL_VERSION = u"1.
0.1
"
+ MODEL_VERSION = u"1.
1.0
"
# Global off-switch in case JSON export is large or slow.
EXPORT_JSON = get_optimistic_bool_from_env(u"EXPORT_JSON")
# Global off-switch in case JSON export is large or slow.
EXPORT_JSON = get_optimistic_bool_from_env(u"EXPORT_JSON")
@@
-195,7
+195,7
@@
class Constants:
DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu2204:local"
# TRex install directory
DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu2204:local"
# TRex install directory
- TREX_INSTALL_DIR = u"/opt/trex-core-
2.97
"
+ TREX_INSTALL_DIR = u"/opt/trex-core-
3.00
"
# TRex pcap files directory
TREX_PCAP_DIR = f"{TREX_INSTALL_DIR}/scripts/avl"
# TRex pcap files directory
TREX_PCAP_DIR = f"{TREX_INSTALL_DIR}/scripts/avl"
@@
-448,6
+448,7
@@
class Constants:
# TODO CSIT-1481: Crypto HW should be read from topology file instead.
NIC_NAME_TO_CRYPTO_HW = {
u"Intel-X553": u"HW_C3xxx",
# TODO CSIT-1481: Crypto HW should be read from topology file instead.
NIC_NAME_TO_CRYPTO_HW = {
u"Intel-X553": u"HW_C3xxx",
+ u"Intel-E822CQ": u"HW_C4xxx",
u"Intel-X710": u"HW_DH895xcc",
u"Intel-XL710": u"HW_DH895xcc",
}
u"Intel-X710": u"HW_DH895xcc",
u"Intel-XL710": u"HW_DH895xcc",
}