summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_udp_random_ports.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/stl/hlt/hlt_udp_random_ports.py')
-rwxr-xr-xscripts/stl/hlt/hlt_udp_random_ports.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/stl/hlt/hlt_udp_random_ports.py b/scripts/stl/hlt/hlt_udp_random_ports.py
index 6397ba17..1ba0227d 100755
--- a/scripts/stl/hlt/hlt_udp_random_ports.py
+++ b/scripts/stl/hlt/hlt_udp_random_ports.py
@@ -7,7 +7,7 @@ class STLS1(object):
Using "consistent_random = True" to have same random ports each test
'''
- def create_streams (self, direction = 0):
+ def get_streams (self, direction = 0):
return [STLHltStream(l3_protocol = 'ipv4',
l4_protocol = 'udp',
udp_src_port_mode = 'random',
@@ -18,9 +18,6 @@ class STLS1(object):
),
]
- def get_streams (self, direction = 0):
- return self.create_streams(direction)
-
# dynamic load - used for trex console or simulator
def register():
return STLS1()