Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix of Qemu issues
[csit.git]
/
resources
/
libraries
/
python
/
Trace.py
diff --git
a/resources/libraries/python/Trace.py
b/resources/libraries/python/Trace.py
index
1a251a6
..
49b39cb
100644
(file)
--- a/
resources/libraries/python/Trace.py
+++ b/
resources/libraries/python/Trace.py
@@
-23,3
+23,11
@@
class Trace(object):
if node['type'] == NodeType.DUT:
vat = VatExecutor()
vat.execute_script("show_trace.vat", node, json_out=False)
if node['type'] == NodeType.DUT:
vat = VatExecutor()
vat.execute_script("show_trace.vat", node, json_out=False)
+
+ @staticmethod
+ def clear_packet_trace_on_all_duts(nodes):
+ for node in nodes.values():
+ if node['type'] == NodeType.DUT:
+ vat = VatExecutor()
+ vat.execute_script("clear_trace.vat", node, json_out=False)
+