diff options
Diffstat (limited to 'scripts/api')
-rw-r--r-- | scripts/api/stl/examples/stl_simple_burst.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/api/stl/examples/stl_simple_burst.py b/scripts/api/stl/examples/stl_simple_burst.py index 3b394d10..2ca71b44 100644 --- a/scripts/api/stl/examples/stl_simple_burst.py +++ b/scripts/api/stl/examples/stl_simple_burst.py @@ -37,7 +37,7 @@ def simple_burst (): try: - #c.logger.set_verbose(c.logger.VERBOSE_NORMAL) + #c.set_verbose("high") # create two bursts and link them s1 = STLStream(packet = pkt_bld, @@ -56,7 +56,7 @@ def simple_burst (): c.reset(ports = [0, 1]) # add both streams to ports - c.add_streams([s1, s2], ports = [0, 1]) + stream_ids = c.add_streams([s1, s2], ports = [0, 1]) # run 5 times for i in xrange(1, 6): |