diff options
Diffstat (limited to 'resources/libraries/python/Memif.py')
-rw-r--r-- | resources/libraries/python/Memif.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/libraries/python/Memif.py b/resources/libraries/python/Memif.py index f60972f64d..24fda52677 100644 --- a/resources/libraries/python/Memif.py +++ b/resources/libraries/python/Memif.py @@ -42,8 +42,9 @@ class Memif(object): :returns: List of memif interfaces extracted from Papi response. :rtype: list """ + cmd = "memif_dump" with PapiSocketExecutor(node) as papi_exec: - details = papi_exec.add("memif_dump").get_details() + details = papi_exec.add(cmd).get_details() for memif in details: memif["hw_addr"] = str(memif["hw_addr"]) |