diff options
author | 2016-02-23 11:23:08 -0500 | |
---|---|---|
committer | 2016-02-23 11:23:08 -0500 | |
commit | 301d6ca6e36efdc5a1534615d57f3527560befad (patch) | |
tree | f4cca4b98e063a440727ffd87265e76a838ba27d /scripts/stl/hlt | |
parent | 66bebea92f15db3ccf055814ab48cda24477fa9d (diff) |
hltapi: add line rate and bps support
Diffstat (limited to 'scripts/stl/hlt')
-rwxr-xr-x | scripts/stl/hlt/hlt_david1.py | 2 | ||||
-rwxr-xr-x | scripts/stl/hlt/hlt_david3.py | 2 | ||||
-rwxr-xr-x | scripts/stl/hlt/hlt_tcp_ranges.py | 1 | ||||
-rwxr-xr-x | scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/scripts/stl/hlt/hlt_david1.py b/scripts/stl/hlt/hlt_david1.py index 879ea527..922bb632 100755 --- a/scripts/stl/hlt/hlt_david1.py +++ b/scripts/stl/hlt/hlt_david1.py @@ -26,7 +26,7 @@ class STLS1(object): mac_src = '00.00.c0.a8.00.03', mac_src2 = '00.00.c0.a8.01.03', pkts_per_burst = '200000', - #rate_percent = '0.4', # not supported yet + rate_percent = '0.4', transmit_mode = 'continuous', vlan_id = '1', direction = direction, diff --git a/scripts/stl/hlt/hlt_david3.py b/scripts/stl/hlt/hlt_david3.py index 01bf2431..af41b3d4 100755 --- a/scripts/stl/hlt/hlt_david3.py +++ b/scripts/stl/hlt/hlt_david3.py @@ -16,7 +16,7 @@ class STLS1(object): ip_dst_count = 1, l3_length = 474, ip_dscp = 10, - #rate_bps = 256000000, # not supported yet + rate_bps = 256000000, mac_src_mode = 'fixed', mac_src_step = 1, mac_src_count = 1, diff --git a/scripts/stl/hlt/hlt_tcp_ranges.py b/scripts/stl/hlt/hlt_tcp_ranges.py index 31edc61a..b720e1e2 100755 --- a/scripts/stl/hlt/hlt_tcp_ranges.py +++ b/scripts/stl/hlt/hlt_tcp_ranges.py @@ -12,6 +12,7 @@ class STLS1(object): tcp_dst_port = 1234, name = 'test_tcp_ranges', direction = direction, + rate_pps = 1, ), ] 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 e7ee5b3d..e8766da4 100755 --- a/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py +++ b/scripts/stl/hlt/hlt_udp_inc_dec_len_9k.py @@ -11,6 +11,7 @@ class STLS1(object): l4_protocol = 'udp', udp_src_port = 1025, udp_dst_port = 12, + rate_pps = 1, ), STLHltStream(length_mode = 'decrement', frame_size_max = 9*1024, @@ -19,6 +20,7 @@ class STLS1(object): l4_protocol = 'udp', udp_src_port = 1025, udp_dst_port = 12, + rate_pps = 1, ) ] |