summaryrefslogtreecommitdiffstats
path: root/scripts/stl
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-07 18:33:50 +0200
committerHanoh Haim <hhaim@cisco.com>2016-03-07 18:33:50 +0200
commitf7dfa93296f137d846ac8cb59e0eee13d47317ab (patch)
treec945e5bbcf28789631a21a2314b02dd4716e70d8 /scripts/stl
parentb0edc919d31d56d99006bf92d2fbc28164ba48ca (diff)
interleave example - monor fix
Diffstat (limited to 'scripts/stl')
-rw-r--r--scripts/stl/simple_3st.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/stl/simple_3st.py b/scripts/stl/simple_3st.py
index 223791ba..e47d6e52 100644
--- a/scripts/stl/simple_3st.py
+++ b/scripts/stl/simple_3st.py
@@ -1,6 +1,5 @@
from trex_stl_lib.api import *
-# 1 clients MAC override the LSB of destination
class STLS1(object):
def __init__ (self):
@@ -17,10 +16,10 @@ class STLS1(object):
pad = max(0, size - len(base_pkt)) * 'x'
- return STLProfile( [ STLStream( isg = 1.0, # star in delay
+ return STLProfile( [ STLStream( isg = 1.0, # star in delay in usec
packet = STLPktBuilder(pkt = base_pkt/pad),
mode = STLTXCont( pps = 10),
- ), # point to next stream
+ ),
STLStream( isg = 2.0,
packet = STLPktBuilder(pkt = base_pkt1/pad),