diff options
-rw-r--r-- | scripts/api/stl/examples/stl_path.py | 2 | ||||
-rw-r--r-- | scripts/api/stl/examples/stl_simple_burst.py | 5 |
2 files changed, 2 insertions, 5 deletions
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() |