From b22b0b3d618c5e23c20cb67709d207c417f2600e Mon Sep 17 00:00:00 2001 From: imarom Date: Mon, 8 Feb 2016 06:10:11 -0500 Subject: few fixes --- scripts/api/stl/examples/stl_path.py | 2 ++ scripts/api/stl/examples/stl_simple_burst.py | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts/api') diff --git a/scripts/api/stl/examples/stl_path.py b/scripts/api/stl/examples/stl_path.py index e0056585..a5b8102b 100644 --- a/scripts/api/stl/examples/stl_path.py +++ b/scripts/api/stl/examples/stl_path.py @@ -1,2 +1,4 @@ import sys + +# FIXME to the write path for trex_control_plane sys.path.insert(0, "../../../automation") diff --git a/scripts/api/stl/examples/stl_simple_burst.py b/scripts/api/stl/examples/stl_simple_burst.py index 2ccd01c4..91fc9e5e 100644 --- a/scripts/api/stl/examples/stl_simple_burst.py +++ b/scripts/api/stl/examples/stl_simple_burst.py @@ -21,11 +21,6 @@ def simple_burst (): mode = STLTXSingleBurst(total_pkts = 3000), next_stream_id = s1.get_id()) - STLStream.dump_to_yaml([s1, s2], '1.yaml') - stream_list = STLStream.load_from_yaml('1.yaml') - print s2 - print stream_list[1] - exit(0) # connect to server c.connect() -- cgit