diff options
author | 2016-02-08 11:25:07 +0200 | |
---|---|---|
committer | 2016-02-24 14:21:29 +0200 | |
commit | f0ab9eba97221e491cf7b3dd846eb8c23d920ec2 (patch) | |
tree | caf0b2f4f9cc0874a53bb3af813d5bae8d644914 /scripts/stl | |
parent | 252b8ab3f41a18af8561cece71cf07bc9872f39f (diff) |
Rx stat per flow. Low level working for xl710, and partly for i350.
added full clone (with CP VM) to stream
Diffstat (limited to 'scripts/stl')
-rw-r--r-- | scripts/stl/rx_stats.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/stl/rx_stats.py b/scripts/stl/rx_stats.py new file mode 100644 index 00000000..892fe1a0 --- /dev/null +++ b/scripts/stl/rx_stats.py @@ -0,0 +1,19 @@ +from trex_stl_lib.api import * + +# stream from pcap file. continues pps 10 in sec + +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), + rx_stats = STLRxStats(user_id = 7)) + ] + + +# dynamic load - used for trex console or simulator +def register(): + return STLS1() + + + |