- PapiSocketExecutor.run_cli_cmd(
- node, 'show memory verbose api-segment stats-segment main-heap')
+ PapiSocketExecutor.run_cli_cmd_on_all_sockets(
+ node, u"show memory verbose api-segment stats-segment main-heap"
+ )
+
+ @staticmethod
+ def vpp_show_memory_on_all_duts(nodes):
+ """Run "show memory" on all DUTs.
+
+ :param nodes: VPP nodes.
+ :type nodes: dict
+ """
+ for node in nodes.values():
+ if node[u"type"] == NodeType.DUT:
+ VppCounters.vpp_show_memory(node)