Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1326 VLIB: barrier sync elog tracing
[csit.git]
/
resources
/
libraries
/
python
/
VPPUtil.py
diff --git
a/resources/libraries/python/VPPUtil.py
b/resources/libraries/python/VPPUtil.py
index
f6b3afa
..
9d2a2b9
100644
(file)
--- a/
resources/libraries/python/VPPUtil.py
+++ b/
resources/libraries/python/VPPUtil.py
@@
-213,26
+213,26
@@
class VPPUtil(object):
VPPUtil.vpp_enable_traces_on_dut(node)
@staticmethod
VPPUtil.vpp_enable_traces_on_dut(node)
@staticmethod
- def vpp_enable_
barrier
_traces_on_dut(node):
- """Enable
vpp b
arrier traces on the DUT node.
+ def vpp_enable_
elog
_traces_on_dut(node):
+ """Enable
API/CLI/B
arrier traces on the DUT node.
:param node: DUT node to set up.
:type node: dict
"""
vat = VatExecutor()
:param node: DUT node to set up.
:type node: dict
"""
vat = VatExecutor()
- vat.execute_script("
test_threads_barrier_elog
.vat", node,
+ vat.execute_script("
elog_trace_api_cli_barrier
.vat", node,
json_out=False)
@staticmethod
json_out=False)
@staticmethod
- def vpp_enable_
barrier
_traces_on_all_duts(nodes):
- """Enable
vpp b
arrier traces on all DUTs in the given topology.
+ def vpp_enable_
elog
_traces_on_all_duts(nodes):
+ """Enable
API/CLI/B
arrier traces on all DUTs in the given topology.
:param nodes: Nodes in the topology.
:type nodes: dict
"""
for node in nodes.values():
if node['type'] == NodeType.DUT:
:param nodes: Nodes in the topology.
:type nodes: dict
"""
for node in nodes.values():
if node['type'] == NodeType.DUT:
- VPPUtil.vpp_enable_
barrier
_traces_on_dut(node)
+ VPPUtil.vpp_enable_
elog
_traces_on_dut(node)
@staticmethod
def show_event_logger_on_dut(node):
@staticmethod
def show_event_logger_on_dut(node):
@@
-253,4
+253,4
@@
class VPPUtil(object):
"""
for node in nodes.values():
if node['type'] == NodeType.DUT:
"""
for node in nodes.values():
if node['type'] == NodeType.DUT:
- VPPUtil.show_event_logger_on_dut(node)
\ No newline at end of file
+ VPPUtil.show_event_logger_on_dut(node)