From 8c063c40140e7d63f2d2fe2eb95cb90ca42cae60 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Sat, 8 Aug 2020 07:04:20 +0200 Subject: Framework: use 'stl' in trex stateless profile names Change-Id: I74641cc89d2f25d50b67d51bf2567082b420aabb Signed-off-by: Jan Gelety --- resources/libraries/python/TrafficGenerator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'resources/libraries/python/TrafficGenerator.py') 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, -- cgit 1.2.3-korg