aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Memif.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-04-18 11:11:19 +0200
committerPeter Mikus <pmikus@cisco.com>2018-04-19 06:11:29 +0000
commit30c94055dd6ec2fe1cb83455cf6eb4bca8648d45 (patch)
treeae2722e99e6fb082d5f7d95b2e23d257af3f31fa /resources/libraries/python/Memif.py
parent6942369b1102a8b9a3b705f9192f1ecb959382d1 (diff)
FIX: Memif tests failing
- CSIT-1049 Change-Id: I073c1e6d8cdda835fbb955cbf79e982bc2cc6228 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/Memif.py')
-rw-r--r--resources/libraries/python/Memif.py12
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):