From ac8d0a812f152de146fc7455e057da31f84c2c83 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 18 Feb 2016 16:59:07 +0200 Subject: imix default profile --- scripts/stl/hlt/hlt_imix_default.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/stl/hlt/hlt_imix_default.py (limited to 'scripts/stl') diff --git a/scripts/stl/hlt/hlt_imix_default.py b/scripts/stl/hlt/hlt_imix_default.py new file mode 100755 index 00000000..ac8762c1 --- /dev/null +++ b/scripts/stl/hlt/hlt_imix_default.py @@ -0,0 +1,17 @@ +from trex_stl_lib.trex_stl_hltapi import STLHltStream + + +class STLS1(object): + + def create_streams (self): + return STLHltStream(length_mode = 'imix', rate_pps = 2) + + def get_streams (self, direction = 0): + return self.create_streams() + +# dynamic load - used for trex console or simulator +def register(): + return STLS1() + + + -- cgit 1.2.3-korg