Perf: Bump T-Rex to 2.88 52/31652/4
authorpmikus <pmikus@cisco.com>
Mon, 15 Mar 2021 19:45:04 +0000 (19:45 +0000)
committerPeter Mikus <pmikus@cisco.com>
Tue, 16 Mar 2021 06:48:25 +0000 (06:48 +0000)
+ Mellanox 4.6 is not for Ubuntu 20.04
+ Mellanox for ubuntu 20.04 is 4.9+
+ T-Rex 2.86 is not for Mellanox 4.6+
+ T-Rex for Mellanox 5.2 is 2.88+
==================================
= Bump

Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I902dfc2a43e6718b385e89f31a34260e09d61bd3

GPL/tools/trex/trex_astf_assert.py
GPL/tools/trex/trex_astf_profile.py
GPL/tools/trex/trex_astf_stop.py
GPL/tools/trex/trex_stl_assert.py
GPL/tools/trex/trex_stl_profile.py
GPL/tools/trex/trex_stl_stop.py
GPL/traffic_profiles/trex/profile_trex_astf_base_class.py
resources/libraries/python/Constants.py
resources/tools/presentation/conf.py

index 3824fa1..e983f59 100644 (file)
@@ -38,7 +38,7 @@ Functionality:
 import sys
 
 sys.path.insert(
 import sys
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.astf.api import *
 
 )
 from trex.astf.api import *
 
index 6faa2c0..3f244ec 100644 (file)
@@ -34,7 +34,7 @@ import sys
 import time
 
 sys.path.insert(
 import time
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.astf.api import *
 
 )
 from trex.astf.api import *
 
index 820905e..b214d58 100644 (file)
@@ -44,7 +44,7 @@ import sys
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.astf.api import *
 
 )
 from trex.astf.api import *
 
index 1bd428d..eef06be 100644 (file)
@@ -38,7 +38,7 @@ Functionality:
 import sys
 
 sys.path.insert(
 import sys
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *
 
 )
 from trex.stl.api import *
 
index ba2fc7c..8dbc046 100644 (file)
@@ -34,7 +34,7 @@ import sys
 import time
 
 sys.path.insert(
 import time
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *
 
 )
 from trex.stl.api import *
 
index 9d09f28..1704a89 100644 (file)
@@ -44,7 +44,7 @@ import sys
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.86/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.stl.api import *
 
 )
 from trex.stl.api import *
 
index 427060f..80ae78f 100644 (file)
@@ -133,7 +133,7 @@ class TrafficProfileBaseClass:
         """
         self.framesize = kwargs[u"framesize"]
         self._pcap_dir = kwargs.get(
         """
         self.framesize = kwargs[u"framesize"]
         self._pcap_dir = kwargs.get(
-            u"pcap_dir",u"/opt/trex-core-2.86/scripts/avl"
+            u"pcap_dir",u"/opt/trex-core-2.88/scripts/avl"
         )
 
         return self.create_profile()
         )
 
         return self.create_profile()
index 1a548f4..0e8ac42 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2020 Cisco and/or its affiliates.
+# Copyright (c) 2021 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -185,7 +185,7 @@ class Constants:
     DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu1804:local"
 
     # TRex install directory
     DOCKER_SUT_IMAGE_UBUNTU_ARM = u"csit_sut-ubuntu1804:local"
 
     # TRex install directory
-    TREX_INSTALL_DIR = u"/opt/trex-core-2.86"
+    TREX_INSTALL_DIR = u"/opt/trex-core-2.88"
 
     # TODO: Find the right way how to use it in trex profiles
     # TRex pcap files directory
 
     # TODO: Find the right way how to use it in trex profiles
     # TRex pcap files directory
index b9de3b9..0533f23 100644 (file)
@@ -115,7 +115,7 @@ rst_epilog = u"""
            dpdkrelease=u'20.11',
            dpdk_prev_release=u'20.08',
            sdpdkrelease=u'2011',
            dpdkrelease=u'20.11',
            dpdk_prev_release=u'20.08',
            sdpdkrelease=u'2011',
-           trex_version=u'v2.86',
+           trex_version=u'v2.88',
            vpp_release_commit_id=u'3d2d96e5547484290c9368bac0a420afa8c4c068')
 
 # The language for content autogenerated by Sphinx. Refer to documentation
            vpp_release_commit_id=u'3d2d96e5547484290c9368bac0a420afa8c4c068')
 
 # The language for content autogenerated by Sphinx. Refer to documentation