aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/libraries/python/VppCounters.py30
-rw-r--r--resources/templates/vat/show_errors_verbose.vat1
-rw-r--r--resources/templates/vat/show_hardware_detail.vat1
-rw-r--r--resources/templates/vat/show_runtime_verbose.vat1
4 files changed, 33 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.
diff --git a/resources/templates/vat/show_errors_verbose.vat b/resources/templates/vat/show_errors_verbose.vat
new file mode 100644
index 0000000000..d35c251c7b
--- /dev/null
+++ b/resources/templates/vat/show_errors_verbose.vat
@@ -0,0 +1 @@
+exec show errors verbose
diff --git a/resources/templates/vat/show_hardware_detail.vat b/resources/templates/vat/show_hardware_detail.vat
new file mode 100644
index 0000000000..e3ac7c7576
--- /dev/null
+++ b/resources/templates/vat/show_hardware_detail.vat
@@ -0,0 +1 @@
+exec show hardware detail
diff --git a/resources/templates/vat/show_runtime_verbose.vat b/resources/templates/vat/show_runtime_verbose.vat
new file mode 100644
index 0000000000..46dc7c848f
--- /dev/null
+++ b/resources/templates/vat/show_runtime_verbose.vat
@@ -0,0 +1 @@
+exec show runtime verbose