diff options
author | imarom <imarom@cisco.com> | 2016-03-29 15:24:24 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-31 15:51:17 +0300 |
commit | d4791e0535ef56688f421d6ac3dbd79c33a37508 (patch) | |
tree | f8b38f5e311d0f327126cadab016f7a1c7d6425e /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | |
parent | 9f269a00c57683223a11bec20c7b8b69d068e8b7 (diff) |
RX stats two stage API (stop and remove RX filters)
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_streams.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 4f8ce3e6..b6780c5e 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 @@ -430,6 +430,10 @@ class STLStream(object): return self.next + def has_flow_stats (self): + """ Return True if stream was configured with flow stats """ + return self.fields['flow_stats']['enabled'] + def get_pkt (self): """ Get packet as string """ return self.pkt |