summaryrefslogtreecommitdiffstats
path: root/scripts/stl/flow_stats_latency.py
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-06-23 10:54:06 +0300
committerHanoh Haim <hhaim@cisco.com>2016-06-23 10:54:06 +0300
commitf725b354071dc75c8f45e40f386b3dbed5699b5b (patch)
treedfd6f344995d9aad069ab7e9bbbee9d0544ca067 /scripts/stl/flow_stats_latency.py
parentbc3c25d78a3aa8051d7247465181c5afd6ac8ca2 (diff)
parentd04442ab671f768a1b645fb887d4a9cd575c7852 (diff)
Merge filter a test
Diffstat (limited to 'scripts/stl/flow_stats_latency.py')
-rw-r--r--scripts/stl/flow_stats_latency.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/stl/flow_stats_latency.py b/scripts/stl/flow_stats_latency.py
index 8460fcfc..e053549e 100644
--- a/scripts/stl/flow_stats_latency.py
+++ b/scripts/stl/flow_stats_latency.py
@@ -6,6 +6,8 @@ class STLS1(object):
Can specify using tunables the packet length (fsize) and packet group id (pg_id)
Since we can't have two latency streams with same pg_id, in order to be able to start this profile
on more than one port, we add port_id to the pg_id
+ Notice that for perfomance reasons, latency streams are not affected by -m flag, so
+ you can only change the pps value by editing the code.
"""
def __init__ (self):
@@ -19,7 +21,7 @@ class STLS1(object):
pkt = STLPktBuilder(pkt = base_pkt/pad)
return [STLStream(packet = pkt,
- mode = STLTXCont(pps=1),
+ mode = STLTXCont(pps=1000),
flow_stats = STLFlowLatencyStats(pg_id = self.pg_id))
]