diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py index 0ca932c8..ecf0fe69 100644 --- a/scripts/automation/trex_control_plane/stl/examples/stl_imix.py +++ b/scripts/automation/trex_control_plane/stl/examples/stl_imix.py @@ -16,7 +16,7 @@ def imix_test (server, mult): # create client - c = STLClient(server = server, verbose_level = LoggerApi.VERBOSE_REGULAR) + c = STLClient(server = server) passed = True diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py index 812aea98..d5e1e44a 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py @@ -2069,7 +2069,7 @@ class STLClient(object): self.logger.log(format_text("No active traffic on provided ports\n", 'bold')) return - self.stop(ports, rx_delay_ms = 2000) + self.stop(ports) # true means print time return True diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py index a75ba044..2bd98d4a 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py @@ -835,7 +835,7 @@ class STLProfile(object): def is_pauseable (self): return all([x.get_mode() == "Continuous" for x in (self.get_streams())]) - def needs_rx_caps (self): + def has_flow_stats (self): return any([x.has_flow_stats() for x in self.get_streams()]) @staticmethod |