diff options
author | 2016-03-31 15:43:42 +0300 | |
---|---|---|
committer | 2016-03-31 15:51:18 +0300 | |
commit | 300ca9bcaa3309665421efd5ed51c49f9b81006d (patch) | |
tree | 3cd798b8fbde6a664cc258e2048e0ba2901de6e4 /scripts/automation/trex_control_plane/stl/trex_stl_lib | |
parent | 32b6b28437504ce80182f48cc99dd40f5feb626f (diff) |
new test only on loopback non virtual
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 | ||||
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 |