diff options
author | imarom <imarom@cisco.com> | 2016-03-31 15:43:42 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-31 15:51:18 +0300 |
commit | 300ca9bcaa3309665421efd5ed51c49f9b81006d (patch) | |
tree | 3cd798b8fbde6a664cc258e2048e0ba2901de6e4 /scripts/automation/trex_control_plane/stl | |
parent | 32b6b28437504ce80182f48cc99dd40f5feb626f (diff) |
new test only on loopback non virtual
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 |