Skip to content
Snippets Groups Projects
Commit f4872835 authored by Tommy Persson's avatar Tommy Persson
Browse files

Adding tst direct execution

parent 0c2dd7fb
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ def do_tst_command(jobj, root_uuid=str(uuid.uuid4()), ns="/op0"): ...@@ -115,7 +115,7 @@ def do_tst_command(jobj, root_uuid=str(uuid.uuid4()), ns="/op0"):
if len(jobj["children"]) != 1: if len(jobj["children"]) != 1:
print("ERROR: Not a simple TST") print("ERROR: Not a simple TST")
tstobj = jobj tstobj = jobj
tstobj["common_params"]["execunit"] = "/op0" tstobj["common_params"]["execunit"] = ns
tstobj["common_params"]["node-uuid"] = root_uuid tstobj["common_params"]["node-uuid"] = root_uuid
cleanup_tst(tstobj) cleanup_tst(tstobj)
termobj = tstobj["children"][0] termobj = tstobj["children"][0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment