summaryrefslogtreecommitdiffstats
path: root/scripts/stl/hlt/hlt_david4.py
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-02-25 17:18:41 -0500
committerYaroslav Brustinov <ybrustin@cisco.com>2016-02-25 17:18:41 -0500
commit58b8669c32c7a3f44b329edbf2246b2f0ac6b229 (patch)
treeb3ac19e207805e04fd098ea6aff061fa6df71a88 /scripts/stl/hlt/hlt_david4.py
parent032480933eaa065761ac1d5d27b96bced93d5343 (diff)
hltapi: fix MAC given with aabb.ccdd.eeff format, fix add_value is more than half of variable size, add 2 Wentong's profiles
Diffstat (limited to 'scripts/stl/hlt/hlt_david4.py')
-rwxr-xr-xscripts/stl/hlt/hlt_david4.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/stl/hlt/hlt_david4.py b/scripts/stl/hlt/hlt_david4.py
index 1019a15e..10b5e866 100755
--- a/scripts/stl/hlt/hlt_david4.py
+++ b/scripts/stl/hlt/hlt_david4.py
@@ -3,7 +3,7 @@ from trex_stl_lib.trex_stl_hltapi import STLHltStream
class STLS1(object):
'''
- Example number 3 of using HLTAPI from David
+ Example number 4 of using HLTAPI from David
Creates Eth/802.1Q/802.1Q/IP/TCP stream with complex VM:
The first vlan_id will be incremented, second const.
MAC src, IP src, IP dst will have <mac_src_count> number of incremental values
@@ -41,7 +41,7 @@ class STLS1(object):
vlan_id_count = '2 2',
vlan_id_mode = 'increment fixed',
vlan_id_step = '1 1',
- vlan_protocol_tag_ids = '{8100 8100}',
+ #vlan_protocol_tag_id = '{8100 8100}',
direction = direction,
)