summaryrefslogtreecommitdiffstats
path: root/scripts/stl
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-03-08 09:20:02 +0200
committerimarom <imarom@cisco.com>2016-03-10 17:16:36 +0200
commit60fbd456c4d804adc903839f916c9c2bbe272d94 (patch)
tree319c377cbf8ac4c857bd2a60090bcd687b3541c1 /scripts/stl
parent834431083b4f9e6ac7eac00d5ec6682c92b16da9 (diff)
RX stats - major refactor
Diffstat (limited to 'scripts/stl')
-rw-r--r--scripts/stl/flow_stats.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/stl/flow_stats.py b/scripts/stl/flow_stats.py
index 05d7a9f7..e2701d23 100644
--- a/scripts/stl/flow_stats.py
+++ b/scripts/stl/flow_stats.py
@@ -6,8 +6,12 @@ class STLS1(object):
def get_streams (self, direction = 0):
return [STLStream(packet = STLPktBuilder(pkt ="stl/yaml/udp_64B_no_crc.pcap"), # path relative to pwd
- mode = STLTXCont(pps=10),
- flow_stats = STLFlowStats(pg_id = 7))
+ mode = STLTXCont(pps=1000),
+ flow_stats = STLFlowStats(pg_id = 7)),
+
+ STLStream(packet = STLPktBuilder(pkt ="stl/yaml/udp_594B_no_crc.pcap"), # path relative to pwd
+ mode = STLTXCont(pps=5000),
+ flow_stats = STLFlowStats(pg_id = 12))
]