aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VppCounters.py
diff options
context:
space:
mode:
authorMiroslav Miklus <mmiklus@cisco.com>2016-02-16 18:09:46 +0100
committerMiroslav Miklus <mmiklus@cisco.com>2016-02-16 18:20:00 +0100
commit00fe1de4bc054786d29d1cfbf623e2843dec8e4c (patch)
treeac7409092c415829196e7550d3e2e6295e1996ac /resources/libraries/python/VppCounters.py
parent28bd0048f4ebc05c2706b13baf9ae63cedd58a64 (diff)
VppCounters: DBG CLI: show commands
show commands usefull for further debugging of FAILED tests Change-Id: I225a2e251e2ee7a1037255dd39a833d7ca1c94ed Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/python/VppCounters.py')
-rw-r--r--resources/libraries/python/VppCounters.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py
index f34d7a76d1..b99d65274b 100644
--- a/resources/libraries/python/VppCounters.py
+++ b/resources/libraries/python/VppCounters.py
@@ -36,6 +36,36 @@ class VppCounters(object):
self.vpp_clear_interface_counters(node)
@staticmethod
+ def vpp_show_errors_verbose(node):
+ """Run "show errors verbose" debug CLI command
+
+ :param node: Node to run command on
+ :type node: dict
+ """
+ vat = VatExecutor()
+ vat.execute_script("show_errors_verbose.vat", node, json_out=False)
+
+ @staticmethod
+ def vpp_show_runtime_verbose(node):
+ """Run "show runtime" debug CLI command
+
+ :param node: Node to run command on
+ :type node: dict
+ """
+ vat = VatExecutor()
+ vat.execute_script("show_runtime_verbose.vat", node, json_out=False)
+
+ @staticmethod
+ def vpp_show_hardware_detail(node):
+ """Run "show hardware-interfaces detail" debug CLI command
+
+ :param node: Node to run command on
+ :type node: dict
+ """
+ vat = VatExecutor()
+ vat.execute_script("show_hardware_detail.vat", node, json_out=False)
+
+ @staticmethod
def vpp_clear_interface_counters(node):
"""Clear interface counters on VPP node.