X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppCounters.py;h=b99d65274b572115c28f602709892bda8f0a59e6;hp=f34d7a76d18b9bd2f9a768c56b3d66811e718ec7;hb=00fe1de4bc054786d29d1cfbf623e2843dec8e4c;hpb=28bd0048f4ebc05c2706b13baf9ae63cedd58a64 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 @@ -35,6 +35,36 @@ class VppCounters(object): if node['type'] == NodeType.DUT: 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.