diff options
Diffstat (limited to 'resources/libraries/python/Memif.py')
-rw-r--r-- | resources/libraries/python/Memif.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/resources/libraries/python/Memif.py b/resources/libraries/python/Memif.py index e1f3d30d33..4a3186476f 100644 --- a/resources/libraries/python/Memif.py +++ b/resources/libraries/python/Memif.py @@ -73,6 +73,16 @@ class Memif(object): '{}'.format(node['host'])) @staticmethod + def dump_memif(node): + """Dump Memif data for the given node. + + :param node: Given node to show Memif data on. + :type node: dict + """ + vat = VatExecutor() + vat.execute_script("memif_dump.vat", node, json_out=False) + + @staticmethod def show_memif(node): """Show Memif data for the given node. @@ -80,7 +90,7 @@ class Memif(object): :type node: dict """ vat = VatExecutor() - vat.execute_script("memif_dump.vat", node, json_out=False) + vat.execute_script("show_memif.vat", node, json_out=False) @staticmethod def clear_memif_socks(node, *socks): |