diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-09-17 13:00:39 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-09-17 12:30:19 +0000 |
commit | 8b1bead7b4b70e3ff4e7d4cb82940695d763ed2d (patch) | |
tree | 2471e40a115e6bc8ea38f5e2ad79834992f1ad0c /resources/libraries/python/Memif.py | |
parent | b61e34657e58cbe6c8476f6708d62168ffd80775 (diff) |
Update CRC list and support 21997/7
- Attempt to repair IPsec LispGpe perf suite.
+ Collection name to reflect the current stable vpp.
+ Add messages found in CSIT L1 keywords.
- Uncommented (instead of deleted) untestable messages. Reasons:
- Honeycomb.
- Messages used by unused keywords.
+ Listed reasons. Honeycomb not mentioned if both reasons apply.
+ Delete CRC items for commands not found in keywords anymore.
+ Add CRCs from .json.api files (as teardown is hard to execute).
+ Define and restore alphabetical order.
+ Add hints to find used API commands (not entirely reliable).
+ Move used commands to "cmd = " form so hints find them.
+ Argument to run_cli_command changed from "cmd" to "cli_cmd".
+ Except also struct.error where IOError is excepted.
Change-Id: I61058dbe1e33296908aabd0c13433bb16cfa6adf
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
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"]) |