aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-08-08 07:04:20 +0200
committerJan Gelety <jgelety@cisco.com>2020-08-20 08:43:48 +0000
commit8c063c40140e7d63f2d2fe2eb95cb90ca42cae60 (patch)
tree0ae9a29d23ae5b98fe1cde047df5c04f607cfe50 /resources
parentf3b1688c46df79e24cf4532b85463b85e7aa77a6 (diff)
Framework: use 'stl' in trex stateless profile names
Change-Id: I74641cc89d2f25d50b67d51bf2567082b420aabb Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/TrafficGenerator.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py
index 54d0fbd502..12c5271873 100644
--- a/resources/libraries/python/TrafficGenerator.py
+++ b/resources/libraries/python/TrafficGenerator.py
@@ -615,7 +615,7 @@ class TrafficGenerator(AbstractMeasurer):
if subtype == NodeSubTypeTG.TREX:
if u"trex-astf" in self.traffic_profile:
self.trex_astf_stop_remote_exec(self._node)
- elif u"trex-sl" in self.traffic_profile:
+ elif u"trex-stl" in self.traffic_profile:
self.trex_stl_stop_remote_exec(self._node)
else:
raise ValueError(u"Unsupported T-Rex traffic profile!")
@@ -892,8 +892,7 @@ class TrafficGenerator(AbstractMeasurer):
async_call, latency, warmup_time, traffic_directions,
tx_port, rx_port
)
- # TODO: rename all t-rex stateless profiles to use 'trex-stl'
- elif u"trex-sl" in self.traffic_profile:
+ elif u"trex-stl" in self.traffic_profile:
unit_rate_str = str(rate) + u"pps"
self.trex_stl_start_remote_exec(
duration, unit_rate_str, frame_size, self.traffic_profile,