X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FMemif.py;fp=resources%2Flibraries%2Fpython%2FMemif.py;h=24fda526777f1483eac1c53062e5d6ccf4301e3b;hp=f60972f64d0f81d1ea912d541e87b07e3b586f4f;hb=8b1bead7b4b70e3ff4e7d4cb82940695d763ed2d;hpb=b61e34657e58cbe6c8476f6708d62168ffd80775 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"])