X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FVppCounters.py;h=d8d4554899884dd3b549f124b1ba5cd924476a23;hp=375bdfb519bd814a7538daae5f10dad3e6eac1b4;hb=2e6b88e7c414e31336fd6644143b257e94b89624;hpb=ad36fe000f7f28bd95bdb51908bbe9e59f8753eb 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.