aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Trace.py
diff options
context:
space:
mode:
authorLudovit Mikula <ludovit.mikula@pantheon.tech>2019-07-17 14:36:21 +0000
committerPeter Mikus <pmikus@cisco.com>2019-12-11 08:54:36 +0000
commit3d5a75be5a88931690898e0fe52e4f48bc67c5ed (patch)
tree85b96f1e8e41d20dfd2a96f43689997dc632f78a /resources/libraries/python/Trace.py
parentf99c79a4035787aff0db70498d022095caa44043 (diff)
Introduce VPP-IPsec container tests.
Change-Id: Ie64d662e81879bd52785e0188450d998bf056bda Signed-off-by: Ludovit Mikula <ludovit.mikula@pantheon.tech>
Diffstat (limited to 'resources/libraries/python/Trace.py')
-rw-r--r--resources/libraries/python/Trace.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/libraries/python/Trace.py b/resources/libraries/python/Trace.py
index c88150f72c..1fb645b36a 100644
--- a/resources/libraries/python/Trace.py
+++ b/resources/libraries/python/Trace.py
@@ -33,7 +33,8 @@ class Trace:
for node in nodes.values():
if node[u"type"] == NodeType.DUT:
- PapiSocketExecutor.run_cli_cmd(node, f"show trace {maximum}")
+ PapiSocketExecutor.run_cli_cmd_on_all_sockets(
+ node, f"show trace {maximum}")
@staticmethod
def clear_packet_trace_on_all_duts(nodes):
@@ -44,4 +45,5 @@ class Trace:
"""
for node in nodes.values():
if node[u"type"] == NodeType.DUT:
- PapiSocketExecutor.run_cli_cmd(node, u"clear trace")
+ PapiSocketExecutor.run_cli_cmd_on_all_sockets(
+ node, u"clear trace")