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_show_memory(node):
+ """Run "show memory" debug CLI command.
+
+ Currently, every flag is hardcoded, giving the longest output.
+
+ :param node: Node to run command on.
+ :type node: dict
+ """
+ PapiSocketExecutor.run_cli_cmd(
+ node, 'show memory verbose api-segment stats-segment main-heap')
@staticmethod
def vpp_clear_runtime(node):
: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)
+ VppCounters.vpp_show_memory(node)
@staticmethod
def show_statistics_on_all_duts(nodes, sleeptime=5):