interleave example - monor fix
authorHanoh Haim <[email protected]>
Mon, 7 Mar 2016 16:33:50 +0000 (18:33 +0200)
committerHanoh Haim <[email protected]>
Mon, 7 Mar 2016 16:33:50 +0000 (18:33 +0200)
scripts/stl/simple_3st.py

index 223791b..e47d6e5 100644 (file)
@@ -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),