Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add "show error" output into vpp stats
[csit.git]
/
resources
/
libraries
/
python
/
VppCounters.py
diff --git
a/resources/libraries/python/VppCounters.py
b/resources/libraries/python/VppCounters.py
index
375bdfb
..
d8d4554
100644
(file)
--- a/
resources/libraries/python/VppCounters.py
+++ b/
resources/libraries/python/VppCounters.py
@@
-37,6
+37,16
@@
class VppCounters(object):
if node['type'] == NodeType.DUT:
self.vpp_clear_interface_counters(node)
if node['type'] == NodeType.DUT:
self.vpp_clear_interface_counters(node)
+ @staticmethod
+ def vpp_show_errors(node):
+ """Run "show errors" debug CLI command.
+
+ :param node: Node to run command on.
+ :type node: dict
+ """
+ vat = VatExecutor()
+ vat.execute_script("show_errors.vat", node, json_out=False)
+
@staticmethod
def vpp_show_errors_verbose(node):
"""Run "show errors verbose" debug CLI command.
@staticmethod
def vpp_show_errors_verbose(node):
"""Run "show errors verbose" debug CLI command.