- API changed.
Change-Id: If70e1a930aa14b129ad38ef544cff32ad5a08cdd
Signed-off-by: Peter Mikus <pmikus@cisco.com>
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 barrier traces on the DUT node.
+ def vpp_enable_elog_traces_on_dut(node):
+ """Enable API/CLI/Barrier 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 barrier traces on all DUTs in the given topology.
+ def vpp_enable_elog_traces_on_all_duts(nodes):
+ """Enable API/CLI/Barrier 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):
"""
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)
| | Run Keyword If | ${dut_stats}==${True} and ${pkt_trace}==${True}
| | ... | VPP Enable Traces On All DUTs | ${nodes}
| | Run Keyword If | ${dut_stats}==${True}
| | Run Keyword If | ${dut_stats}==${True} and ${pkt_trace}==${True}
| | ... | VPP Enable Traces On All DUTs | ${nodes}
| | Run Keyword If | ${dut_stats}==${True}
-| | ... | VPP enable barrier traces on all DUTs | ${nodes}
+| | ... | VPP enable elog traces on all DUTs | ${nodes}
| | ${results} = | Create List
| | :FOR | ${i} | IN RANGE | ${subsamples}
| | | Send traffic on tg | ${trial_duration} | ${rate} | ${framesize}
| | ${results} = | Create List
| | :FOR | ${i} | IN RANGE | ${subsamples}
| | | Send traffic on tg | ${trial_duration} | ${rate} | ${framesize}
--- /dev/null
+exec elog trace api cli barrier
\ No newline at end of file
+++ /dev/null
-exec test threads barrier-elog enable