diff options
author | imarom <imarom@cisco.com> | 2016-02-08 06:10:11 -0500 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-02-08 06:10:11 -0500 |
commit | b22b0b3d618c5e23c20cb67709d207c417f2600e (patch) | |
tree | bdc0374861cb22f1a3f62b92481d4ef3f1cb0014 | |
parent | 995267db77f5554d5228697b8b2a862b51859fe6 (diff) |
few fixes
-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() |