From f7dfa93296f137d846ac8cb59e0eee13d47317ab Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Mon, 7 Mar 2016 18:33:50 +0200 Subject: interleave example - monor fix --- scripts/stl/simple_3st.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/stl') 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), -- cgit 1.2.3-korg