summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-02-18 16:59:07 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-02-18 16:59:07 +0200
commitac8d0a812f152de146fc7455e057da31f84c2c83 (patch)
tree8f5753c8423b57e674c8e55516e446f2cf54a13f /scripts/stl/hlt
parent8b12867a012f56b92bd3a3797aa2e554c0b71bef (diff)
imix default profile
Diffstat (limited to 'scripts/stl/hlt')
-rwxr-xr-xscripts/stl/hlt/hlt_imix_default.py17
1 files changed, 17 insertions, 0 deletions
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()
+
+
+