Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update CRC list and support 21997/7
[csit.git]
/
resources
/
libraries
/
python
/
Memif.py
diff --git
a/resources/libraries/python/Memif.py
b/resources/libraries/python/Memif.py
index
f60972f
..
24fda52
100644
(file)
--- 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
"""
:returns: List of memif interfaces extracted from Papi response.
:rtype: list
"""
+ cmd = "memif_dump"
with PapiSocketExecutor(node) as papi_exec:
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"])
for memif in details:
memif["hw_addr"] = str(memif["hw_addr"])