diff options
author | 2016-06-02 10:11:17 +0300 | |
---|---|---|
committer | 2016-06-02 10:11:17 +0300 | |
commit | 9543174af7480c1ed46384ee60ae59f01995323d (patch) | |
tree | ab8acc63cbaf204b77b0851d1c6f209a52fd336c /scripts/stl/flow_stats_latency.py | |
parent | 5d9c9f449b98b43c736cc5908a21babac58c6428 (diff) | |
parent | 9f2cbf6d028aed1bc471b27b61c928c82b36ac9a (diff) |
Merge readme
Diffstat (limited to 'scripts/stl/flow_stats_latency.py')
-rw-r--r-- | scripts/stl/flow_stats_latency.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/stl/flow_stats_latency.py b/scripts/stl/flow_stats_latency.py index 334406e5..e1541272 100644 --- a/scripts/stl/flow_stats_latency.py +++ b/scripts/stl/flow_stats_latency.py @@ -9,11 +9,11 @@ class STLS1(object): def get_streams (self, direction = 0, **kwargs): return [STLStream(packet = STLPktBuilder(pkt = os.path.join(CP, "yaml/udp_64B_no_crc.pcap")), # path relative to pwd mode = STLTXCont(pps=1000), - flow_stats = STLFlowLatencyStats(pg_id = 7)), + flow_stats = STLFlowLatencyStats(pg_id = 1 + kwargs['port_id'])), STLStream(packet = STLPktBuilder(pkt = os.path.join(CP, "yaml/udp_594B_no_crc.pcap")), # path relative to pwd mode = STLTXCont(pps=5000), - flow_stats = STLFlowLatencyStats(pg_id = 12)) + flow_stats = STLFlowLatencyStats(pg_id = 50 + kwargs['port_id'])) ] |