Change show hardware detail to show hardware verbose 85/21085/1
authorjuraj.linkes <juraj.linkes@pantheon.tech>
Tue, 6 Aug 2019 12:49:15 +0000 (14:49 +0200)
committerjuraj.linkes <juraj.linkes@pantheon.tech>
Tue, 6 Aug 2019 12:49:15 +0000 (14:49 +0200)
After https://gerrit.fd.io/r/#/c/vpp/+/21071/, show hardware verbose
doesn't output slowly processed module info which is not needed for
debugging purposes.

Change-Id: I2f91a0ce1bfc082b46f2fe43df968750bcd1cf3a
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
resources/libraries/python/VppCounters.py

index 03b40b7..2605024 100644 (file)
@@ -156,13 +156,13 @@ class VppCounters(object):
                 VppCounters.vpp_show_runtime(node)
 
     @staticmethod
-    def vpp_show_hardware_detail(node):
-        """Run "show hardware-interfaces detail" debug CLI command.
+    def vpp_show_hardware_verbose(node):
+        """Run "show hardware-interfaces verbose" debug CLI command.
 
         :param node: Node to run command on.
         :type node: dict
         """
-        PapiSocketExecutor.run_cli_cmd(node, 'show hardware detail')
+        PapiSocketExecutor.run_cli_cmd(node, 'show hardware verbose')
 
     @staticmethod
     def vpp_clear_runtime(node):
@@ -316,7 +316,7 @@ class VppCounters(object):
         :type node: dict
         """
         VppCounters.vpp_show_errors(node)
-        VppCounters.vpp_show_hardware_detail(node)
+        VppCounters.vpp_show_hardware_verbose(node)
         VppCounters.vpp_show_runtime(node)
 
     @staticmethod