X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppCounters.py;h=d8d4554899884dd3b549f124b1ba5cd924476a23;hb=807afe3f73ef9f6170e72f922338d0a726028ec6;hp=375bdfb519bd814a7538daae5f10dad3e6eac1b4;hpb=8c12ff59f1a5e750151f5eb0e806dcc80e91c3c2;p=csit.git diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py index 375bdfb519..d8d4554899 100644 --- 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) + @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.