summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_udp_ports.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-02-28 18:04:50 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-02-28 18:04:50 +0200
commita9c35eacd8caebe65e8c685f9285740b2764ea21 (patch)
treed748899dc05c0fd3e6e610ca2e2acfc9ae4f075f /scripts/stl/hlt/hlt_udp_ports.py
parent0fd006c24926377eb975eeb8885c0b4ed71db546 (diff)
hltapi: remove default for l3_protocol and l4_protocol, add several profiles
Diffstat (limited to 'scripts/stl/hlt/hlt_udp_ports.py')
-rwxr-xr-xscripts/stl/hlt/hlt_udp_ports.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/stl/hlt/hlt_udp_ports.py b/scripts/stl/hlt/hlt_udp_ports.py
index 20862141..cdb1af1c 100755
--- a/scripts/stl/hlt/hlt_udp_ports.py
+++ b/scripts/stl/hlt/hlt_udp_ports.py
@@ -8,7 +8,8 @@ class STLS1(object):
'''
def create_streams (self, direction = 0):
- return [STLHltStream(l4_protocol = 'udp',
+ return [STLHltStream(l3_protocol = 'ipv4',
+ l4_protocol = 'udp',
udp_src_port_mode = 'decrement',
udp_src_port_count = 45,
udp_src_port_step = 20,