summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py')
-rwxr-xr-xscripts/stl/hlt/hlt_udp_inc_dec_len_9k.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py b/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py
index 5fb86875..10c778e1 100755
--- a/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py
+++ b/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py
@@ -8,7 +8,7 @@ class STLS1(object):
Seconds stream will decrease the packet size in reverse way
'''
- def create_streams (self):
+ def get_streams (self, direction = 0):
max_size = 9*1024
return [STLHltStream(length_mode = 'increment',
frame_size_max = max_size,
@@ -32,9 +32,6 @@ class STLS1(object):
)
]
- def get_streams (self, direction = 0):
- return self.create_streams()
-
# dynamic load - used for trex console or simulator
def register():
return STLS1()