summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_ipv6_ranges.py
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-04 07:45:52 +0200
committerHanoh Haim <hhaim@cisco.com>2016-03-04 07:45:52 +0200
commit815c424d5f7939953af6b58bacbb8ce6e74e10e2 (patch)
tree19636a12fcba290f8dc8fb94e7b4b69fdd28de32 /scripts/stl/hlt/hlt_ipv6_ranges.py
parent126632f67323909502099b95d3f0bc66ab3b004c (diff)
parent3f35b73429cd15a76a658e9b8df3263dd7429917 (diff)
v1.94
Diffstat (limited to 'scripts/stl/hlt/hlt_ipv6_ranges.py')
-rwxr-xr-xscripts/stl/hlt/hlt_ipv6_ranges.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/stl/hlt/hlt_ipv6_ranges.py b/scripts/stl/hlt/hlt_ipv6_ranges.py
index 6d9c1573..f9a83b55 100755
--- a/scripts/stl/hlt/hlt_ipv6_ranges.py
+++ b/scripts/stl/hlt/hlt_ipv6_ranges.py
@@ -6,7 +6,7 @@ class STLS1(object):
Eth/IPv6/UDP stream with VM, to change the ipv6 addr (only 32 lsb)
'''
- def create_streams (self, direction = 0):
+ def get_streams (self, direction = 0):
return STLHltStream(l3_protocol = 'ipv6', l3_length = 150, l4_protocol = 'udp',
ipv6_src_addr = '1111:2222:3333:4444:5555:6666:7777:8888',
ipv6_dst_addr = '1111:1111:1111:1111:1111:1111:1111:1111',
@@ -14,9 +14,6 @@ class STLS1(object):
ipv6_dst_mode = 'decrement', ipv6_dst_step = '1111:1111:1111:1111:1111:0000:0000:0011', ipv6_dst_count = 150,
)
- def get_streams (self, direction = 0):
- return self.create_streams(direction)
-
# dynamic load - used for trex console or simulator
def register():
return STLS1()