X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FTrafficGenerator.py;h=12c52718738a114f103eb0b98d9846311a1508e0;hb=e08706e85b412b1307df3789fdbe747b43c2bd95;hp=54d0fbd50204af9959c18041c54d631c199467ab;hpb=ff1f49d9ba97ddfee3229907e3a344503e072578;p=csit.git 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,