summaryrefslogtreecommitdiffstats
path: root/scripts/stl/flow_latency_stats.py
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-05-17 17:53:23 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-05-18 19:23:50 +0300
commit09a8c6b6296941e0d6d2504d473fa394735eee1a (patch)
tree668d66608079f1e59aba6014a69cbb16cee68f6f /scripts/stl/flow_latency_stats.py
parente72b12eac4cd153d783b33fa7708f413aeaf8e70 (diff)
changed latency profile file name
Diffstat (limited to 'scripts/stl/flow_latency_stats.py')
-rw-r--r--scripts/stl/flow_latency_stats.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/stl/flow_latency_stats.py b/scripts/stl/flow_latency_stats.py
deleted file mode 100644
index 334406e5..00000000
--- a/scripts/stl/flow_latency_stats.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from trex_stl_lib.api import *
-import os
-
-# stream from pcap file. continues pps 10 in sec
-CP = os.path.join(os.path.dirname(__file__))
-
-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)),
-
- 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))
- ]
-
-
-# dynamic load - used for trex console or simulator
-def register():
- return STLS1()
-
-
-